Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-oslo.rootwrap for
openSUSE:Factory checked in at 2026-08-09 21:34:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.rootwrap (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.rootwrap.new.16738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.rootwrap"
Sun Aug 9 21:34:51 2026 rev:23 rq:1369784 version:7.10.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-oslo.rootwrap/python-oslo.rootwrap.changes
2026-04-17 21:07:08.692958595 +0200
+++
/work/SRC/openSUSE:Factory/.python-oslo.rootwrap.new.16738/python-oslo.rootwrap.changes
2026-08-09 21:37:12.470059409 +0200
@@ -1,0 +2,17 @@
+Wed Aug 5 14:38:30 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 7.10.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
+ * Import eventlet conditionally
+ * Deprecate version module
+ * tox: Use new constraints option
+ * Filter warning from eventlet
+ * Update packaging configuration
+ * ruff: Configure hacking as external linter
+ * Update master for stable/2026.1
+ * Add support for testtools 2.8.x
+
+-------------------------------------------------------------------
Old:
----
oslo_rootwrap-7.9.0.tar.gz
New:
----
oslo_rootwrap-7.10.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.rootwrap.spec ++++++
--- /var/tmp/diff_new_pack.0Cn9UF/_old 2026-08-09 21:37:13.130081883 +0200
+++ /var/tmp/diff_new_pack.0Cn9UF/_new 2026-08-09 21:37:13.130081883 +0200
@@ -17,7 +17,7 @@
Name: python-oslo.rootwrap
-Version: 7.9.0
+Version: 7.10.0
Release: 0
Summary: Filtering shell commands to run as root from OpenStack services
License: Apache-2.0
++++++ oslo_rootwrap-7.9.0.tar.gz -> oslo_rootwrap-7.10.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_rootwrap-7.9.0/.pre-commit-config.yaml
new/oslo_rootwrap-7.10.0/.pre-commit-config.yaml
--- old/oslo_rootwrap-7.9.0/.pre-commit-config.yaml 2026-02-20
17:04:57.000000000 +0100
+++ new/oslo_rootwrap-7.10.0/.pre-commit-config.yaml 2026-07-10
15:10:12.000000000 +0200
@@ -13,13 +13,13 @@
- id: check-yaml
files: .*\.(yaml|yml)$
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.14.8
+ 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_rootwrap-7.9.0/.zuul.yaml
new/oslo_rootwrap-7.10.0/.zuul.yaml
--- old/oslo_rootwrap-7.9.0/.zuul.yaml 2026-02-20 17:04:57.000000000 +0100
+++ new/oslo_rootwrap-7.10.0/.zuul.yaml 2026-07-10 15:10:12.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_rootwrap-7.9.0/AUTHORS
new/oslo_rootwrap-7.10.0/AUTHORS
--- old/oslo_rootwrap-7.9.0/AUTHORS 2026-02-20 17:05:24.000000000 +0100
+++ new/oslo_rootwrap-7.10.0/AUTHORS 2026-07-10 15:11:03.000000000 +0200
@@ -77,6 +77,7 @@
fumihiko kakuma <[email protected]>
howardlee <[email protected]>
jacky06 <[email protected]>
+lajoskatona <[email protected]>
melissaml <[email protected]>
pengyuesheng <[email protected]>
ricolin <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_rootwrap-7.9.0/ChangeLog
new/oslo_rootwrap-7.10.0/ChangeLog
--- old/oslo_rootwrap-7.9.0/ChangeLog 2026-02-20 17:05:24.000000000 +0100
+++ new/oslo_rootwrap-7.10.0/ChangeLog 2026-07-10 15:11:03.000000000 +0200
@@ -1,6 +1,22 @@
CHANGES
=======
+7.10.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
+* Import eventlet conditionally
+* Deprecate version module
+* tox: Use new constraints option
+* Filter warning from eventlet
+* Update packaging configuration
+* ruff: Configure hacking as external linter
+* Update master for stable/2026.1
+* Add support for testtools 2.8.x
+
7.9.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_rootwrap-7.9.0/PKG-INFO
new/oslo_rootwrap-7.10.0/PKG-INFO
--- old/oslo_rootwrap-7.9.0/PKG-INFO 2026-02-20 17:05:24.118427000 +0100
+++ new/oslo_rootwrap-7.10.0/PKG-INFO 2026-07-10 15:11:03.633263300 +0200
@@ -1,25 +1,25 @@
Metadata-Version: 2.4
Name: oslo.rootwrap
-Version: 7.9.0
+Version: 7.10.0
Summary: Oslo Rootwrap
Author-email: OpenStack <[email protected]>
+License-Expression: Apache-2.0
Project-URL: Homepage, https://docs.openstack.org/oslo.rootwrap
Project-URL: Repository, https://opendev.org/openstack/oslo.rootwrap
Classifier: Environment :: OpenStack
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
-Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
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: debtcollector>=3.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_rootwrap-7.9.0/oslo.rootwrap.egg-info/PKG-INFO
new/oslo_rootwrap-7.10.0/oslo.rootwrap.egg-info/PKG-INFO
--- old/oslo_rootwrap-7.9.0/oslo.rootwrap.egg-info/PKG-INFO 2026-02-20
17:05:24.000000000 +0100
+++ new/oslo_rootwrap-7.10.0/oslo.rootwrap.egg-info/PKG-INFO 2026-07-10
15:11:03.000000000 +0200
@@ -1,25 +1,25 @@
Metadata-Version: 2.4
Name: oslo.rootwrap
-Version: 7.9.0
+Version: 7.10.0
Summary: Oslo Rootwrap
Author-email: OpenStack <[email protected]>
+License-Expression: Apache-2.0
Project-URL: Homepage, https://docs.openstack.org/oslo.rootwrap
Project-URL: Repository, https://opendev.org/openstack/oslo.rootwrap
Classifier: Environment :: OpenStack
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
-Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
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: debtcollector>=3.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_rootwrap-7.9.0/oslo.rootwrap.egg-info/SOURCES.txt
new/oslo_rootwrap-7.10.0/oslo.rootwrap.egg-info/SOURCES.txt
--- old/oslo_rootwrap-7.9.0/oslo.rootwrap.egg-info/SOURCES.txt 2026-02-20
17:05:24.000000000 +0100
+++ new/oslo_rootwrap-7.10.0/oslo.rootwrap.egg-info/SOURCES.txt 2026-07-10
15:11:03.000000000 +0200
@@ -50,9 +50,11 @@
oslo_rootwrap/tests/test_rootwrap.py
releasenotes/notes/add_reno-3b4ae0789e9c45b4.yaml
releasenotes/notes/deprecate-eventlet-monkey-patching-462dc9f2929efab1.yaml
+releasenotes/notes/deprecate-version-module-4d6f35c2357af019.yaml
releasenotes/notes/drop-python27-support-a4d3707304c73df6.yaml
releasenotes/notes/file-descriptor-limit-e2b2a3033b9ef21e.yaml
releasenotes/notes/reap-rootwrap-daemon-process-60aebb56d8015484.yaml
+releasenotes/notes/remove-py310-8f09e8882d4e04dd.yaml
releasenotes/notes/remove-py38-6421aa50c25a85c8.yaml
releasenotes/notes/remove-py39-09e98fefdd1966c8.yaml
releasenotes/source/2023.1.rst
@@ -61,6 +63,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/ocata.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_rootwrap-7.9.0/oslo.rootwrap.egg-info/pbr.json
new/oslo_rootwrap-7.10.0/oslo.rootwrap.egg-info/pbr.json
--- old/oslo_rootwrap-7.9.0/oslo.rootwrap.egg-info/pbr.json 2026-02-20
17:05:24.000000000 +0100
+++ new/oslo_rootwrap-7.10.0/oslo.rootwrap.egg-info/pbr.json 2026-07-10
15:11:03.000000000 +0200
@@ -1 +1 @@
-{"git_version": "9337ef8", "is_release": true}
\ No newline at end of file
+{"git_version": "1dd8cca", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_rootwrap-7.9.0/oslo_rootwrap/__init__.py
new/oslo_rootwrap-7.10.0/oslo_rootwrap/__init__.py
--- old/oslo_rootwrap-7.9.0/oslo_rootwrap/__init__.py 2026-02-20
17:04:57.000000000 +0100
+++ new/oslo_rootwrap-7.10.0/oslo_rootwrap/__init__.py 2026-07-10
15:10:12.000000000 +0200
@@ -14,6 +14,7 @@
# under the License.
import os
+import sys
import debtcollector
@@ -21,11 +22,11 @@
'subprocess',
]
-try:
+_patched_socket = False
+
+if 'eventlet' in sys.modules:
import eventlet.patcher
-except ImportError:
- _patched_socket = False
-else:
+
# In tests patching happens later, so we'll rely on environment variable
_patched_socket = eventlet.patcher.is_monkey_patched('socket') or bool(
os.environ.get('TEST_EVENTLET', False)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_rootwrap-7.9.0/oslo_rootwrap/tests/functional_base.py
new/oslo_rootwrap-7.10.0/oslo_rootwrap/tests/functional_base.py
--- old/oslo_rootwrap-7.9.0/oslo_rootwrap/tests/functional_base.py
2026-02-20 17:04:57.000000000 +0100
+++ new/oslo_rootwrap-7.10.0/oslo_rootwrap/tests/functional_base.py
2026-07-10 15:10:12.000000000 +0200
@@ -51,6 +51,8 @@
later_install_cmd: CommandFilter, {self.later_cmd}, root
""")
+ def execute(self, cmd, stdin=None): ...
+
def _test_run_once(self, expect_byte: bool = True) -> None:
code, out, err = self.execute(['echo', 'teststr'])
self.assertEqual(0, code)
@@ -97,7 +99,7 @@
def test_run_as(self):
if os.getuid() != 0:
- self.skip('Test requires root (for setuid)')
+ self.skipTest('Test requires root (for setuid)')
# Should run as 'nobody'
code, out, err = self.execute(['id', '-u'])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_rootwrap-7.9.0/oslo_rootwrap/tests/test_functional.py
new/oslo_rootwrap-7.10.0/oslo_rootwrap/tests/test_functional.py
--- old/oslo_rootwrap-7.9.0/oslo_rootwrap/tests/test_functional.py
2026-02-20 17:04:57.000000000 +0100
+++ new/oslo_rootwrap-7.10.0/oslo_rootwrap/tests/test_functional.py
2026-07-10 15:10:12.000000000 +0200
@@ -31,6 +31,7 @@
import fixtures
from testtools import content
+from testtools import content_type
from oslo_rootwrap import client
from oslo_rootwrap import cmd
@@ -111,13 +112,13 @@
self.addDetail(
'daemon_log',
content.Content(
- content.UTF8_TEXT, lambda: [daemon_log.getvalue()]
+ content_type.UTF8_TEXT, lambda: [daemon_log.getvalue()]
),
)
self.addDetail(
'client_log',
content.Content(
- content.UTF8_TEXT,
+ content_type.UTF8_TEXT,
lambda: [client_log.getvalue().encode('utf-8')],
),
)
@@ -134,7 +135,8 @@
assert self.client._finalize is not None # narrow type
self.client._finalize()
- self.execute = self.client.execute
+ def execute(self, cmd, stdin=None):
+ return self.client.execute(cmd, stdin=stdin)
def test_run_once(self):
self._test_run_once(expect_byte=False)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_rootwrap-7.9.0/oslo_rootwrap/tests/test_functional_eventlet.py
new/oslo_rootwrap-7.10.0/oslo_rootwrap/tests/test_functional_eventlet.py
--- old/oslo_rootwrap-7.9.0/oslo_rootwrap/tests/test_functional_eventlet.py
2026-02-20 17:04:57.000000000 +0100
+++ new/oslo_rootwrap-7.10.0/oslo_rootwrap/tests/test_functional_eventlet.py
2026-07-10 15:10:12.000000000 +0200
@@ -20,6 +20,13 @@
eventlet.monkey_patch()
+ import oslo_rootwrap
+
+ oslo_rootwrap._patched_socket = True
+ from eventlet.green import subprocess
+
+ oslo_rootwrap.subprocess = subprocess
+
from oslo_rootwrap.tests import test_functional
class RootwrapDaemonTest(test_functional.RootwrapDaemonTest):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_rootwrap-7.9.0/oslo_rootwrap/version.py
new/oslo_rootwrap-7.10.0/oslo_rootwrap/version.py
--- old/oslo_rootwrap-7.9.0/oslo_rootwrap/version.py 2026-02-20
17:04:57.000000000 +0100
+++ new/oslo_rootwrap-7.10.0/oslo_rootwrap/version.py 2026-07-10
15:10:12.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.rootwrap')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_rootwrap-7.9.0/pyproject.toml
new/oslo_rootwrap-7.10.0/pyproject.toml
--- old/oslo_rootwrap-7.9.0/pyproject.toml 2026-02-20 17:04:57.000000000
+0100
+++ new/oslo_rootwrap-7.10.0/pyproject.toml 2026-07-10 15:10:12.000000000
+0200
@@ -9,20 +9,20 @@
authors = [
{name = "OpenStack", email = "[email protected]"},
]
-requires-python = ">=3.10"
+license = "Apache-2.0"
+requires-python = ">=3.11"
dynamic = ["version", "dependencies"]
classifiers = [
"Environment :: OpenStack",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
- "License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"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",
@@ -36,8 +36,22 @@
oslo-rootwrap = "oslo_rootwrap.cmd:main"
oslo-rootwrap-daemon = "oslo_rootwrap.cmd:daemon"
-[tool.setuptools]
-packages = ["oslo_rootwrap"]
+[tool.setuptools.packages.find]
+include = ["oslo_rootwrap"]
+
+[tool.mypy]
+python_version = "3.11"
+show_column_numbers = true
+show_error_context = true
+strict = true
+disable_error_code = ["import-untyped"]
+exclude = "(?x)(doc | releasenotes)"
+
+[[tool.mypy.overrides]]
+module = ["oslo_rootwrap.tests.*"]
+disallow_untyped_calls = false
+disallow_untyped_defs = false
+disallow_subclassing_any = false
[tool.ruff]
line-length = 79
@@ -48,21 +62,8 @@
[tool.ruff.lint]
select = ["E4", "E5", "E7", "E9", "F", "G", "LOG", "S", "UP"]
+external = ["H"]
ignore = ["S101"]
[tool.ruff.lint.per-file-ignores]
"benchmark/benchmark.py" = ["S"]
-
-[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)"
-
-[[tool.mypy.overrides]]
-module = ["oslo_rootwrap.tests.*"]
-disallow_untyped_calls = false
-disallow_untyped_defs = false
-disallow_subclassing_any = false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_rootwrap-7.9.0/releasenotes/notes/deprecate-version-module-4d6f35c2357af019.yaml
new/oslo_rootwrap-7.10.0/releasenotes/notes/deprecate-version-module-4d6f35c2357af019.yaml
---
old/oslo_rootwrap-7.9.0/releasenotes/notes/deprecate-version-module-4d6f35c2357af019.yaml
1970-01-01 01:00:00.000000000 +0100
+++
new/oslo_rootwrap-7.10.0/releasenotes/notes/deprecate-version-module-4d6f35c2357af019.yaml
2026-07-10 15:10:12.000000000 +0200
@@ -0,0 +1,6 @@
+---
+deprecations:
+ - |
+ The ``oslo_rootwrap.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_rootwrap-7.9.0/releasenotes/notes/remove-py310-8f09e8882d4e04dd.yaml
new/oslo_rootwrap-7.10.0/releasenotes/notes/remove-py310-8f09e8882d4e04dd.yaml
---
old/oslo_rootwrap-7.9.0/releasenotes/notes/remove-py310-8f09e8882d4e04dd.yaml
1970-01-01 01:00:00.000000000 +0100
+++
new/oslo_rootwrap-7.10.0/releasenotes/notes/remove-py310-8f09e8882d4e04dd.yaml
2026-07-10 15:10:12.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_rootwrap-7.9.0/releasenotes/source/2026.1.rst
new/oslo_rootwrap-7.10.0/releasenotes/source/2026.1.rst
--- old/oslo_rootwrap-7.9.0/releasenotes/source/2026.1.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo_rootwrap-7.10.0/releasenotes/source/2026.1.rst 2026-07-10
15:10:12.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_rootwrap-7.9.0/releasenotes/source/index.rst
new/oslo_rootwrap-7.10.0/releasenotes/source/index.rst
--- old/oslo_rootwrap-7.9.0/releasenotes/source/index.rst 2026-02-20
17:04:57.000000000 +0100
+++ new/oslo_rootwrap-7.10.0/releasenotes/source/index.rst 2026-07-10
15:10:12.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_rootwrap-7.9.0/tox.ini
new/oslo_rootwrap-7.10.0/tox.ini
--- old/oslo_rootwrap-7.9.0/tox.ini 2026-02-20 17:04:57.000000000 +0100
+++ new/oslo_rootwrap-7.10.0/tox.ini 2026-07-10 15:10:12.000000000 +0200
@@ -1,12 +1,14 @@
[tox]
-minversion = 3.18.0
+minversion = 4.28.0
envlist = py3,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}/test-requirements.txt
- -r{toxinidir}/requirements.txt
+setenv =
+ EVENTLET_TESTS=1
# Functional tests with Eventlet involve monkeypatching, so force them to be
# run in a separate process
allowlist_externals = env
@@ -15,17 +17,19 @@
env TEST_EVENTLET=1 stestr run --slowest tests.test_functional_eventlet
[testenv:cover]
-deps = {[testenv]deps}
- coverage
+deps =
+ {[testenv]deps}
+ coverage
setenv =
- PYTHON=coverage run --source oslo_rootwrap --parallel-mode
+ {[testenv]setenv}
+ PYTHON=coverage run --source oslo_rootwrap --parallel-mode
commands =
- coverage erase
- stestr run {posargs}
- coverage combine
- coverage html -d cover
- coverage xml -o cover/coverage.xml
- coverage report --show-missing
+ coverage erase
+ stestr run {posargs}
+ coverage combine
+ coverage html -d cover
+ coverage xml -o cover/coverage.xml
+ coverage report --show-missing
[testenv:venv]
commands = {posargs}
@@ -37,17 +41,15 @@
[testenv:docs]
allowlist_externals = rm
deps =
-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands =
rm -fr doc/build
sphinx-build -W --keep-going -b html doc/source doc/build/html
[testenv:releasenotes]
+skip_install = true
allowlist_externals = rm
-deps =
-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
- -r{toxinidir}/doc/requirements.txt
+deps = {[testenv:docs]deps}
commands =
rm -rf releasenotes/build
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html
releasenotes/source releasenotes/build/html