commit python-oslo.service for openSUSE:Factory
Hello community, here is the log from the commit of package python-oslo.service for openSUSE:Factory checked in at 2018-11-29 23:00:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.service (Old) and /work/SRC/openSUSE:Factory/.python-oslo.service.new.19453 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-oslo.service" Thu Nov 29 23:00:58 2018 rev:13 rq:652502 version:1.31.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.service/python-oslo.service.changes 2018-09-07 15:39:10.826550530 +0200 +++ /work/SRC/openSUSE:Factory/.python-oslo.service.new.19453/python-oslo.service.changes 2018-11-29 23:01:04.483456542 +0100 @@ -1,0 +2,10 @@ +Wed Nov 28 23:51:29 UTC 2018 - cloud-devel@suse.de + +- update to version 1.31.5 + - Update UPPER_CONSTRAINTS_FILE for stable/rocky + - Add Python 3.5 jobs + - Update .gitreview for stable/rocky + - import zuul job settings from project-config + - Skips signal handling on Windows + +------------------------------------------------------------------- Old: ---- oslo.service-1.31.3.tar.gz New: ---- oslo.service-1.31.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.service.spec ++++++ --- /var/tmp/diff_new_pack.RSElyK/_old 2018-11-29 23:01:05.183455680 +0100 +++ /var/tmp/diff_new_pack.RSElyK/_new 2018-11-29 23:01:05.183455680 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,13 +20,13 @@ %global rdo 1 %endif Name: python-oslo.service -Version: 1.31.3 +Version: 1.31.5 Release: 0 Summary: OpenStack oslo.service library License: Apache-2.0 Group: Development/Languages/Python URL: https://launchpad.net/oslo.service -Source0: https://files.pythonhosted.org/packages/source/o/oslo.service/oslo.service-1... +Source0: https://files.pythonhosted.org/packages/source/o/oslo.service/oslo.service-1... BuildRequires: openstack-macros BuildRequires: procps BuildRequires: python-devel @@ -105,7 +105,7 @@ This package contains the documentation. %prep -%autosetup -p1 -n oslo.service-1.31.3 +%autosetup -p1 -n oslo.service-1.31.5 %py_req_cleanup sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg ++++++ oslo.service-1.31.3.tar.gz -> oslo.service-1.31.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.service-1.31.3/.zuul.yaml new/oslo.service-1.31.5/.zuul.yaml --- old/oslo.service-1.31.3/.zuul.yaml 2018-07-24 00:38:25.000000000 +0200 +++ new/oslo.service-1.31.5/.zuul.yaml 2018-09-25 21:44:54.000000000 +0200 @@ -1,4 +1,12 @@ - project: + templates: + - openstack-python-jobs + - openstack-python35-jobs + - publish-openstack-docs-pti + - check-requirements + - lib-forward-testing + - release-notes-jobs-python3 + - periodic-stable-jobs check: jobs: - openstack-tox-lower-constraints diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.service-1.31.3/AUTHORS new/oslo.service-1.31.5/AUTHORS --- old/oslo.service-1.31.3/AUTHORS 2018-07-24 00:42:44.000000000 +0200 +++ new/oslo.service-1.31.5/AUTHORS 2018-09-25 21:47:27.000000000 +0200 @@ -24,6 +24,7 @@ Christian Berendt <berendt@b1-systems.de> Christopher Lefelhocz <christopher.lefelhoc@rackspace.com> Chuck Short <chuck.short@canonical.com> +Claudiu Belu <cbelu@cloudbasesolutions.com> Clif Houck <me@clifhouck.com> Corey Bryant <corey.bryant@canonical.com> Dan Prince <dprince@redhat.com> @@ -123,6 +124,7 @@ liyingjun <yingjun.li@kylin-cloud.com> melanie witt <melwittt@gmail.com> melissaml <ma.lei@99cloud.net> +qingszhao <zhao.daqing@99cloud.net> ravikumar-venkatesan <ravikumar.venkatesan@hp.com> ricolin <rico.lin@easystack.cn> sonu.kumar <sonu.kumar@nectechnologies.in> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.service-1.31.3/ChangeLog new/oslo.service-1.31.5/ChangeLog --- old/oslo.service-1.31.3/ChangeLog 2018-07-24 00:42:44.000000000 +0200 +++ new/oslo.service-1.31.5/ChangeLog 2018-09-25 21:47:27.000000000 +0200 @@ -1,6 +1,15 @@ CHANGES ======= +1.31.5 +------ + +* Add Python 3.5 jobs +* Skips signal handling on Windows +* import zuul job settings from project-config +* Update UPPER\_CONSTRAINTS\_FILE for stable/rocky +* Update .gitreview for stable/rocky + 1.31.3 ------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.service-1.31.3/PKG-INFO new/oslo.service-1.31.5/PKG-INFO --- old/oslo.service-1.31.3/PKG-INFO 2018-07-24 00:42:45.000000000 +0200 +++ new/oslo.service-1.31.5/PKG-INFO 2018-09-25 21:47:28.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: oslo.service -Version: 1.31.3 +Version: 1.31.5 Summary: oslo.service library Home-page: https://docs.openstack.org/oslo.service/latest/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.service-1.31.3/oslo.service.egg-info/PKG-INFO new/oslo.service-1.31.5/oslo.service.egg-info/PKG-INFO --- old/oslo.service-1.31.3/oslo.service.egg-info/PKG-INFO 2018-07-24 00:42:44.000000000 +0200 +++ new/oslo.service-1.31.5/oslo.service.egg-info/PKG-INFO 2018-09-25 21:47:27.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: oslo.service -Version: 1.31.3 +Version: 1.31.5 Summary: oslo.service library Home-page: https://docs.openstack.org/oslo.service/latest/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.service-1.31.3/oslo.service.egg-info/pbr.json new/oslo.service-1.31.5/oslo.service.egg-info/pbr.json --- old/oslo.service-1.31.3/oslo.service.egg-info/pbr.json 2018-07-24 00:42:44.000000000 +0200 +++ new/oslo.service-1.31.5/oslo.service.egg-info/pbr.json 2018-09-25 21:47:27.000000000 +0200 @@ -1 +1 @@ -{"git_version": "62d4119", "is_release": true} \ No newline at end of file +{"git_version": "67a8a8c", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.service-1.31.3/oslo_service/service.py new/oslo.service-1.31.5/oslo_service/service.py --- old/oslo.service-1.31.3/oslo_service/service.py 2018-07-24 00:38:25.000000000 +0200 +++ new/oslo.service-1.31.5/oslo_service/service.py 2018-09-25 21:44:37.000000000 +0200 @@ -28,6 +28,7 @@ import logging import os import random +import select import signal import six import sys @@ -203,7 +204,8 @@ For Python 3.5 and later, deal with the changes in PEP 475 that prevent a signal from interrupting eventlet's call to poll() or sleep(). """ - self.__force_interrupt_on_signal = sys.version_info >= (3, 5) + self.__force_interrupt_on_signal = (sys.version_info >= (3, 5) and + hasattr(select, 'poll')) if self.__force_interrupt_on_signal: try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.service-1.31.3/oslo_service/tests/test_service.py new/oslo.service-1.31.5/oslo_service/tests/test_service.py --- old/oslo.service-1.31.3/oslo_service/tests/test_service.py 2018-07-24 00:38:25.000000000 +0200 +++ new/oslo.service-1.31.5/oslo_service/tests/test_service.py 2018-09-25 21:44:54.000000000 +0200 @@ -477,6 +477,18 @@ m.assert_called_once_with(signal.SIGTERM, 'test') signal_handler.clear() + @mock.patch('sys.version_info', (3, 5)) + @mock.patch.object(service, 'select', spec=[]) + def test_setup_signal_interruption_no_select_poll(self, mock_select): + # NOTE(claudiub): SignalHandler is a singleton, which means that it + # might already be initialized. We need to clear to clear the cache + # in order to prevent race conditions between tests. + service.SignalHandler.__class__._instances.clear() + signal_handler = service.SignalHandler() + self.addCleanup(service.SignalHandler.__class__._instances.clear) + self.assertFalse( + signal_handler._SignalHandler__force_interrupt_on_signal) + @mock.patch('signal.alarm') @mock.patch("os.kill") @mock.patch("oslo_service.service.ProcessLauncher.stop") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.service-1.31.3/tox.ini new/oslo.service-1.31.5/tox.ini --- old/oslo.service-1.31.3/tox.ini 2018-07-24 00:38:25.000000000 +0200 +++ new/oslo.service-1.31.5/tox.ini 2018-09-25 21:44:54.000000000 +0200 @@ -9,7 +9,7 @@ CLIENT_NAME=oslo.service install_command = pip install {opts} {packages} deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt whitelist_externals = find @@ -53,7 +53,7 @@ [testenv:bandit] basepython = python3 deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt commands = bandit -r oslo_service -n5 -x tests {posargs}
participants (1)
-
root