Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-oslo.privsep for 
openSUSE:Factory checked in at 2026-08-09 21:34:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.privsep (Old)
 and      /work/SRC/openSUSE:Factory/.python-oslo.privsep.new.16738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oslo.privsep"

Sun Aug  9 21:34:49 2026 rev:26 rq:1369782 version:3.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.privsep/python-oslo.privsep.changes  
2026-05-04 12:58:16.717237703 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-oslo.privsep.new.16738/python-oslo.privsep.changes
       2026-08-09 21:37:08.485923749 +0200
@@ -1,0 +2,11 @@
+Wed Aug  5 14:29:25 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 3.12.0:
+  * zuul: Use openstack-python3-next-jobs template
+  * pre-commit: Bump versions
+  * Do not install code to build release notes
+  * Remove Python 3.10 support
+  * typing: Fixes for typed oslo.config
+  * Deprecate version module
+
+-------------------------------------------------------------------

Old:
----
  oslo_privsep-3.11.0.tar.gz

New:
----
  oslo_privsep-3.12.0.tar.gz

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

Other differences:
------------------
++++++ python-oslo.privsep.spec ++++++
--- /var/tmp/diff_new_pack.TPAwfw/_old  2026-08-09 21:37:08.905938051 +0200
+++ /var/tmp/diff_new_pack.TPAwfw/_new  2026-08-09 21:37:08.909938187 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-oslo.privsep
-Version:        3.11.0
+Version:        3.12.0
 Release:        0
 Summary:        OpenStack library for privilege separation
 License:        Apache-2.0

++++++ oslo_privsep-3.11.0.tar.gz -> oslo_privsep-3.12.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_privsep-3.11.0/.pre-commit-config.yaml 
new/oslo_privsep-3.12.0/.pre-commit-config.yaml
--- old/oslo_privsep-3.11.0/.pre-commit-config.yaml     2026-04-30 
15:14:49.000000000 +0200
+++ new/oslo_privsep-3.12.0/.pre-commit-config.yaml     2026-07-10 
15:55:05.000000000 +0200
@@ -13,13 +13,13 @@
       - id: check-yaml
         files: .*\.(yaml|yml)$
   - repo: https://github.com/astral-sh/ruff-pre-commit
-    rev: v0.14.13
+    rev: v0.15.19
     hooks:
       - id: ruff-check
         args: ['--fix', '--unsafe-fixes']
       - id: ruff-format
   - repo: https://opendev.org/openstack/hacking
-    rev: 8.0.0
+    rev: 8.1.0
     hooks:
       - id: hacking
         additional_dependencies: []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_privsep-3.11.0/.zuul.yaml 
new/oslo_privsep-3.12.0/.zuul.yaml
--- old/oslo_privsep-3.11.0/.zuul.yaml  2026-04-30 15:14:49.000000000 +0200
+++ new/oslo_privsep-3.12.0/.zuul.yaml  2026-07-10 15:55:05.000000000 +0200
@@ -1,8 +1,11 @@
+---
+
 - project:
     templates:
       - check-requirements
       - lib-forward-testing-python3
       - openstack-python3-jobs
+      - openstack-python3-next-jobs
       - periodic-stable-jobs
       - publish-openstack-docs-pti
       - release-notes-jobs-python3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_privsep-3.11.0/ChangeLog 
new/oslo_privsep-3.12.0/ChangeLog
--- old/oslo_privsep-3.11.0/ChangeLog   2026-04-30 15:15:46.000000000 +0200
+++ new/oslo_privsep-3.12.0/ChangeLog   2026-07-10 15:55:55.000000000 +0200
@@ -1,6 +1,16 @@
 CHANGES
 =======
 
+3.12.0
+------
+
+* zuul: Use openstack-python3-next-jobs template
+* pre-commit: Bump versions
+* Do not install code to build release notes
+* Remove Python 3.10 support
+* typing: Fixes for typed oslo.config
+* Deprecate version module
+
 3.11.0
 ------
 
@@ -8,6 +18,7 @@
 * tox: Use new constraints option
 * Make eventlet import optional
 * typing: Fix compatibility with typed testtools, oslotest
+* Update packaging configuration
 * ruff: Configure hacking as external linter
 * Update master for stable/2026.1
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_privsep-3.11.0/PKG-INFO 
new/oslo_privsep-3.12.0/PKG-INFO
--- old/oslo_privsep-3.11.0/PKG-INFO    2026-04-30 15:15:46.624230100 +0200
+++ new/oslo_privsep-3.12.0/PKG-INFO    2026-07-10 15:55:55.477925300 +0200
@@ -1,25 +1,25 @@
 Metadata-Version: 2.4
 Name: oslo.privsep
