Hello community, here is the log from the commit of package python-oslo.utils for openSUSE:Factory checked in at 2020-02-18 10:41:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.utils (Old) and /work/SRC/openSUSE:Factory/.python-oslo.utils.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.utils" Tue Feb 18 10:41:49 2020 rev:18 rq:774923 version:3.41.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.utils/python-oslo.utils.changes 2019-05-03 22:42:50.211293293 +0200 +++ /work/SRC/openSUSE:Factory/.python-oslo.utils.new.26092/python-oslo.utils.changes 2020-02-18 10:41:57.149133898 +0100 @@ -1,0 +2,14 @@ +Wed Oct 9 12:18:17 UTC 2019 - [email protected] + +- update to version 3.41.1 + - Add Python 3 Train unit tests + - Cap Bandit below 1.6.0 and update Sphinx requirement + - Add digestmod when using hmac + - Dropping the py35 testing + - Replace git.openstack.org URLs with opendev.org URLs + - eventletutils: Optimise EventletEvent.clear() + - OpenDev Migration Patch + - Update master for stable/stein + - Mask encryption_key_id + +------------------------------------------------------------------- Old: ---- oslo.utils-3.40.3.tar.gz New: ---- oslo.utils-3.41.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.utils.spec ++++++ --- /var/tmp/diff_new_pack.mEoYMu/_old 2020-02-18 10:41:58.097135833 +0100 +++ /var/tmp/diff_new_pack.mEoYMu/_new 2020-02-18 10:41:58.113135865 +0100 @@ -17,13 +17,13 @@ Name: python-oslo.utils -Version: 3.40.3 +Version: 3.41.1 Release: 0 Summary: OpenStack Utils Library License: Apache-2.0 Group: Development/Languages/Python URL: https://launchpad.net/oslo.utils -Source0: https://files.pythonhosted.org/packages/source/o/oslo.utils/oslo.utils-3.40.3.tar.gz +Source0: https://files.pythonhosted.org/packages/source/o/oslo.utils/oslo.utils-3.41.1.tar.gz BuildRequires: openstack-macros BuildRequires: python2-Babel BuildRequires: python2-ddt @@ -79,14 +79,14 @@ %package -n python-oslo.utils-doc Summary: Documentation for OpenStack utils library Group: Development/Languages/Python -BuildRequires: python-Sphinx -BuildRequires: python-openstackdocstheme +BuildRequires: python3-Sphinx +BuildRequires: python3-openstackdocstheme %description -n python-oslo.utils-doc Documentation for OpenStack utils library. %prep -%autosetup -p1 -n oslo.utils-3.40.3 +%autosetup -p1 -n oslo.utils-3.41.1 %py_req_cleanup @@ -97,8 +97,7 @@ %python_install # generate html docs -#%{__python2} setup.py build_sphinx -PBR_VERSION=3.40.3 sphinx-build -b html doc/source doc/build/html +PBR_VERSION=3.41.1 %sphinx_build -b html doc/source doc/build/html # remove the sphinx-build leftovers rm -rf doc/build/html/.{doctrees,buildinfo} @@ -108,8 +107,8 @@ %files %{python_files} %license LICENSE %doc ChangeLog README.rst -%{python2_sitelib}/oslo_utils -%{python2_sitelib}/*.egg-info +%{python_sitelib}/oslo_utils +%{python_sitelib}/*.egg-info %files -n python-oslo.utils-doc %doc doc/build/html ++++++ _service ++++++ --- /var/tmp/diff_new_pack.mEoYMu/_old 2020-02-18 10:41:58.205136053 +0100 +++ /var/tmp/diff_new_pack.mEoYMu/_new 2020-02-18 10:41:58.209136061 +0100 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/stein/openstack/oslo.utils/oslo.utils.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/train/openstack/oslo.utils/oslo.utils.spec.j2</param> <param name="output-name">python-oslo.utils.spec</param> - <param name="requirements">https://raw.githubusercontent.com/openstack/oslo.utils/stable/stein/requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/oslo.utils/stable/train/requirements.txt</param> <param name="changelog-email">[email protected]</param> <param name="changelog-provider">gh,openstack,oslo.utils</param> </service> ++++++ oslo.utils-3.40.3.tar.gz -> oslo.utils-3.41.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/.zuul.yaml new/oslo.utils-3.41.1/.zuul.yaml --- old/oslo.utils-3.40.3/.zuul.yaml 2019-02-28 19:04:16.000000000 +0100 +++ new/oslo.utils-3.41.1/.zuul.yaml 2019-09-04 16:26:10.000000000 +0200 @@ -5,9 +5,7 @@ - lib-forward-testing-python3 - openstack-lower-constraints-jobs - openstack-python-jobs - - openstack-python35-jobs - - openstack-python36-jobs - - openstack-python37-jobs + - openstack-python3-train-jobs - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/AUTHORS new/oslo.utils-3.41.1/AUTHORS --- old/oslo.utils-3.40.3/AUTHORS 2019-02-28 19:05:42.000000000 +0100 +++ new/oslo.utils-3.41.1/AUTHORS 2019-09-04 16:26:49.000000000 +0200 @@ -8,6 +8,7 @@ Alex Gaynor <[email protected]> Alexander Gorodnev <[email protected]> Alexis Lee <[email protected]> +Alfredo Moralejo <[email protected]> Alvaro Lopez Garcia <[email protected]> Amaury Medeiros <[email protected]> Amrith Kumar <[email protected]> @@ -27,6 +28,7 @@ Christian Berendt <[email protected]> Chuck Short <[email protected]> Chuck Short <[email protected]> +Corey Bryant <[email protected]> Costin Galan <[email protected]> Cyril Roelandt <[email protected]> Cyril Roelandt <[email protected]> @@ -53,6 +55,7 @@ Flaper Fesp <[email protected]> Flavio Percoco <[email protected]> Gary Kotton <[email protected]> +Ghanshyam Mann <[email protected]> Ghe Rivero <[email protected]> Guang Yee <[email protected]> Hanxi Liu <[email protected]> @@ -140,6 +143,7 @@ gecong1973 <[email protected]> hnyang <[email protected]> howardlee <[email protected]> +jacky06 <[email protected]> kgriffs <[email protected]> lin-hua-cheng <[email protected]> lingyongxu <[email protected]> @@ -151,5 +155,6 @@ ricolin <[email protected]> sridhargaddam <[email protected]> sunyandi <[email protected]> +yenai <[email protected]> zhangsong <[email protected]> zhengyao1 <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/ChangeLog new/oslo.utils-3.41.1/ChangeLog --- old/oslo.utils-3.40.3/ChangeLog 2019-02-28 19:05:42.000000000 +0100 +++ new/oslo.utils-3.41.1/ChangeLog 2019-09-04 16:26:49.000000000 +0200 @@ -1,11 +1,28 @@ CHANGES ======= +3.41.1 +------ + +* Add digestmod when using hmac +* Add Python 3 Train unit tests +* Cap Bandit below 1.6.0 and update Sphinx requirement +* Replace git.openstack.org URLs with opendev.org URLs + +3.41.0 +------ + +* OpenDev Migration Patch +* Dropping the py35 testing +* Update master for stable/stein + 3.40.3 ------ * add python 3.7 unit test job * Update hacking version +* Mask encryption\_key\_id +* eventletutils: Optimise EventletEvent.clear() 3.40.2 ------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/PKG-INFO new/oslo.utils-3.41.1/PKG-INFO --- old/oslo.utils-3.40.3/PKG-INFO 2019-02-28 19:05:42.000000000 +0100 +++ new/oslo.utils-3.41.1/PKG-INFO 2019-09-04 16:26:49.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: oslo.utils -Version: 3.40.3 +Version: 3.41.1 Summary: Oslo Utility library Home-page: https://docs.openstack.org/oslo.utils/latest/ Author: OpenStack @@ -32,7 +32,7 @@ * Free software: Apache license * Documentation: https://docs.openstack.org/oslo.utils/latest/ - * Source: https://git.openstack.org/cgit/openstack/oslo.utils + * Source: https://opendev.org/openstack/oslo.utils * Bugs: https://bugs.launchpad.net/oslo.utils * Release notes: https://docs.openstack.org/releasenotes/oslo.utils/ @@ -47,4 +47,5 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/README.rst new/oslo.utils-3.41.1/README.rst --- old/oslo.utils-3.40.3/README.rst 2019-02-28 19:04:16.000000000 +0100 +++ new/oslo.utils-3.41.1/README.rst 2019-09-04 16:26:10.000000000 +0200 @@ -24,6 +24,6 @@ * Free software: Apache license * Documentation: https://docs.openstack.org/oslo.utils/latest/ -* Source: https://git.openstack.org/cgit/openstack/oslo.utils +* Source: https://opendev.org/openstack/oslo.utils * Bugs: https://bugs.launchpad.net/oslo.utils * Release notes: https://docs.openstack.org/releasenotes/oslo.utils/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/doc/requirements.txt new/oslo.utils-3.41.1/doc/requirements.txt --- old/oslo.utils-3.40.3/doc/requirements.txt 2019-02-28 19:04:16.000000000 +0100 +++ new/oslo.utils-3.41.1/doc/requirements.txt 2019-09-04 16:26:10.000000000 +0200 @@ -2,7 +2,8 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. # this is required for the docs build jobs -sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD openstackdocstheme>=1.18.1 # Apache-2.0 reno>=2.5.0 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/oslo.utils.egg-info/PKG-INFO new/oslo.utils-3.41.1/oslo.utils.egg-info/PKG-INFO --- old/oslo.utils-3.40.3/oslo.utils.egg-info/PKG-INFO 2019-02-28 19:05:42.000000000 +0100 +++ new/oslo.utils-3.41.1/oslo.utils.egg-info/PKG-INFO 2019-09-04 16:26:49.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: oslo.utils -Version: 3.40.3 +Version: 3.41.1 Summary: Oslo Utility library Home-page: https://docs.openstack.org/oslo.utils/latest/ Author: OpenStack @@ -32,7 +32,7 @@ * Free software: Apache license * Documentation: https://docs.openstack.org/oslo.utils/latest/ - * Source: https://git.openstack.org/cgit/openstack/oslo.utils + * Source: https://opendev.org/openstack/oslo.utils * Bugs: https://bugs.launchpad.net/oslo.utils * Release notes: https://docs.openstack.org/releasenotes/oslo.utils/ @@ -47,4 +47,5 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/oslo.utils.egg-info/SOURCES.txt new/oslo.utils-3.41.1/oslo.utils.egg-info/SOURCES.txt --- old/oslo.utils-3.40.3/oslo.utils.egg-info/SOURCES.txt 2019-02-28 19:05:42.000000000 +0100 +++ new/oslo.utils-3.41.1/oslo.utils.egg-info/SOURCES.txt 2019-09-04 16:26:49.000000000 +0200 @@ -103,6 +103,7 @@ releasenotes/source/pike.rst releasenotes/source/queens.rst releasenotes/source/rocky.rst +releasenotes/source/stein.rst releasenotes/source/unreleased.rst releasenotes/source/_static/.placeholder releasenotes/source/_templates/.placeholder diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/oslo.utils.egg-info/pbr.json new/oslo.utils-3.41.1/oslo.utils.egg-info/pbr.json --- old/oslo.utils-3.40.3/oslo.utils.egg-info/pbr.json 2019-02-28 19:05:42.000000000 +0100 +++ new/oslo.utils-3.41.1/oslo.utils.egg-info/pbr.json 2019-09-04 16:26:49.000000000 +0200 @@ -1 +1 @@ -{"git_version": "1fd9f5a", "is_release": true} \ No newline at end of file +{"git_version": "5ae7d21", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/oslo_utils/eventletutils.py new/oslo.utils-3.41.1/oslo_utils/eventletutils.py --- old/oslo.utils-3.40.3/oslo_utils/eventletutils.py 2019-02-28 19:04:16.000000000 +0100 +++ new/oslo.utils-3.41.1/oslo_utils/eventletutils.py 2019-09-04 16:26:10.000000000 +0200 @@ -150,16 +150,12 @@ """ def __init__(self, *args, **kwargs): super(EventletEvent, self).__init__() - self._set = False self.clear() def clear(self): - old_event = getattr(self, "_event", None) - was_set = self._set - self._set = False - self._event = _eventlet.event.Event() - if old_event is not None and not was_set: - old_event.send(True) + if getattr(self, '_set', True): + self._set = False + self._event = _eventlet.event.Event() def is_set(self): return self._set diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/oslo_utils/strutils.py new/oslo.utils-3.41.1/oslo_utils/strutils.py --- old/oslo.utils-3.40.3/oslo_utils/strutils.py 2019-02-28 19:04:16.000000000 +0100 +++ new/oslo.utils-3.41.1/oslo_utils/strutils.py 2019-09-04 16:26:10.000000000 +0200 @@ -58,7 +58,8 @@ _SANITIZE_KEYS = ['adminPass', 'admin_pass', 'password', 'admin_password', 'auth_token', 'new_pass', 'auth_password', 'secret_uuid', 'secret', 'sys_pswd', 'token', 'configdrive', - 'CHAPPASSWORD', 'encrypted_key', 'private_key'] + 'CHAPPASSWORD', 'encrypted_key', 'private_key', + 'encryption_key_id'] # NOTE(ldbragst): Let's build a list of regex objects using the list of # _SANITIZE_KEYS we already have. This way, we only have to add the new key diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/oslo_utils/tests/test_eventletutils.py new/oslo.utils-3.41.1/oslo_utils/tests/test_eventletutils.py --- old/oslo.utils-3.40.3/oslo_utils/tests/test_eventletutils.py 2019-02-28 19:04:16.000000000 +0100 +++ new/oslo.utils-3.41.1/oslo_utils/tests/test_eventletutils.py 2019-09-04 16:26:10.000000000 +0200 @@ -201,6 +201,30 @@ with eventlet.timeout.Timeout(0.7): b.wait() + def test_event_set_clear_timeout(self): + event = eventletutils.EventletEvent() + wakes = [] + + def thread_func(): + result = event.wait(0.2) + wakes.append(result) + if len(wakes) == 1: + self.assertTrue(result) + event.clear() + else: + self.assertFalse(result) + + a = greenthread.spawn(thread_func) + b = greenthread.spawn(thread_func) + eventlet.sleep(0) # start threads + event.set() + + with eventlet.timeout.Timeout(0.3): + a.wait() + b.wait() + self.assertFalse(event.is_set()) + self.assertEqual([True, False], wakes) + @mock.patch('oslo_utils.eventletutils._eventlet.event.Event') def test_event_clear_already_sent(self, mock_event): old_event = mock.Mock() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/oslo_utils/tests/test_secretutils.py new/oslo.utils-3.41.1/oslo_utils/tests/test_secretutils.py --- old/oslo.utils-3.40.3/oslo_utils/tests/test_secretutils.py 2019-02-28 19:04:16.000000000 +0100 +++ new/oslo.utils-3.41.1/oslo_utils/tests/test_secretutils.py 2019-09-04 16:26:10.000000000 +0200 @@ -12,6 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. +import hashlib import hmac from oslotest import base as test_base @@ -23,7 +24,8 @@ class SecretUtilsTest(testscenarios.TestWithScenarios, test_base.BaseTestCase): - _gen_digest = lambda text: hmac.new(b'foo', text.encode('utf-8')).digest() + _gen_digest = lambda text: hmac.new(b'foo', text.encode('utf-8'), + digestmod=hashlib.sha1).digest() scenarios = [ ('binary', {'converter': _gen_digest}), ('unicode', {'converter': lambda text: text}), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/oslo_utils/tests/test_strutils.py new/oslo.utils-3.41.1/oslo_utils/tests/test_strutils.py --- old/oslo.utils-3.40.3/oslo_utils/tests/test_strutils.py 2019-02-28 19:04:16.000000000 +0100 +++ new/oslo.utils-3.41.1/oslo_utils/tests/test_strutils.py 2019-09-04 16:26:10.000000000 +0200 @@ -459,6 +459,9 @@ payload = """body: {"rescue": {"password": "1234567"}}""" expected = """body: {"rescue": {"password": "***"}}""" self.assertEqual(expected, strutils.mask_password(payload)) + payload = """body: {"rescue": {"encryption_key_id": "1234567"}}""" + expected = """body: {"rescue": {"encryption_key_id": "***"}}""" + self.assertEqual(expected, strutils.mask_password(payload)) def test_xml_message(self): payload = """<?xml version="1.0" encoding="UTF-8"?> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/releasenotes/source/index.rst new/oslo.utils-3.41.1/releasenotes/source/index.rst --- old/oslo.utils-3.40.3/releasenotes/source/index.rst 2019-02-28 19:04:16.000000000 +0100 +++ new/oslo.utils-3.41.1/releasenotes/source/index.rst 2019-09-04 16:26:10.000000000 +0200 @@ -6,6 +6,7 @@ :maxdepth: 1 unreleased + stein rocky queens pike diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/releasenotes/source/stein.rst new/oslo.utils-3.41.1/releasenotes/source/stein.rst --- old/oslo.utils-3.40.3/releasenotes/source/stein.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.utils-3.41.1/releasenotes/source/stein.rst 2019-09-04 16:26:10.000000000 +0200 @@ -0,0 +1,6 @@ +=================================== + Stein Series Release Notes +=================================== + +.. release-notes:: + :branch: stable/stein diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/setup.cfg new/oslo.utils-3.41.1/setup.cfg --- old/oslo.utils-3.40.3/setup.cfg 2019-02-28 19:05:42.000000000 +0100 +++ new/oslo.utils-3.41.1/setup.cfg 2019-09-04 16:26:49.000000000 +0200 @@ -16,7 +16,8 @@ Programming Language :: Python :: 2 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 - Programming Language :: Python :: 3.5 + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 [files] packages = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/test-requirements.txt new/oslo.utils-3.41.1/test-requirements.txt --- old/oslo.utils-3.40.3/test-requirements.txt 2019-02-28 19:04:16.000000000 +0100 +++ new/oslo.utils-3.41.1/test-requirements.txt 2019-09-04 16:26:10.000000000 +0200 @@ -24,4 +24,4 @@ oslo.config>=5.2.0 # Apache-2.0 # Bandit security code scanner -bandit>=1.1.0 # Apache-2.0 +bandit>=1.1.0,<1.6.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.40.3/tox.ini new/oslo.utils-3.41.1/tox.ini --- old/oslo.utils-3.40.3/tox.ini 2019-02-28 19:04:16.000000000 +0100 +++ new/oslo.utils-3.41.1/tox.ini 2019-09-04 16:26:10.000000000 +0200 @@ -1,11 +1,11 @@ [tox] minversion = 2.0 -envlist = py35,py27,pep8 +envlist = py27,py37,pep8 [testenv] 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://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt commands = stestr run --slowest {posargs}
