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 2023-05-03 15:42:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.config (Old)
 and      /work/SRC/openSUSE:Factory/.python-oslo.config.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oslo.config"

Wed May  3 15:42:25 2023 rev:41 rq:1084313 version:9.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.config/python-oslo.config.changes    
2022-08-16 17:08:04.439937362 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-oslo.config.new.1533/python-oslo.config.changes
  2023-05-03 15:42:26.530777831 +0200
@@ -1,0 +2,11 @@
+Wed May  3 12:22:46 UTC 2023 - [email protected]
+
+- update to version 9.1.1
+  - Fix issues related to tox4
+  - Update master for stable/zed
+  - Add Python3 antelope unit tests
+  - fix CLI mismatch in unit tests
+  - Disable a config test if ran under the root user
+  - Make tests backward compat with cliff' older versions
+
+-------------------------------------------------------------------

Old:
----
  oslo.config-9.0.0.tar.gz

New:
----
  oslo.config-9.1.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-oslo.config.spec ++++++
--- /var/tmp/diff_new_pack.uMs0yX/_old  2023-05-03 15:42:27.058780960 +0200
+++ /var/tmp/diff_new_pack.uMs0yX/_new  2023-05-03 15:42:27.062780984 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-oslo.config
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 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.0.0
+Version:        9.1.1
 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.0.0.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/o/oslo.config/oslo.config-9.1.1.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.0.0
+%autosetup -p1 -n oslo.config-9.1.1
 %py_req_cleanup
 
 %build
 %{py3_build}
 
-PBR_VERSION=9.0.0 PYTHONPATH=. \
+PBR_VERSION=9.1.1 PYTHONPATH=. \
     %sphinx_build -b html doc/source doc/build/html
 # remove the sphinx-build leftovers
 rm -rf doc/build/html/.{doctrees,buildinfo}
@@ -104,7 +104,7 @@
 %check
 # Requires oslo.log which we can't depend on for build cycle reasons
 rm -v oslo_config/tests/test_cfg.py
-python3 -m stestr.cli run
+%{openstack_stestr_run}
 
 %files -n python3-oslo.config
 %license LICENSE

++++++ oslo.config-9.0.0.tar.gz -> oslo.config-9.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.config-9.0.0/.zuul.yaml 
new/oslo.config-9.1.1/.zuul.yaml
--- old/oslo.config-9.0.0/.zuul.yaml    2022-07-12 11:16:34.000000000 +0200
+++ new/oslo.config-9.1.1/.zuul.yaml    2023-02-21 18:24:32.000000000 +0100
@@ -2,7 +2,7 @@
     templates:
       - check-requirements
       - lib-forward-testing-python3
-      - openstack-python3-zed-jobs
+      - openstack-python3-antelope-jobs
       - periodic-stable-jobs
       - publish-openstack-docs-pti
       - release-notes-jobs-python3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.config-9.0.0/ChangeLog 
new/oslo.config-9.1.1/ChangeLog
--- old/oslo.config-9.0.0/ChangeLog     2022-07-12 11:17:11.000000000 +0200
+++ new/oslo.config-9.1.1/ChangeLog     2023-02-21 18:25:04.000000000 +0100
@@ -1,6 +1,20 @@
 CHANGES
 =======
 
+9.1.1
+-----
+
+* Fix issues related to tox4
+
+9.1.0
+-----
+
+* Make tests backward compat with cliff' older versions
+* Add Python3 antelope unit tests
+* Update master for stable/zed
+* Disable a config test if ran under the root user
+* fix CLI mismatch in unit tests
+
 9.0.0
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.config-9.0.0/PKG-INFO 
new/oslo.config-9.1.1/PKG-INFO
--- old/oslo.config-9.0.0/PKG-INFO      2022-07-12 11:17:11.546979700 +0200
+++ new/oslo.config-9.1.1/PKG-INFO      2023-02-21 18:25:04.622377200 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: oslo.config
-Version: 9.0.0
+Version: 9.1.1
 Summary: Oslo Configuration API
 Home-page: https://docs.openstack.org/oslo.config/latest/
 Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.config-9.0.0/oslo.config.egg-info/PKG-INFO 