-Version: 3.11.0
+Version: 3.12.0
 Summary: OpenStack library for privilege separation
 Author-email: OpenStack <[email protected]>
+License-Expression: Apache-2.0
 Project-URL: Homepage, https://docs.openstack.org/oslo.privsep
 Project-URL: Repository, https://opendev.org/openstack/oslo.privsep
 Classifier: Environment :: OpenStack
 Classifier: Intended Audience :: Information Technology
 Classifier: Intended Audience :: System Administrators
-Classifier: License :: OSI Approved :: Apache Software License
 Classifier: Operating System :: POSIX :: Linux
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: 3.12
 Classifier: Programming Language :: Python :: 3.13
+Classifier: Programming Language :: Python :: 3.14
 Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Typing :: Typed
-Requires-Python: >=3.10
+Requires-Python: >=3.11
 Description-Content-Type: text/x-rst
 License-File: LICENSE
 Requires-Dist: oslo.log>=5.0.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_privsep-3.11.0/oslo.privsep.egg-info/PKG-INFO 
new/oslo_privsep-3.12.0/oslo.privsep.egg-info/PKG-INFO
--- old/oslo_privsep-3.11.0/oslo.privsep.egg-info/PKG-INFO      2026-04-30 
15:15:46.000000000 +0200
+++ new/oslo_privsep-3.12.0/oslo.privsep.egg-info/PKG-INFO      2026-07-10 
15:55:55.000000000 +0200
@@ -1,25 +1,25 @@
 Metadata-Version: 2.4
 Name: oslo.privsep
-Version: 3.11.0
+Version: 3.12.0
 Summary: OpenStack library for privilege separation
 Author-email: OpenStack <[email protected]>
+License-Expression: Apache-2.0
 Project-URL: Homepage, https://docs.openstack.org/oslo.privsep
 Project-URL: Repository, https://opendev.org/openstack/oslo.privsep
 Classifier: Environment :: OpenStack
 Classifier: Intended Audience :: Information Technology
 Classifier: Intended Audience :: System Administrators
-Classifier: License :: OSI Approved :: Apache Software License
 Classifier: Operating System :: POSIX :: Linux
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: 3.12
 Classifier: Programming Language :: Python :: 3.13
+Classifier: Programming Language :: Python :: 3.14
 Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Typing :: Typed
-Requires-Python: >=3.10
+Requires-Python: >=3.11
 Description-Content-Type: text/x-rst
 License-File: LICENSE
 Requires-Dist: oslo.log>=5.0.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo_privsep-3.11.0/oslo.privsep.egg-info/SOURCES.txt 
new/oslo_privsep-3.12.0/oslo.privsep.egg-info/SOURCES.txt
--- old/oslo_privsep-3.11.0/oslo.privsep.egg-info/SOURCES.txt   2026-04-30 
15:15:46.000000000 +0200
+++ new/oslo_privsep-3.12.0/oslo.privsep.egg-info/SOURCES.txt   2026-07-10 
15:55:55.000000000 +0200
@@ -60,8 +60,10 @@
 releasenotes/notes/auto-restart-client-channel-619545294557bf2b.yaml
 releasenotes/notes/context-logger-06b475357bebadc7.yaml
 releasenotes/notes/deprecate-eventlet-monkey-patching-c37fea982471c01c.yaml
+releasenotes/notes/deprecate-version-module-a0eeae4221afed89.yaml
 releasenotes/notes/drop-python27-support-6da3028c1cf099eb.yaml
 releasenotes/notes/log-daemon-traceback-45784705e65cf52c.yaml
+releasenotes/notes/remove-py310-006055b8f610c284.yaml
 releasenotes/notes/remove-py38-617d1a2405d75815.yaml
 releasenotes/notes/remove-py39-560232c53ba636c3.yaml
 releasenotes/notes/setgid-should-be-called-before-setuid-fcf01083df9d5369.yaml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_privsep-3.11.0/oslo.privsep.egg-info/pbr.json 
