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-05-04 12:54:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.privsep (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.privsep.new.30200 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.privsep"
Mon May 4 12:54:38 2026 rev:25 rq:1350572 version:3.11.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.privsep/python-oslo.privsep.changes
2026-03-29 20:01:37.847751986 +0200
+++
/work/SRC/openSUSE:Factory/.python-oslo.privsep.new.30200/python-oslo.privsep.changes
2026-05-04 12:58:16.717237703 +0200
@@ -1,0 +2,11 @@
+Sun May 3 19:19:54 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 3.11.0:
+ * Make eventlet optional
+ * tox: Use new constraints option
+ * Make eventlet import optional
+ * typing: Fix compatibility with typed testtools, oslotest
+ * ruff: Configure hacking as external linter
+ * Update master for stable/2026.1
+
+-------------------------------------------------------------------
Old:
----
oslo_privsep-3.10.1.tar.gz
New:
----
oslo_privsep-3.11.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.privsep.spec ++++++
--- /var/tmp/diff_new_pack.rzlMyF/_old 2026-05-04 12:58:18.349304870 +0200
+++ /var/tmp/diff_new_pack.rzlMyF/_new 2026-05-04 12:58:18.381306187 +0200
@@ -17,7 +17,7 @@
Name: python-oslo.privsep
-Version: 3.10.1
+Version: 3.11.0
Release: 0
Summary: OpenStack library for privilege separation
License: Apache-2.0
++++++ oslo_privsep-3.10.1.tar.gz -> oslo_privsep-3.11.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_privsep-3.10.1/AUTHORS
new/oslo_privsep-3.11.0/AUTHORS
--- old/oslo_privsep-3.10.1/AUTHORS 2026-02-23 17:27:46.000000000 +0100
+++ new/oslo_privsep-3.11.0/AUTHORS 2026-04-30 15:15:46.000000000 +0200
@@ -1,6 +1,7 @@
Alexander Tsamutali <[email protected]>
Andreas Jaeger <[email protected]>
Angus Lees <[email protected]>
+Balazs Gibizer <[email protected]>
Ben Nemec <[email protected]>
Bogdan Teleaga <[email protected]>
ChangBo Guo(gcb) <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_privsep-3.10.1/ChangeLog
new/oslo_privsep-3.11.0/ChangeLog
--- old/oslo_privsep-3.10.1/ChangeLog 2026-02-23 17:27:46.000000000 +0100
+++ new/oslo_privsep-3.11.0/ChangeLog 2026-04-30 15:15:46.000000000 +0200
@@ -1,6 +1,16 @@
CHANGES
=======
+3.11.0
+------
+
+* Make eventlet optional
+* tox: Use new constraints option
+* Make eventlet import optional
+* typing: Fix compatibility with typed testtools, oslotest
+* ruff: Configure hacking as external linter
+* Update master for stable/2026.1
+
3.10.1
------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_privsep-3.10.1/PKG-INFO
new/oslo_privsep-3.11.0/PKG-INFO
--- old/oslo_privsep-3.10.1/PKG-INFO 2026-02-23 17:27:46.390883000 +0100
+++ new/oslo_privsep-3.11.0/PKG-INFO 2026-04-30 15:15:46.624230100 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: oslo.privsep
-Version: 3.10.1
+Version: 3.11.0
Summary: OpenStack library for privilege separation
Author-email: OpenStack <[email protected]>
Project-URL: Homepage, https://docs.openstack.org/oslo.privsep
@@ -27,10 +27,11 @@
Requires-Dist: oslo.config>=5.2.0
Requires-Dist: oslo.utils>=3.33.0
Requires-Dist: cffi>=1.14.0
-Requires-Dist: eventlet>=0.21.0
-Requires-Dist: greenlet>=0.4.14
Requires-Dist: msgpack>=0.6.0
Requires-Dist: debtcollector>=3.0.0
+Provides-Extra: eventlet
+Requires-Dist: eventlet>=0.21.0; extra == "eventlet"
+Requires-Dist: greenlet>=0.4.14; extra == "eventlet"
Dynamic: license-file
Dynamic: requires-dist
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_privsep-3.10.1/oslo.privsep.egg-info/PKG-INFO
new/oslo_privsep-3.11.0/oslo.privsep.egg-info/PKG-INFO
--- old/oslo_privsep-3.10.1/oslo.privsep.egg-info/PKG-INFO 2026-02-23
17:27:46.000000000 +0100
+++ new/oslo_privsep-3.11.0/oslo.privsep.egg-info/PKG-INFO 2026-04-30
15:15:46.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: oslo.privsep
-Version: 3.10.1
+Version: 3.11.0
Summary: OpenStack library for privilege separation
Author-email: OpenStack <[email protected]>
Project-URL: Homepage, https://docs.openstack.org/oslo.privsep
@@ -27,10 +27,11 @@
Requires-Dist: oslo.config>=5.2.0
Requires-Dist: oslo.utils>=3.33.0
Requires-Dist: cffi>=1.14.0
-Requires-Dist: eventlet>=0.21.0
-Requires-Dist: greenlet>=0.4.14
Requires-Dist: msgpack>=0.6.0
Requires-Dist: debtcollector>=3.0.0
+Provides-Extra: eventlet
+Requires-Dist: eventlet>=0.21.0; extra == "eventlet"
+Requires-Dist: greenlet>=0.4.14; extra == "eventlet"
Dynamic: license-file
Dynamic: requires-dist
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_privsep-3.10.1/oslo.privsep.egg-info/SOURCES.txt
new/oslo_privsep-3.11.0/oslo.privsep.egg-info/SOURCES.txt
--- old/oslo_privsep-3.10.1/oslo.privsep.egg-info/SOURCES.txt 2026-02-23
17:27:46.000000000 +0100
+++ new/oslo_privsep-3.11.0/oslo.privsep.egg-info/SOURCES.txt 2026-04-30
15:15:46.000000000 +0200
@@ -72,6 +72,7 @@
releasenotes/source/2024.2.rst
releasenotes/source/2025.1.rst
releasenotes/source/2025.2.rst
+releasenotes/source/2026.1.rst
releasenotes/source/conf.py
releasenotes/source/index.rst
releasenotes/source/newton.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_privsep-3.10.1/oslo.privsep.egg-info/pbr.json
new/oslo_privsep-3.11.0/oslo.privsep.egg-info/pbr.json
--- old/oslo_privsep-3.10.1/oslo.privsep.egg-info/pbr.json 2026-02-23
17:27:46.000000000 +0100
+++ new/oslo_privsep-3.11.0/oslo.privsep.egg-info/pbr.json 2026-04-30
15:15:46.000000000 +0200
@@ -1 +1 @@
-{"git_version": "1a376c3", "is_release": true}
\ No newline at end of file
+{"git_version": "4aadad6", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_privsep-3.10.1/oslo.privsep.egg-info/requires.txt
new/oslo_privsep-3.11.0/oslo.privsep.egg-info/requires.txt
--- old/oslo_privsep-3.10.1/oslo.privsep.egg-info/requires.txt 2026-02-23
17:27:46.000000000 +0100
+++ new/oslo_privsep-3.11.0/oslo.privsep.egg-info/requires.txt 2026-04-30
15:15:46.000000000 +0200
@@ -3,7 +3,9 @@
oslo.config>=5.2.0
oslo.utils>=3.33.0
cffi>=1.14.0
-eventlet>=0.21.0
-greenlet>=0.4.14
msgpack>=0.6.0
debtcollector>=3.0.0
+
+[eventlet]
+eventlet>=0.21.0
+greenlet>=0.4.14
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_privsep-3.10.1/oslo_privsep/daemon.py
new/oslo_privsep-3.11.0/oslo_privsep/daemon.py
--- old/oslo_privsep-3.10.1/oslo_privsep/daemon.py 2026-02-23
17:27:02.000000000 +0100
+++ new/oslo_privsep-3.11.0/oslo_privsep/daemon.py 2026-04-30
15:14:49.000000000 +0200
@@ -63,8 +63,6 @@
from typing import TYPE_CHECKING
import debtcollector
-import eventlet
-from eventlet import patcher
from oslo_config import cfg
from oslo_log import log as logging
from oslo_utils import encodeutils
@@ -103,16 +101,22 @@
_MONKEY_PATCHED = False
-for module in EVENTLET_MODULES:
- if eventlet.patcher.is_monkey_patched(module):
- _MONKEY_PATCHED = True
- if hasattr(patcher, f'_green_{module}_modules'):
- method = getattr(patcher, f'_green_{module}_modules')
- elif hasattr(patcher, f'_green_{module}'):
- method = getattr(patcher, f'_green_{module}')
- else:
- method = _null()
- EVENTLET_LIBRARIES.append((module, method))
+try:
+ import eventlet
+ from eventlet import patcher
+except ImportError:
+ pass
+else:
+ for module in EVENTLET_MODULES:
+ if eventlet.patcher.is_monkey_patched(module):
+ _MONKEY_PATCHED = True
+ if hasattr(patcher, f'_green_{module}_modules'):
+ method = getattr(patcher, f'_green_{module}_modules')
+ elif hasattr(patcher, f'_green_{module}'):
+ method = getattr(patcher, f'_green_{module}')
+ else:
+ method = _null()
+ EVENTLET_LIBRARIES.append((module, method))
if _MONKEY_PATCHED:
debtcollector.deprecate(
@@ -286,7 +290,7 @@
# are broken in lots of ways regarding blocking behaviour. We
# *need* the newer io.* objects on py2 (doesn't matter on py3,
# since the old file code has been replaced with io.*)
- if eventlet.patcher.is_monkey_patched('socket'):
+ if _MONKEY_PATCHED and eventlet.patcher.is_monkey_patched('socket'):
return eventlet.greenio.GreenPipe(fd, *args, **kwargs)
else:
return open(fd, *args, **kwargs)
@@ -321,6 +325,9 @@
def un_monkey_patch() -> None:
+ if not _MONKEY_PATCHED:
+ return
+
for eventlet_mod_name, func_modules in EVENTLET_LIBRARIES:
if not eventlet.patcher.is_monkey_patched(eventlet_mod_name):
continue
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_privsep-3.10.1/oslo_privsep/tests/functional/test_daemon.py
new/oslo_privsep-3.11.0/oslo_privsep/tests/functional/test_daemon.py
--- old/oslo_privsep-3.10.1/oslo_privsep/tests/functional/test_daemon.py
2026-02-23 17:27:02.000000000 +0100
+++ new/oslo_privsep-3.11.0/oslo_privsep/tests/functional/test_daemon.py
2026-04-30 15:14:49.000000000 +0200
@@ -111,6 +111,7 @@
def test_logging(self):
logs()
+ assert self.log_fixture.logger is not None
self.assertIn('foo', self.log_fixture.logger.output)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_privsep-3.10.1/oslo_privsep/tests/unit/test_daemon.py
new/oslo_privsep-3.11.0/oslo_privsep/tests/unit/test_daemon.py
--- old/oslo_privsep-3.10.1/oslo_privsep/tests/unit/test_daemon.py
2026-02-23 17:27:02.000000000 +0100
+++ new/oslo_privsep-3.11.0/oslo_privsep/tests/unit/test_daemon.py
2026-04-30 15:14:49.000000000 +0200
@@ -134,11 +134,13 @@
record = logs[0]
self.assertIn('test with exc', record.getMessage())
self.assertIsNone(record.exc_info)
+ self.assertIsNotNone(record.exc_text)
+ assert record.exc_text is not None
self.assertIn('TestException: with arg', record.exc_text)
+ self.assertIn('test_daemon.py', record.exc_text)
self.assertEqual(
'PrivContext(cfg_section=privsep)', record.processName
)
- self.assertIn('test_daemon.py', record.exc_text)
self.assertEqual(logging.WARNING, record.levelno)
self.assertEqual('logme', record.funcName)
@@ -345,6 +347,7 @@
)
eventlet.monkey_patch()
+ daemon._MONKEY_PATCHED = True
self.assertTrue(
any(
eventlet.patcher.is_monkey_patched(eventlet_mod_name)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_privsep-3.10.1/pyproject.toml
new/oslo_privsep-3.11.0/pyproject.toml
--- old/oslo_privsep-3.10.1/pyproject.toml 2026-02-23 17:27:02.000000000
+0100
+++ new/oslo_privsep-3.11.0/pyproject.toml 2026-04-30 15:14:49.000000000
+0200
@@ -35,32 +35,42 @@
[project.scripts]
privsep-helper = "oslo_privsep.daemon:helper_main"
+[project.optional-dependencies]
+eventlet = [
+ "eventlet>=0.21.0", # MIT
+ "greenlet>=0.4.14", # MIT
+]
+
[project.entry-points."oslo.config.opts"]
"oslo.privsep" = "oslo_privsep.priv_context:_list_opts"
[tool.setuptools]
packages = ["oslo_privsep"]
-[tool.ruff]
-line-length = 79
-
-[tool.ruff.format]
-quote-style = "preserve"
-docstring-code-format = true
-
-[tool.ruff.lint]
-select = ["E4", "E5", "E7", "E9", "F", "G", "LOG", "S", "UP"]
-
[tool.mypy]
python_version = "3.10"
show_column_numbers = true
show_error_context = true
strict = true
disable_error_code = ["import-untyped"]
-exclude = '(?x)(doc | releasenotes)'
+exclude = "(?x)(doc | releasenotes)"
[[tool.mypy.overrides]]
module = ["oslo_privsep.tests.*", "oslo_privsep.functional.*"]
disallow_untyped_calls = false
disallow_untyped_defs = false
disallow_subclassing_any = false
+
+[tool.ruff]
+line-length = 79
+
+[tool.ruff.format]
+quote-style = "preserve"
+docstring-code-format = true
+
+[tool.ruff.lint]
+select = ["E4", "E5", "E7", "E9", "F", "G", "LOG", "S", "UP"]
+external = ["H"]
+
+[tool.ruff.lint.per-file-ignores]
+"oslo_privsep/tests/*" = ["S101"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_privsep-3.10.1/releasenotes/source/2026.1.rst
new/oslo_privsep-3.11.0/releasenotes/source/2026.1.rst
--- old/oslo_privsep-3.10.1/releasenotes/source/2026.1.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo_privsep-3.11.0/releasenotes/source/2026.1.rst 2026-04-30
15:14:49.000000000 +0200
@@ -0,0 +1,6 @@
+===========================
+2026.1 Series Release Notes
+===========================
+
+.. release-notes::
+ :branch: stable/2026.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_privsep-3.10.1/releasenotes/source/index.rst
new/oslo_privsep-3.11.0/releasenotes/source/index.rst
--- old/oslo_privsep-3.10.1/releasenotes/source/index.rst 2026-02-23
17:27:02.000000000 +0100
+++ new/oslo_privsep-3.11.0/releasenotes/source/index.rst 2026-04-30
15:14:49.000000000 +0200
@@ -6,6 +6,7 @@
:maxdepth: 1
unreleased
+ 2026.1
2025.2
2025.1
2024.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_privsep-3.10.1/requirements.txt
new/oslo_privsep-3.11.0/requirements.txt
--- old/oslo_privsep-3.10.1/requirements.txt 2026-02-23 17:27:02.000000000
+0100
+++ new/oslo_privsep-3.11.0/requirements.txt 2026-04-30 15:14:49.000000000
+0200
@@ -7,7 +7,5 @@
oslo.config>=5.2.0 # Apache-2.0
oslo.utils>=3.33.0 # Apache-2.0
cffi>=1.14.0 # MIT
-eventlet>=0.21.0 # MIT
-greenlet>=0.4.14 # MIT
msgpack>=0.6.0 # Apache-2.0
debtcollector>=3.0.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_privsep-3.10.1/test-requirements.txt
new/oslo_privsep-3.11.0/test-requirements.txt
--- old/oslo_privsep-3.10.1/test-requirements.txt 2026-02-23
17:27:02.000000000 +0100
+++ new/oslo_privsep-3.11.0/test-requirements.txt 2026-04-30
15:14:49.000000000 +0200
@@ -1,3 +1,6 @@
oslotest>=3.2.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
stestr>=2.0.0 # Apache-2.0
+
+eventlet>=0.21.0 # MIT
+greenlet>=0.4.14 # MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_privsep-3.10.1/tox.ini
new/oslo_privsep-3.11.0/tox.ini
--- old/oslo_privsep-3.10.1/tox.ini 2026-02-23 17:27:02.000000000 +0100
+++ new/oslo_privsep-3.11.0/tox.ini 2026-04-30 15:14:49.000000000 +0200
@@ -1,10 +1,11 @@
[tox]
-minversion = 3.18.0
+minversion = 4.28.0
envlist = py3,pypy,pep8
[testenv]
+constraints =
+
{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
deps =
-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
@@ -44,7 +45,6 @@
allowlist_externals =
rm
deps =
-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf releasenotes/build