Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-oslo.reports for openSUSE:Factory checked in at 2022-06-20 15:38:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.reports (Old) and /work/SRC/openSUSE:Factory/.python-oslo.reports.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.reports" Mon Jun 20 15:38:57 2022 rev:14 rq:983959 version:2.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.reports/python-oslo.reports.changes 2021-12-12 00:57:45.866590759 +0100 +++ /work/SRC/openSUSE:Factory/.python-oslo.reports.new.1548/python-oslo.reports.changes 2022-06-20 15:39:33.591059943 +0200 @@ -1,0 +2,8 @@ +Tue Jun 7 09:15:33 UTC 2022 - cloud-de...@suse.de + +- update to version 2.4.0 + - Support integer keys of dicts in text serialization + - Update CI to use unversioned jobs template + - Changed minversion in tox to 3.18.0 + +------------------------------------------------------------------- Old: ---- oslo.reports-2.3.0.tar.gz New: ---- oslo.reports-2.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.reports.spec ++++++ --- /var/tmp/diff_new_pack.1uRDRk/_old 2022-06-20 15:39:34.023060575 +0200 +++ /var/tmp/diff_new_pack.1uRDRk/_new 2022-06-20 15:39:34.027060581 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-oslo.reports # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: python-oslo.reports -Version: 2.3.0 +Version: 2.4.0 Release: 0 Summary: OpenStack oslo.reports library License: Apache-2.0 Group: Development/Languages/Python URL: https://docs.openstack.org/oslo.reports -Source0: https://files.pythonhosted.org/packages/source/o/oslo.reports/oslo.reports-2.3.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/o/oslo.reports/oslo.reports-2.4.0.tar.gz BuildRequires: openstack-macros BuildRequires: python3-Jinja2 >= 2.10 BuildRequires: python3-eventlet @@ -35,7 +35,6 @@ BuildRequires: python3-oslotest BuildRequires: python3-pbr >= 2.0.0 BuildRequires: python3-psutil >= 3.2.2 -BuildRequires: python3-six BuildRequires: python3-stestr BuildArch: noarch @@ -50,7 +49,6 @@ Requires: python3-oslo.serialization >= 2.18.0 Requires: python3-oslo.utils >= 3.33.0 Requires: python3-psutil >= 3.2.2 -Requires: python3-six %description -n python3-oslo.reports The project oslo.reports hosts a general purpose error report generation @@ -68,7 +66,7 @@ This package contains the documentation. %prep -%autosetup -p1 -n oslo.reports-2.3.0 +%autosetup -p1 -n oslo.reports-2.4.0 %py_req_cleanup %build ++++++ oslo.reports-2.3.0.tar.gz -> oslo.reports-2.4.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.reports-2.3.0/.zuul.yaml new/oslo.reports-2.4.0/.zuul.yaml --- old/oslo.reports-2.3.0/.zuul.yaml 2021-07-01 14:36:20.000000000 +0200 +++ new/oslo.reports-2.4.0/.zuul.yaml 2022-05-05 11:52:41.000000000 +0200 @@ -2,7 +2,7 @@ templates: - check-requirements - lib-forward-testing-python3 - - openstack-python3-xena-jobs + - openstack-python3-jobs - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.reports-2.3.0/AUTHORS new/oslo.reports-2.4.0/AUTHORS --- old/oslo.reports-2.3.0/AUTHORS 2021-07-01 14:36:53.000000000 +0200 +++ new/oslo.reports-2.4.0/AUTHORS 2022-05-05 11:53:10.000000000 +0200 @@ -27,6 +27,7 @@ Jason K??lker <ja...@koelker.net> Jay Pipes <jaypi...@gmail.com> Joe Gordon <joe.gord...@gmail.com> +Johannes Kulik <johannes.ku...@sap.com> Joshua Harlow <jxhar...@godaddy.com> Julien Danjou <jul...@danjou.info> Kashyap Chamarthy <kcham...@redhat.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.reports-2.3.0/ChangeLog new/oslo.reports-2.4.0/ChangeLog --- old/oslo.reports-2.3.0/ChangeLog 2021-07-01 14:36:53.000000000 +0200 +++ new/oslo.reports-2.4.0/ChangeLog 2022-05-05 11:53:10.000000000 +0200 @@ -1,6 +1,13 @@ CHANGES ======= +2.4.0 +----- + +* Update CI to use unversioned jobs template +* Support integer keys of dicts in text serialization +* Changed minversion in tox to 3.18.0 + 2.3.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.reports-2.3.0/PKG-INFO new/oslo.reports-2.4.0/PKG-INFO --- old/oslo.reports-2.3.0/PKG-INFO 2021-07-01 14:36:53.990810900 +0200 +++ new/oslo.reports-2.4.0/PKG-INFO 2022-05-05 11:53:11.042858400 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: oslo.reports -Version: 2.3.0 +Version: 2.4.0 Summary: oslo.reports library Home-page: https://docs.openstack.org/oslo.reports/latest Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.reports-2.3.0/oslo.reports.egg-info/PKG-INFO new/oslo.reports-2.4.0/oslo.reports.egg-info/PKG-INFO --- old/oslo.reports-2.3.0/oslo.reports.egg-info/PKG-INFO 2021-07-01 14:36:53.000000000 +0200 +++ new/oslo.reports-2.4.0/oslo.reports.egg-info/PKG-INFO 2022-05-05 11:53:10.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: oslo.reports -Version: 2.3.0 +Version: 2.4.0 Summary: oslo.reports library Home-page: https://docs.openstack.org/oslo.reports/latest Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.reports-2.3.0/oslo.reports.egg-info/pbr.json new/oslo.reports-2.4.0/oslo.reports.egg-info/pbr.json --- old/oslo.reports-2.3.0/oslo.reports.egg-info/pbr.json 2021-07-01 14:36:53.000000000 +0200 +++ new/oslo.reports-2.4.0/oslo.reports.egg-info/pbr.json 2022-05-05 11:53:10.000000000 +0200 @@ -1 +1 @@ -{"git_version": "f2799dc", "is_release": true} \ No newline at end of file +{"git_version": "3a1157f", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.reports-2.3.0/oslo_reports/tests/test_views.py new/oslo.reports-2.4.0/oslo_reports/tests/test_views.py --- old/oslo.reports-2.3.0/oslo_reports/tests/test_views.py 2021-07-01 14:36:20.000000000 +0200 +++ new/oslo.reports-2.4.0/oslo_reports/tests/test_views.py 2022-05-05 11:52:41.000000000 +0200 @@ -316,6 +316,26 @@ 'string = value') self.assertEqual(target_str, str(self.model)) + def test_dict_serialization_integer_keys(self): + self.model['dt'] = {3: 4, 5: 6} + + target_str = ('dt = \n' + ' 3 = 4\n' + ' 5 = 6\n' + 'int = 1\n' + 'string = value') + self.assertEqual(target_str, str(self.model)) + + def test_dict_serialization_mixed_keys(self): + self.model['dt'] = {'3': 4, 5: 6} + + target_str = ('dt = \n' + ' 3 = 4\n' + ' 5 = 6\n' + 'int = 1\n' + 'string = value') + self.assertEqual(target_str, str(self.model)) + def test_list_serialization(self): self.model['lt'] = ['a', 'b'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.reports-2.3.0/oslo_reports/views/text/generic.py new/oslo.reports-2.4.0/oslo_reports/views/text/generic.py --- old/oslo.reports-2.3.0/oslo_reports/views/text/generic.py 2021-07-01 14:36:20.000000000 +0200 +++ new/oslo.reports-2.4.0/oslo_reports/views/text/generic.py 2022-05-05 11:52:41.000000000 +0200 @@ -111,7 +111,7 @@ def serialize(root, rootkey, indent): res = [] if rootkey is not None: - res.append((self.indent_str * indent) + rootkey) + res.append((self.indent_str * indent) + str(rootkey)) if isinstance(root, abc.Mapping): if rootkey is None and indent > 0: @@ -121,7 +121,7 @@ if self.before_dict is not None: res.insert(0, self.before_dict) - for key in sorted(root): + for key in sorted(root, key=str): res.extend(serialize(root[key], key, indent + 1)) elif (isinstance(root, abc.Sequence) and not isinstance(root, str)): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.reports-2.3.0/tox.ini new/oslo.reports-2.4.0/tox.ini --- old/oslo.reports-2.3.0/tox.ini 2021-07-01 14:36:20.000000000 +0200 +++ new/oslo.reports-2.4.0/tox.ini 2022-05-05 11:52:41.000000000 +0200 @@ -1,5 +1,5 @@ [tox] -minversion = 3.1.1 +minversion = 3.18.0 envlist = py3,pep8 ignore_basepython_conflict = true @@ -24,7 +24,7 @@ commands = {posargs} [testenv:docs] -whitelist_externals = +allowlist_externals = rm deps = {[testenv]deps} @@ -48,7 +48,7 @@ import_exceptions = [testenv:releasenotes] -whitelist_externals = +allowlist_externals = rm deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}