new/oslo_privsep-3.12.0/oslo.privsep.egg-info/pbr.json
--- old/oslo_privsep-3.11.0/oslo.privsep.egg-info/pbr.json      2026-04-30 
15:15:46.000000000 +0200
+++ new/oslo_privsep-3.12.0/oslo.privsep.egg-info/pbr.json      2026-07-10 
15:55:55.000000000 +0200
@@ -1 +1 @@
-{"git_version": "4aadad6", "is_release": true}
\ No newline at end of file
+{"git_version": "1e31e77", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_privsep-3.11.0/oslo_privsep/comm.py 
new/oslo_privsep-3.12.0/oslo_privsep/comm.py
--- old/oslo_privsep-3.11.0/oslo_privsep/comm.py        2026-04-30 
15:14:49.000000000 +0200
+++ new/oslo_privsep-3.12.0/oslo_privsep/comm.py        2026-07-10 
15:55:05.000000000 +0200
@@ -29,9 +29,7 @@
 import socket
 import sys
 import threading
-from typing import Any
-
-from typing_extensions import Self
+from typing import Any, Self
 
 import msgpack
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_privsep-3.11.0/oslo_privsep/priv_context.py 
new/oslo_privsep-3.12.0/oslo_privsep/priv_context.py
--- old/oslo_privsep-3.11.0/oslo_privsep/priv_context.py        2026-04-30 
15:14:49.000000000 +0200
+++ new/oslo_privsep-3.12.0/oslo_privsep/priv_context.py        2026-07-10 
15:55:05.000000000 +0200
@@ -37,12 +37,19 @@
 LOG = logging.getLogger(__name__)
 
 
-def CapNameOrInt(value: str | int) -> int:
-    value_str = str(value).strip()
-    try:
-        return capabilities.CAPS_BYNAME[value_str]
-    except KeyError:
-        return int(value_str)
+class CapNameOrInt(types.ConfigType):
+    def __init__(self) -> None:
+        return super().__init__('capability')
+
+    def __call__(self, value: Any) -> int:
+        value_str = str(value).strip()
+        try:
+            return capabilities.CAPS_BYNAME[value_str]
+        except KeyError:
+            return int(value_str)
+
+    def _formatter(self, value: Any) -> str:
+        return str(value)
 
 
 OPTS = [
@@ -52,7 +59,7 @@
     ),
     cfg.Opt(
         'capabilities',
-        type=types.List(CapNameOrInt),
+        type=types.List(CapNameOrInt()),
         default=[],
         help=_('List of Linux capabilities retained by the privsep daemon.'),
     ),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo_privsep-3.11.0/oslo_privsep/tests/unit/test_priv_context.py 
new/oslo_privsep-3.12.0/oslo_privsep/tests/unit/test_priv_context.py
--- old/oslo_privsep-3.11.0/oslo_privsep/tests/unit/test_priv_context.py        
2026-04-30 15:14:49.000000000 +0200
+++ new/oslo_privsep-3.12.0/oslo_privsep/tests/unit/test_priv_context.py        
2026-07-10 15:55:05.000000000 +0200
@@ -92,7 +92,7 @@
         self.assertEqual(expected, cmd)
 
     def test_helper_command_default(self):
-        self.privsep_conf.config_file = ['/bar.conf']
+        self.privsep_conf.config_file = ['/bar.conf']  # type: 
ignore[attr-defined]
         _, temp_path = tempfile.mkstemp()
         cmd = testctx.context.helper_command(temp_path)
         expected = [
@@ -109,8 +109,8 @@
         self.assertEqual(expected, cmd)
 
     def test_helper_command_default_dirtoo(self):
-        self.privsep_conf.config_file = ['/bar.conf', '/baz.conf']
-        self.privsep_conf.config_dir = ['/foo.d']
+        self.privsep_conf.config_file = ['/bar.conf', '/baz.conf']  # type: 
ignore[attr-defined]
+        self.privsep_conf.config_dir = ['/foo.d']  # type: ignore[attr-defined]
         _, temp_path = tempfile.mkstemp()
         cmd = testctx.context.helper_command(temp_path)
         expected = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_privsep-3.11.0/oslo_privsep/version.py 
new/oslo_privsep-3.12.0/oslo_privsep/version.py
--- old/oslo_privsep-3.11.0/oslo_privsep/version.py     2026-04-30 
15:14:49.000000000 +0200
+++ new/oslo_privsep-3.12.0/oslo_privsep/version.py     2026-07-10 
15:55:05.000000000 +0200
@@ -12,7 +12,14 @@
 #    License for the specific language governing permissions and limitations
 #    under the License.
 
+import warnings
 
 import pbr.version
 
+warnings.warn(
+    f'The {__name__} module is deprecated. Prefer use of importlib.metadata '
+    f'to inspect version information for packages.',
+    DeprecationWarning,
+)
+
 version_info = pbr.version.VersionInfo('oslo.privsep')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_privsep-3.11.0/pyproject.toml 
new/oslo_privsep-3.12.0/pyproject.toml
--- old/oslo_privsep-3.11.0/pyproject.toml      2026-04-30 15:14:49.000000000 
+0200
+++ new/oslo_privsep-3.12.0/pyproject.toml      2026-07-10 15:55:05.000000000 
+0200
@@ -9,19 +9,19 @@
 authors = [
     {name = "OpenStack", email = "[email protected]"},
 ]
-requires-python = ">=3.10"
+license = "Apache-2.0"
+requires-python = ">=3.11"
 classifiers = [
     "Environment :: OpenStack",
     "Intended Audience :: Information Technology",
     "Intended Audience :: System Administrators",
-    "License :: OSI Approved :: Apache Software License",
     "Operating System :: POSIX :: Linux",
     "Programming Language :: Python",
     "Programming Language :: Python :: 3",
-    "Programming Language :: Python :: 3.10",
     "Programming Language :: Python :: 3.11",
     "Programming Language :: Python :: 3.12",
     "Programming Language :: Python :: 3.13",
+    "Programming Language :: Python :: 3.14",
     "Programming Language :: Python :: 3 :: Only",
     "Programming Language :: Python :: Implementation :: CPython",
     "Typing :: Typed",
@@ -44,11 +44,11 @@
 [project.entry-points."oslo.config.opts"]
 "oslo.privsep" = "oslo_privsep.priv_context:_list_opts"
 
-[tool.setuptools]
-packages = ["oslo_privsep"]
+[tool.setuptools.packages.find]
+include = ["oslo_privsep"]
 
 [tool.mypy]
-python_version = "3.10"
+python_version = "3.11"
 show_column_numbers = true
 show_error_context = true
 strict = true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo_privsep-3.11.0/releasenotes/notes/deprecate-version-module-a0eeae4221afed89.yaml
 
new/oslo_privsep-3.12.0/releasenotes/notes/deprecate-version-module-a0eeae4221afed89.yaml
--- 
old/oslo_privsep-3.11.0/releasenotes/notes/deprecate-version-module-a0eeae4221afed89.yaml
   1970-01-01 01:00:00.000000000 +0100
+++ 
new/oslo_privsep-3.12.0/releasenotes/notes/deprecate-version-module-a0eeae4221afed89.yaml
   2026-07-10 15:55:05.000000000 +0200
@@ -0,0 +1,6 @@
+---
+deprecations:
+  - |
+    The ``oslo_privsep.version`` module and associated objects has been
+    deprecated for removal. Prefer use of ``importlib.metadata`` to inspect
+    version information for installed packages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo_privsep-3.11.0/releasenotes/notes/remove-py310-006055b8f610c284.yaml 
new/oslo_privsep-3.12.0/releasenotes/notes/remove-py310-006055b8f610c284.yaml
--- 
old/oslo_privsep-3.11.0/releasenotes/notes/remove-py310-006055b8f610c284.yaml   
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/oslo_privsep-3.12.0/releasenotes/notes/remove-py310-006055b8f610c284.yaml   
    2026-07-10 15:55:05.000000000 +0200
@@ -0,0 +1,5 @@
+---
+upgrade:
+  - |
+    Support for Python 3.10 has been removed. Now the minimum python version
+    supported is 3.11.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_privsep-3.11.0/tox.ini 
new/oslo_privsep-3.12.0/tox.ini
--- old/oslo_privsep-3.11.0/tox.ini     2026-04-30 15:14:49.000000000 +0200
+++ new/oslo_privsep-3.12.0/tox.ini     2026-07-10 15:55:05.000000000 +0200
@@ -6,7 +6,6 @@
 constraints =
   
{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
 deps =
-  -r{toxinidir}/requirements.txt
   -r{toxinidir}/test-requirements.txt
 commands = stestr run --slowest {posargs}
 
@@ -42,6 +41,7 @@
   sphinx-build -W --keep-going -b html doc/source doc/build/html
 
 [testenv:releasenotes]
+skip_install = true
 allowlist_externals =
   rm
 deps =

Reply via email to