Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-osc-lib for openSUSE:Factory checked in at 2026-08-09 21:34:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-osc-lib (Old) and /work/SRC/openSUSE:Factory/.python-osc-lib.new.16738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-osc-lib" Sun Aug 9 21:34:57 2026 rev:27 rq:1369791 version:4.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-osc-lib/python-osc-lib.changes 2026-05-19 17:48:26.979849058 +0200 +++ /work/SRC/openSUSE:Factory/.python-osc-lib.new.16738/python-osc-lib.changes 2026-08-09 21:37:20.846344625 +0200 @@ -1,0 +2,17 @@ +Wed Aug 5 14:50:12 UTC 2026 - Dirk Müller <[email protected]> + +- update to 4.7.0: + * zuul: Use openstack-python3-next-jobs template + * pre-commit: Bump versions + * Add assertIsSubset helper + * tox: update to newer constraints syntax + * fix setuptools package find syntax + * Drop support for Python 3.10 + * Remove oslotest + * Drop unused testrepository + * Deprecate version attribute + * Deprecate version module + * test: Set mock on FakeClientManager.auth_ref + * Update packaging configuration + +------------------------------------------------------------------- Old: ---- osc_lib-4.6.0.tar.gz New: ---- osc_lib-4.7.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-osc-lib.spec ++++++ --- /var/tmp/diff_new_pack.rjNPRl/_old 2026-08-09 21:37:21.318360697 +0200 +++ /var/tmp/diff_new_pack.rjNPRl/_new 2026-08-09 21:37:21.318360697 +0200 @@ -17,7 +17,7 @@ Name: python-osc-lib -Version: 4.6.0 +Version: 4.7.0 Release: 0 Summary: OpenStackClient Library License: Apache-2.0 ++++++ osc_lib-4.6.0.tar.gz -> osc_lib-4.7.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc_lib-4.6.0/.pre-commit-config.yaml new/osc_lib-4.7.0/.pre-commit-config.yaml --- old/osc_lib-4.6.0/.pre-commit-config.yaml 2026-05-05 13:36:12.000000000 +0200 +++ new/osc_lib-4.7.0/.pre-commit-config.yaml 2026-07-10 14:55:15.000000000 +0200 @@ -19,13 +19,13 @@ hooks: - id: doc8 - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.8 + rev: v0.15.18 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/osc_lib-4.6.0/.zuul.yaml new/osc_lib-4.7.0/.zuul.yaml --- old/osc_lib-4.6.0/.zuul.yaml 2026-05-05 13:36:12.000000000 +0200 +++ new/osc_lib-4.7.0/.zuul.yaml 2026-07-10 14:55:15.000000000 +0200 @@ -1,8 +1,10 @@ --- + - project: templates: - check-requirements - openstack-python3-jobs + - openstack-python3-next-jobs - osc-tox-unit-tips - publish-openstack-docs-pti - release-notes-jobs-python3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc_lib-4.6.0/ChangeLog new/osc_lib-4.7.0/ChangeLog --- old/osc_lib-4.6.0/ChangeLog 2026-05-05 13:36:39.000000000 +0200 +++ new/osc_lib-4.7.0/ChangeLog 2026-07-10 14:56:04.000000000 +0200 @@ -1,6 +1,22 @@ CHANGES ======= +4.7.0 +----- + +* zuul: Use openstack-python3-next-jobs template +* pre-commit: Bump versions +* Add assertIsSubset helper +* tox: update to newer constraints syntax +* fix setuptools package find syntax +* Drop support for Python 3.10 +* Remove oslotest +* Drop unused testrepository +* Deprecate version attribute +* Deprecate version module +* test: Set mock on FakeClientManager.auth\_ref +* Update packaging configuration + 4.6.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc_lib-4.6.0/PKG-INFO new/osc_lib-4.7.0/PKG-INFO --- old/osc_lib-4.6.0/PKG-INFO 2026-05-05 13:36:39.612447000 +0200 +++ new/osc_lib-4.7.0/PKG-INFO 2026-07-10 14:56:04.541373500 +0200 @@ -1,25 +1,24 @@ Metadata-Version: 2.4 Name: osc-lib -Version: 4.6.0 +Version: 4.7.0 Summary: OpenStackClient Library Author-email: OpenStack <[email protected]> -License: Apache-2.0 +License-Expression: Apache-2.0 Project-URL: Homepage, https://docs.openstack.org/osc-lib/ Project-URL: Repository, https://opendev.org/openstack/osc-lib/ Project-URL: Bug Tracker, https://storyboard.openstack.org/#!/project/openstack/osc-lib Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: OpenStack Classifier: Intended Audience :: Developers -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: Typing :: Typed -Requires-Python: >=3.10 +Requires-Python: >=3.11 Description-Content-Type: text/x-rst License-File: LICENSE Requires-Dist: cliff>=4.9.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc_lib-4.6.0/osc_lib/__init__.py new/osc_lib-4.7.0/osc_lib/__init__.py --- old/osc_lib-4.6.0/osc_lib/__init__.py 2026-05-05 13:36:12.000000000 +0200 +++ new/osc_lib-4.7.0/osc_lib/__init__.py 2026-07-10 14:55:15.000000000 +0200 @@ -9,11 +9,21 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. -# -from osc_lib import version as _version +from typing import cast +import warnings -__all__ = ['__version__'] +from osc_lib import version as _version -__version__ = _version.version_string +def __getattr__(name: str) -> str: + if name == '__version__': + warnings.warn( + "Accessing osc_lib.__version__ is deprecated and will be " + "removed in a future release. Use importlib.metadata instead: " + "importlib.metadata.version('osc-lib')", + DeprecationWarning, + stacklevel=2, + ) + return cast(str, _version.version_string) + raise AttributeError(f"module 'osc_lib' has no attribute {name!r}") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc_lib-4.6.0/osc_lib/test/base.py new/osc_lib-4.7.0/osc_lib/test/base.py --- old/osc_lib-4.6.0/osc_lib/test/base.py 2026-05-05 13:36:12.000000000 +0200 +++ new/osc_lib-4.7.0/osc_lib/test/base.py 2026-07-10 14:55:15.000000000 +0200 @@ -11,7 +11,7 @@ # under the License. import argparse -from collections.abc import Sequence +from collections.abc import Iterable, Sequence import os from typing import Any from unittest import mock @@ -56,6 +56,11 @@ msg = f'method {m} should not have been called' self.fail(msg) + def assertIsSubset( + self, expected: Iterable[Any], actual: Iterable[Any] + ) -> None: + self.assertTrue(set(expected).issubset(set(actual))) + class TestCommand(TestCase): """Test cliff command classes""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc_lib-4.6.0/osc_lib/test/fakes.py new/osc_lib-4.7.0/osc_lib/test/fakes.py --- old/osc_lib-4.6.0/osc_lib/test/fakes.py 2026-05-05 13:36:12.000000000 +0200 +++ new/osc_lib-4.7.0/osc_lib/test/fakes.py 2026-07-10 14:55:15.000000000 +0200 @@ -109,7 +109,7 @@ self.sdk_connection = mock.Mock() self.session = None - self.auth_ref = None + self.auth_ref = mock.Mock() self.auth_plugin_name = None def get_configuration(self) -> dict[str, Any]: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc_lib-4.6.0/osc_lib/version.py new/osc_lib-4.7.0/osc_lib/version.py --- old/osc_lib-4.6.0/osc_lib/version.py 2026-05-05 13:36:12.000000000 +0200 +++ new/osc_lib-4.7.0/osc_lib/version.py 2026-07-10 14:55:15.000000000 +0200 @@ -10,10 +10,17 @@ # License for the specific language governing permissions and limitations # under the License. +import warnings + import pbr.version __all__ = ['version_info', 'version_string'] +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('osc-lib') version_string = version_info.version_string() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc_lib-4.6.0/osc_lib.egg-info/PKG-INFO new/osc_lib-4.7.0/osc_lib.egg-info/PKG-INFO --- old/osc_lib-4.6.0/osc_lib.egg-info/PKG-INFO 2026-05-05 13:36:39.000000000 +0200 +++ new/osc_lib-4.7.0/osc_lib.egg-info/PKG-INFO 2026-07-10 14:56:04.000000000 +0200 @@ -1,25 +1,24 @@ Metadata-Version: 2.4 Name: osc-lib -Version: 4.6.0 +Version: 4.7.0 Summary: OpenStackClient Library Author-email: OpenStack <[email protected]> -License: Apache-2.0 +License-Expression: Apache-2.0 Project-URL: Homepage, https://docs.openstack.org/osc-lib/ Project-URL: Repository, https://opendev.org/openstack/osc-lib/ Project-URL: Bug Tracker, https://storyboard.openstack.org/#!/project/openstack/osc-lib Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: OpenStack Classifier: Intended Audience :: Developers -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: Typing :: Typed -Requires-Python: >=3.10 +Requires-Python: >=3.11 Description-Content-Type: text/x-rst License-File: LICENSE Requires-Dist: cliff>=4.9.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc_lib-4.6.0/osc_lib.egg-info/SOURCES.txt new/osc_lib-4.7.0/osc_lib.egg-info/SOURCES.txt --- old/osc_lib-4.6.0/osc_lib.egg-info/SOURCES.txt 2026-05-05 13:36:39.000000000 +0200 +++ new/osc_lib-4.7.0/osc_lib.egg-info/SOURCES.txt 2026-07-10 14:56:04.000000000 +0200 @@ -97,9 +97,11 @@ releasenotes/notes/bug-2006480-436489d39643e76c.yaml releasenotes/notes/deprecate-BaseAPI-09abd3cb955c2bb6.yaml releasenotes/notes/deprecate-clientcache-38c8c9fd4ca6dcdf.yaml +releasenotes/notes/deprecate-version-module-96e0b7bd1414b2df.yaml releasenotes/notes/deprecated-legacy-client-helpers-53dde79bd6769d2d.yaml releasenotes/notes/direct-openstacksdk-535a179f3c645cc0.yaml releasenotes/notes/drop-py2-support-60c93244107d5778.yaml +releasenotes/notes/drop-python-310-c7e3201cb6d825fb.yaml releasenotes/notes/drop-python-38-39-2cfe64d3c0fc2d97.yaml releasenotes/notes/env-default-e8f2c60f1295d15f.yaml releasenotes/notes/find-project-203bf867619c557e.yaml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc_lib-4.6.0/osc_lib.egg-info/pbr.json new/osc_lib-4.7.0/osc_lib.egg-info/pbr.json --- old/osc_lib-4.6.0/osc_lib.egg-info/pbr.json 2026-05-05 13:36:39.000000000 +0200 +++ new/osc_lib-4.7.0/osc_lib.egg-info/pbr.json 2026-07-10 14:56:04.000000000 +0200 @@ -1 +1 @@ -{"git_version": "7bda488", "is_release": true} \ No newline at end of file +{"git_version": "e588cef", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc_lib-4.6.0/pyproject.toml new/osc_lib-4.7.0/pyproject.toml --- old/osc_lib-4.6.0/pyproject.toml 2026-05-05 13:36:12.000000000 +0200 +++ new/osc_lib-4.7.0/pyproject.toml 2026-07-10 14:55:15.000000000 +0200 @@ -9,21 +9,20 @@ {name = "OpenStack", email = "[email protected]"}, ] readme = {file = "README.rst", content-type = "text/x-rst"} -license = {text = "Apache-2.0"} +license = "Apache-2.0" dynamic = ["version", "dependencies"] -requires-python = ">=3.10" +requires-python = ">=3.11" classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: OpenStack", "Intended Audience :: Developers", - "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", "Typing :: Typed", ] @@ -38,13 +37,11 @@ "testtools>=2.2.0", # MIT ] -[tool.setuptools] -packages = [ - "osc_lib" -] +[tool.setuptools.packages.find] +include = ["osc_lib*"] [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/osc_lib-4.6.0/releasenotes/notes/deprecate-version-module-96e0b7bd1414b2df.yaml new/osc_lib-4.7.0/releasenotes/notes/deprecate-version-module-96e0b7bd1414b2df.yaml --- old/osc_lib-4.6.0/releasenotes/notes/deprecate-version-module-96e0b7bd1414b2df.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/osc_lib-4.7.0/releasenotes/notes/deprecate-version-module-96e0b7bd1414b2df.yaml 2026-07-10 14:55:15.000000000 +0200 @@ -0,0 +1,6 @@ +--- +deprecations: + - | + The ``osc_lib.version`` module and ``osc_lib.__version__`` attribute have + 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/osc_lib-4.6.0/releasenotes/notes/drop-python-310-c7e3201cb6d825fb.yaml new/osc_lib-4.7.0/releasenotes/notes/drop-python-310-c7e3201cb6d825fb.yaml --- old/osc_lib-4.6.0/releasenotes/notes/drop-python-310-c7e3201cb6d825fb.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/osc_lib-4.7.0/releasenotes/notes/drop-python-310-c7e3201cb6d825fb.yaml 2026-07-10 14:55:15.000000000 +0200 @@ -0,0 +1,4 @@ +--- +upgrade: + - | + Support for Python 3.10 has been removed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc_lib-4.6.0/test-requirements.txt new/osc_lib-4.7.0/test-requirements.txt --- old/osc_lib-4.6.0/test-requirements.txt 2026-05-05 13:36:12.000000000 +0200 +++ new/osc_lib-4.7.0/test-requirements.txt 2026-07-10 14:55:15.000000000 +0200 @@ -1,8 +1,6 @@ coverage!=4.4,>=4.0 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD -oslotest>=3.2.0 # Apache-2.0 requests-mock>=1.1.0 # Apache-2.0 stestr>=1.0.0 # Apache-2.0 -testrepository>=0.0.18 # Apache-2.0/BSD testtools>=2.2.0 # MIT osprofiler>=1.4.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc_lib-4.6.0/tox.ini new/osc_lib-4.7.0/tox.ini --- old/osc_lib-4.6.0/tox.ini 2026-05-05 13:36:12.000000000 +0200 +++ new/osc_lib-4.7.0/tox.ini 2026-07-10 14:55:15.000000000 +0200 @@ -1,5 +1,5 @@ [tox] -minversion = 3.1 +minversion = 4.28.0 envlist = py3,pep8 [testenv] @@ -7,10 +7,10 @@ OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 +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 commands = stestr run {posargs} @@ -57,7 +57,6 @@ [testenv:docs] deps = - -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/doc/requirements.txt extras = test @@ -69,7 +68,6 @@ [testenv:releasenotes] deps = - -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