new/oslo.config-9.1.1/oslo.config.egg-info/PKG-INFO
--- old/oslo.config-9.0.0/oslo.config.egg-info/PKG-INFO 2022-07-12 
11:17:11.000000000 +0200
+++ new/oslo.config-9.1.1/oslo.config.egg-info/PKG-INFO 2023-02-21 
18:25:04.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: oslo.config
-Version: 9.0.0
+Version: 9.1.1
 Summary: Oslo Configuration API
 Home-page: https://docs.openstack.org/oslo.config/latest/
 Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.config-9.0.0/oslo.config.egg-info/SOURCES.txt 
new/oslo.config-9.1.1/oslo.config.egg-info/SOURCES.txt
--- old/oslo.config-9.0.0/oslo.config.egg-info/SOURCES.txt      2022-07-12 
11:17:11.000000000 +0200
+++ new/oslo.config-9.1.1/oslo.config.egg-info/SOURCES.txt      2023-02-21 
18:25:04.000000000 +0100
@@ -121,5 +121,6 @@
 releasenotes/source/wallaby.rst
 releasenotes/source/xena.rst
 releasenotes/source/yoga.rst
+releasenotes/source/zed.rst
 releasenotes/source/_static/.placeholder
 releasenotes/source/_templates/.placeholder
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.config-9.0.0/oslo.config.egg-info/pbr.json 
new/oslo.config-9.1.1/oslo.config.egg-info/pbr.json
--- old/oslo.config-9.0.0/oslo.config.egg-info/pbr.json 2022-07-12 
11:17:11.000000000 +0200
+++ new/oslo.config-9.1.1/oslo.config.egg-info/pbr.json 2023-02-21 
18:25:04.000000000 +0100
@@ -1 +1 @@
-{"git_version": "9eaae04", "is_release": true}
\ No newline at end of file
+{"git_version": "515daab", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.config-9.0.0/oslo_config/tests/test_cfg.py 
new/oslo.config-9.1.1/oslo_config/tests/test_cfg.py
--- old/oslo.config-9.0.0/oslo_config/tests/test_cfg.py 2022-07-12 
11:16:34.000000000 +0200
+++ new/oslo.config-9.1.1/oslo_config/tests/test_cfg.py 2023-02-21 
18:24:32.000000000 +0100
@@ -21,6 +21,7 @@
 import shutil
 import sys
 import tempfile
+import unittest
 from unittest import mock
 
 import fixtures
@@ -207,8 +208,8 @@
         self.conf([])
         self.conf.print_help(file=f)
         self.assertIn(
-            'usage: test [-h] [--aa AA] [--bb BB] [--cc CC] [--config-dir DIR]'
-            '\n            [--config-file PATH] [--version]',
+            'usage: test [-h] [--aa AA] [--bb BB] [--cc CC] '
+            '[--config-dir DIR]',
             f.getvalue())
         # argparse may generate two different help messages:
         # - In Python >=3.10: "options:\n  --version"
@@ -3839,6 +3840,8 @@
         self.assertRaises(cfg.ConfigFilesNotFoundError,
                           self.conf, ['--config-file', path])
 
+    @unittest.skipIf(os.getuid() == 0,
+                     "Not supported with the root privileges")
     def test_conf_file_permission_denied(self):
         (fd, path) = tempfile.mkstemp()
 
@@ -5080,8 +5083,7 @@
                      'option': current_name,
                      'group': current_group}
                     )
-        self.assertEqual(self.log_prefix + expected + '\n',
-                         self.log_fixture.output)
+        self.assertIn(expected + '\n', self.log_fixture.output)
 
     def test_deprecated_for_removal(self):
         self.conf.register_opt(cfg.StrOpt('foo',
@@ -5097,10 +5099,10 @@
         self.assertEqual('bar', self.conf.foo)
         # Options not set in the config should not be logged.
         self.assertIsNone(self.conf.bar)
-        expected = ('Option "foo" from group "DEFAULT" is deprecated for '
-                    'removal.  Its value may be silently ignored in the '
-                    'future.\n')
-        self.assertEqual(self.log_prefix + expected, self.log_fixture.output)
+        expected = ('Option "foo" from group "DEFAULT" is '
+                    'deprecated for removal.  Its value may be silently '
+                    'ignored in the future.\n')
+        self.assertIn(expected, self.log_fixture.output)
 
     def test_deprecated_for_removal_with_group(self):
         self.conf.register_group(cfg.OptGroup('other'))
@@ -5119,10 +5121,10 @@
         self.assertEqual('bar', self.conf.other.foo)
         # Options not set in the config should not be logged.
         self.assertIsNone(self.conf.other.bar)
-        expected = ('Option "foo" from group "other" is deprecated for '
-                    'removal.  Its value may be silently ignored in the '
-                    'future.\n')
-        self.assertEqual(self.log_prefix + expected, self.log_fixture.output)
+        expected = ('Option "foo" from group "other" is '
+                    'deprecated for removal.  Its value may be silently '
+                    'ignored in the future.\n')
+        self.assertIn(expected, self.log_fixture.output)
 
     def test_deprecated_with_dest(self):
         self.conf.register_group(cfg.OptGroup('other'))
@@ -5141,7 +5143,7 @@
                      'dep_group': 'other',
                      'option': 'foo-bar',
                      'group': 'other'} + '\n')
-        self.assertEqual(self.log_prefix + expected, self.log_fixture.output)
+        self.assertIn(expected, self.log_fixture.output)
 
 
 class DeprecationWarningTestsNoOsloLog(DeprecationWarningTests):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.config-9.0.0/releasenotes/source/index.rst 
new/oslo.config-9.1.1/releasenotes/source/index.rst
--- old/oslo.config-9.0.0/releasenotes/source/index.rst 2022-07-12 
11:16:34.000000000 +0200
+++ new/oslo.config-9.1.1/releasenotes/source/index.rst 2023-02-21 
18:24:32.000000000 +0100
@@ -6,6 +6,7 @@
    :maxdepth: 1
 
    unreleased
+   zed
    yoga
    xena
    wallaby
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.config-9.0.0/releasenotes/source/zed.rst 
new/oslo.config-9.1.1/releasenotes/source/zed.rst
--- old/oslo.config-9.0.0/releasenotes/source/zed.rst   1970-01-01 
01:00:00.000000000 +0100
+++ new/oslo.config-9.1.1/releasenotes/source/zed.rst   2023-02-21 
18:24:32.000000000 +0100
@@ -0,0 +1,6 @@
+========================
+Zed Series Release Notes
+========================
+
+.. release-notes::
+   :branch: stable/zed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.config-9.0.0/tox.ini 
new/oslo.config-9.1.1/tox.ini
--- old/oslo.config-9.0.0/tox.ini       2022-07-12 11:16:34.000000000 +0200
+++ new/oslo.config-9.1.1/tox.ini       2023-02-21 18:24:32.000000000 +0100
@@ -1,12 +1,9 @@
 [tox]
 minversion = 3.2.0
-distribute = False
 envlist = py3,pep8
-ignore_basepython_conflict = true
 
 [testenv]
-basepython = python3
-whitelist_externals =
+allowlist_externals =
   find
 setenv =
   OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:1}
@@ -43,7 +40,7 @@
 commands = {posargs}
 
 [testenv:docs]
-whitelist_externals = rm
+allowlist_externals = rm
 deps =
   
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
   -r{toxinidir}/doc/requirements.txt
@@ -60,7 +57,7 @@
   bandit -r oslo_config -x tests -n5
 
 [testenv:releasenotes]
-whitelist_externals =
+allowlist_externals =
   rm
 deps = {[testenv:docs]deps}
 commands =

Reply via email to