Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-oslo.config for openSUSE:Factory checked in at 2024-05-03 19:45:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.config (Old) and /work/SRC/openSUSE:Factory/.python-oslo.config.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.config" Fri May 3 19:45:35 2024 rev:44 rq:1171470 version:9.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.config/python-oslo.config.changes 2023-12-01 21:27:34.526743608 +0100 +++ /work/SRC/openSUSE:Factory/.python-oslo.config.new.1880/python-oslo.config.changes 2024-05-03 19:45:52.275733962 +0200 @@ -1,0 +2,12 @@ +Thu May 2 22:15:02 UTC 2024 - [email protected] + +- update to version 9.4.0 + - reno: Update master for unmaintained/yoga + - Update master for stable/2023.2 + - Remove compatibility with Python < 3.8 + - Bump hacking + - Update python classifier in setup.cfg + - Add choices parameter for IntOpt class + - Bump hacking (again) + +------------------------------------------------------------------- Old: ---- oslo.config-9.2.0.tar.gz New: ---- oslo.config-9.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.config.spec ++++++ --- /var/tmp/diff_new_pack.l7efqz/_old 2024-05-03 19:45:52.715749959 +0200 +++ /var/tmp/diff_new_pack.l7efqz/_new 2024-05-03 19:45:52.715749959 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-oslo.config # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,14 @@ Name: python-oslo.config -Version: 9.2.0 +Version: 9.4.0 Release: 0 Epoch: 0 Summary: OpenStack common configuration library License: Apache-2.0 Group: Development/Languages/Python URL: https://docs.openstack.org/oslo.config -Source0: https://files.pythonhosted.org/packages/source/o/oslo.config/oslo.config-9.2.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/o/oslo.config/oslo.config-9.4.0.tar.gz BuildRequires: openstack-macros BuildRequires: python3-PyYAML >= 5.1 BuildRequires: python3-debtcollector >= 1.2.0 @@ -87,13 +87,13 @@ Documentation for the oslo-config library. %prep -%autosetup -p1 -n oslo.config-9.2.0 +%autosetup -p1 -n oslo.config-9.4.0 %py_req_cleanup %build %{py3_build} -PBR_VERSION=9.2.0 PYTHONPATH=. \ +PBR_VERSION=9.4.0 PYTHONPATH=. \ %sphinx_build -b html doc/source doc/build/html # remove the sphinx-build leftovers rm -rf doc/build/html/.{doctrees,buildinfo} ++++++ oslo.config-9.2.0.tar.gz -> oslo.config-9.4.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/.pre-commit-config.yaml new/oslo.config-9.4.0/.pre-commit-config.yaml --- old/oslo.config-9.2.0/.pre-commit-config.yaml 2023-08-28 15:03:09.000000000 +0200 +++ new/oslo.config-9.4.0/.pre-commit-config.yaml 2024-02-22 16:08:59.000000000 +0100 @@ -32,7 +32,7 @@ - id: flake8 name: flake8 additional_dependencies: - - hacking>=3.0.1,<3.1.0 + - hacking>=6.1.0,<6.2.0 language: python entry: flake8 files: '^.*\.py$' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/AUTHORS new/oslo.config-9.4.0/AUTHORS --- old/oslo.config-9.2.0/AUTHORS 2023-08-28 15:03:38.000000000 +0200 +++ new/oslo.config-9.4.0/AUTHORS 2024-02-22 16:09:30.000000000 +0100 @@ -124,6 +124,7 @@ OpenStack Release Bot <[email protected]> Paul Belanger <[email protected]> Petr Blaho <[email protected]> +Philippe SERAPHIN <[email protected]> Pierre Riteau <[email protected]> Piyush Raman Srivastava <[email protected]> Quan Tian <[email protected]> @@ -151,6 +152,7 @@ Stephen Finucane <[email protected]> Steven Deaton <[email protected]> Swapnil Kulkarni (coolsvap) <[email protected]> +Takashi Kajinami <[email protected]> Takashi NATSUME <[email protected]> Thomas Bechtold <[email protected]> Thomas Herve <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/ChangeLog new/oslo.config-9.4.0/ChangeLog --- old/oslo.config-9.2.0/ChangeLog 2023-08-28 15:03:38.000000000 +0200 +++ new/oslo.config-9.4.0/ChangeLog 2024-02-22 16:09:30.000000000 +0100 @@ -1,6 +1,21 @@ CHANGES ======= +9.4.0 +----- + +* reno: Update master for unmaintained/yoga +* Bump hacking (again) +* Bump hacking +* Update python classifier in setup.cfg +* Add choices parameter for IntOpt class + +9.3.0 +----- + +* Remove compatibility with Python < 3.8 +* Update master for stable/2023.2 + 9.2.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/PKG-INFO new/oslo.config-9.4.0/PKG-INFO --- old/oslo.config-9.2.0/PKG-INFO 2023-08-28 15:03:38.838161700 +0200 +++ new/oslo.config-9.4.0/PKG-INFO 2024-02-22 16:09:31.017090000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: oslo.config -Version: 9.2.0 +Version: 9.4.0 Summary: Oslo Configuration API Home-page: https://docs.openstack.org/oslo.config/latest/ Author: OpenStack @@ -49,6 +49,7 @@ Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: Implementation :: CPython Requires-Python: >=3.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/oslo.config.egg-info/PKG-INFO new/oslo.config-9.4.0/oslo.config.egg-info/PKG-INFO --- old/oslo.config-9.2.0/oslo.config.egg-info/PKG-INFO 2023-08-28 15:03:38.000000000 +0200 +++ new/oslo.config-9.4.0/oslo.config.egg-info/PKG-INFO 2024-02-22 16:09:30.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: oslo.config -Version: 9.2.0 +Version: 9.4.0 Summary: Oslo Configuration API Home-page: https://docs.openstack.org/oslo.config/latest/ Author: OpenStack @@ -49,6 +49,7 @@ Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: Implementation :: CPython Requires-Python: >=3.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/oslo.config.egg-info/SOURCES.txt new/oslo.config-9.4.0/oslo.config.egg-info/SOURCES.txt --- old/oslo.config-9.2.0/oslo.config.egg-info/SOURCES.txt 2023-08-28 15:03:38.000000000 +0200 +++ new/oslo.config-9.4.0/oslo.config.egg-info/SOURCES.txt 2024-02-22 16:09:30.000000000 +0100 @@ -94,6 +94,7 @@ releasenotes/notes/add-missing-config-option-9ee1992eea750200.yaml releasenotes/notes/add-port_type-8704295c6a56265d.yaml releasenotes/notes/add-reno-71dc832ce29b962f.yaml +releasenotes/notes/add_choices_parameter_for_IntOpt_class-1b5e42c475c08f08.yaml releasenotes/notes/config-from-environment-3feba7b4cc747d2b.yaml releasenotes/notes/config-validator-256817f2183994fd.yaml releasenotes/notes/drop-python27-support-87f1b4089d4cc78b.yaml @@ -105,6 +106,7 @@ releasenotes/notes/validator-check-defaults-e7b596a2fde781a8.yaml releasenotes/notes/validator-exclude-groups-ad2f046522a3407e.yaml releasenotes/source/2023.1.rst +releasenotes/source/2023.2.rst releasenotes/source/conf.py releasenotes/source/index.rst releasenotes/source/liberty.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/oslo.config.egg-info/pbr.json new/oslo.config-9.4.0/oslo.config.egg-info/pbr.json --- old/oslo.config-9.2.0/oslo.config.egg-info/pbr.json 2023-08-28 15:03:38.000000000 +0200 +++ new/oslo.config-9.4.0/oslo.config.egg-info/pbr.json 2024-02-22 16:09:30.000000000 +0100 @@ -1 +1 @@ -{"git_version": "28187da", "is_release": true} \ No newline at end of file +{"git_version": "882adf8", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/oslo.config.egg-info/requires.txt new/oslo.config-9.4.0/oslo.config.egg-info/requires.txt --- old/oslo.config-9.2.0/oslo.config.egg-info/requires.txt 2023-08-28 15:03:38.000000000 +0200 +++ new/oslo.config-9.4.0/oslo.config.egg-info/requires.txt 2024-02-22 16:09:30.000000000 +0100 @@ -6,9 +6,6 @@ rfc3986>=1.2.0 stevedore>=1.20.0 -[:(python_version<'3.8')] -importlib_metadata>=1.7.0 - [rst_generator] rst2txt>=1.1.0 sphinx!=2.1.0,>=1.8.0 @@ -17,7 +14,7 @@ bandit<1.8.0,>=1.7.0 coverage!=4.4,>=4.0 fixtures>=3.0.0 -hacking<3.1.0,>=3.0.1 +hacking<6.2.0,>=6.1.0 mypy>=0.720 oslo.log>=3.36.0 oslotest>=3.2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/oslo_config/cfg.py new/oslo.config-9.4.0/oslo_config/cfg.py --- old/oslo.config-9.2.0/oslo_config/cfg.py 2023-08-28 15:03:09.000000000 +0200 +++ new/oslo.config-9.4.0/oslo_config/cfg.py 2024-02-22 16:08:59.000000000 +0100 @@ -1015,15 +1015,26 @@ :param name: the option's name :param min: minimum value the integer can take :param max: maximum value the integer can take + :param choices: Optional sequence of either valid values or tuples of valid + values with descriptions. :param \*\*kwargs: arbitrary keyword arguments passed to :class:`Opt` .. versionchanged:: 1.15 Added *min* and *max* parameters. + + + .. versionchanged:: 9.3.0 + + Added *choices* parameter. """ - def __init__(self, name, min=None, max=None, **kwargs): - super(IntOpt, self).__init__(name, type=types.Integer(min, max), + def __init__(self, name, min=None, max=None, choices=None, **kwargs): + super(IntOpt, self).__init__(name, + type=types.Integer( + min=min, + max=max, + choices=choices), **kwargs) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/oslo_config/generator.py new/oslo.config-9.4.0/oslo_config/generator.py --- old/oslo.config-9.2.0/oslo_config/generator.py 2023-08-28 15:03:09.000000000 +0200 +++ new/oslo.config-9.4.0/oslo_config/generator.py 2024-02-22 16:08:59.000000000 +0100 @@ -25,6 +25,7 @@ import collections import copy +import importlib.metadata import json import logging import operator @@ -42,12 +43,6 @@ rst2txt = None -try: - # For Python 3.8 and later - import importlib.metadata as importlib_metadata -except ImportError: - # For everyone else - import importlib_metadata import yaml @@ -822,7 +817,7 @@ def main(args=None): """The main function of oslo-config-generator.""" - version = importlib_metadata.version('oslo.config') + version = importlib.metadata.version('oslo.config') logging.basicConfig(level=logging.WARN) conf = cfg.ConfigOpts() register_cli_opts(conf) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/oslo_config/tests/test_sources.py new/oslo.config-9.4.0/oslo_config/tests/test_sources.py --- old/oslo.config-9.2.0/oslo_config/tests/test_sources.py 2023-08-28 15:03:09.000000000 +0200 +++ new/oslo.config-9.4.0/oslo_config/tests/test_sources.py 2024-02-22 16:08:59.000000000 +0100 @@ -308,8 +308,8 @@ # testing driver loading self.assertEqual(self.conf._sources, []) self.conf._load_alternative_sources() - self.assertEqual(type(self.conf._sources[0]), - _uri.URIConfigurationSource) + self.assertIsInstance(self.conf._sources[0], + _uri.URIConfigurationSource) source = self.conf._open_source_from_opt_group(group) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/oslo_config/validator.py new/oslo.config-9.4.0/oslo_config/validator.py --- old/oslo.config-9.2.0/oslo_config/validator.py 2023-08-28 15:03:09.000000000 +0200 +++ new/oslo.config-9.4.0/oslo_config/validator.py 2024-02-22 16:08:59.000000000 +0100 @@ -21,17 +21,11 @@ project then it returns those errors. """ +import importlib.metadata import logging import re import sys -try: - # For Python 3.8 and later - import importlib.metadata as importlib_metadata -except ImportError: - # For everyone else - import importlib_metadata - import yaml from oslo_config import cfg @@ -224,7 +218,7 @@ def main(): """The main function of oslo-config-validator.""" - version = importlib_metadata.version('oslo.config') + version = importlib.metadata.version('oslo.config') logging.basicConfig(level=logging.INFO) conf = cfg.ConfigOpts() _register_cli_opts(conf) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/releasenotes/notes/add_choices_parameter_for_IntOpt_class-1b5e42c475c08f08.yaml new/oslo.config-9.4.0/releasenotes/notes/add_choices_parameter_for_IntOpt_class-1b5e42c475c08f08.yaml --- old/oslo.config-9.2.0/releasenotes/notes/add_choices_parameter_for_IntOpt_class-1b5e42c475c08f08.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.config-9.4.0/releasenotes/notes/add_choices_parameter_for_IntOpt_class-1b5e42c475c08f08.yaml 2024-02-22 16:08:59.000000000 +0100 @@ -0,0 +1,4 @@ +--- +features: + - | + Add choice parameter for IntOpt class for conformity with types.Integer. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/releasenotes/source/2023.2.rst new/oslo.config-9.4.0/releasenotes/source/2023.2.rst --- old/oslo.config-9.2.0/releasenotes/source/2023.2.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.config-9.4.0/releasenotes/source/2023.2.rst 2024-02-22 16:08:59.000000000 +0100 @@ -0,0 +1,6 @@ +=========================== +2023.2 Series Release Notes +=========================== + +.. release-notes:: + :branch: stable/2023.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/releasenotes/source/index.rst new/oslo.config-9.4.0/releasenotes/source/index.rst --- old/oslo.config-9.2.0/releasenotes/source/index.rst 2023-08-28 15:03:09.000000000 +0200 +++ new/oslo.config-9.4.0/releasenotes/source/index.rst 2024-02-22 16:08:59.000000000 +0100 @@ -6,6 +6,7 @@ :maxdepth: 1 unreleased + 2023.2 2023.1 zed yoga diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/releasenotes/source/yoga.rst new/oslo.config-9.4.0/releasenotes/source/yoga.rst --- old/oslo.config-9.2.0/releasenotes/source/yoga.rst 2023-08-28 15:03:09.000000000 +0200 +++ new/oslo.config-9.4.0/releasenotes/source/yoga.rst 2024-02-22 16:08:59.000000000 +0100 @@ -3,4 +3,4 @@ ========================= .. release-notes:: - :branch: stable/yoga + :branch: unmaintained/yoga diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/requirements.txt new/oslo.config-9.4.0/requirements.txt --- old/oslo.config-9.2.0/requirements.txt 2023-08-28 15:03:09.000000000 +0200 +++ new/oslo.config-9.4.0/requirements.txt 2024-02-22 16:08:59.000000000 +0100 @@ -1,7 +1,3 @@ -# The order of packages is significant, because pip processes them in the order -# of appearance. Changing the order has an impact on the overall integration -# process, which may cause wedges in the gate later. - debtcollector>=1.2.0 # Apache-2.0 netaddr>=0.7.18 # BSD stevedore>=1.20.0 # Apache-2.0 @@ -9,4 +5,3 @@ rfc3986>=1.2.0 # Apache-2.0 PyYAML>=5.1 # MIT requests>=2.18.0 # Apache-2.0 -importlib_metadata>=1.7.0;python_version<'3.8' # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/setup.cfg new/oslo.config-9.4.0/setup.cfg --- old/oslo.config-9.2.0/setup.cfg 2023-08-28 15:03:38.838161700 +0200 +++ new/oslo.config-9.4.0/setup.cfg 2024-02-22 16:09:31.017090000 +0100 @@ -19,6 +19,7 @@ Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Programming Language :: Python :: 3 :: Only Programming Language :: Python :: Implementation :: CPython diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.config-9.2.0/test-requirements.txt new/oslo.config-9.4.0/test-requirements.txt --- old/oslo.config-9.2.0/test-requirements.txt 2023-08-28 15:03:09.000000000 +0200 +++ new/oslo.config-9.4.0/test-requirements.txt 2024-02-22 16:08:59.000000000 +0100 @@ -1,8 +1,4 @@ -# The order of packages is significant, because pip processes them in the order -# of appearance. Changing the order has an impact on the overall integration -# process, which may cause wedges in the gate later. - -hacking>=3.0.1,<3.1.0 # Apache-2.0 +hacking>=6.1.0,<6.2.0 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD
