Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-oslo.metrics for
openSUSE:Factory checked in at 2026-06-15 19:44:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.metrics (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.metrics.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.metrics"
Mon Jun 15 19:44:30 2026 rev:11 rq:1359323 version:0.16.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.metrics/python-oslo.metrics.changes
2026-03-09 16:11:44.501918956 +0100
+++
/work/SRC/openSUSE:Factory/.python-oslo.metrics.new.1981/python-oslo.metrics.changes
2026-06-15 19:47:56.722736996 +0200
@@ -1,0 +2,11 @@
+Sun Jun 14 20:55:42 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 0.16.0:
+ * tox: Use new constraints option
+ * Use built-in fail method
+ * tests: Drop invalid method
+ * Update packaging configuration
+ * ruff: Configure hacking as external linter
+ * Update master for stable/2026.1
+
+-------------------------------------------------------------------
Old:
----
oslo_metrics-0.15.1.tar.gz
New:
----
oslo_metrics-0.16.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.metrics.spec ++++++
--- /var/tmp/diff_new_pack.qYBWna/_old 2026-06-15 19:47:57.894786247 +0200
+++ /var/tmp/diff_new_pack.qYBWna/_new 2026-06-15 19:47:57.894786247 +0200
@@ -17,7 +17,7 @@
Name: python-oslo.metrics
-Version: 0.15.1
+Version: 0.16.0
Release: 0
Summary: Collect metrics data from other Oslo libraries
License: Apache-2.0
@@ -27,11 +27,11 @@
BuildRequires: %{python_module oslo.config >= 6.9.0}
BuildRequires: %{python_module oslo.log >= 3.44.0}
BuildRequires: %{python_module oslo.utils >= 3.41.0}
-BuildRequires: %{python_module oslotest}
-BuildRequires: %{python_module pbr >= 3.1.1}
+BuildRequires: %{python_module oslotest >= 3.2.0}
+BuildRequires: %{python_module pbr >= 6.1.1}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module prometheus-client >= 0.6.0}
-BuildRequires: %{python_module stestr}
+BuildRequires: %{python_module stestr >= 2.0.0}
BuildRequires: %{python_module wheel}
BuildRequires: openstack-macros
Requires: python-oslo.config >= 6.9.0
++++++ oslo_metrics-0.15.1.tar.gz -> oslo_metrics-0.16.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_metrics-0.15.1/ChangeLog
new/oslo_metrics-0.16.0/ChangeLog
--- old/oslo_metrics-0.15.1/ChangeLog 2026-02-23 17:40:54.000000000 +0100
+++ new/oslo_metrics-0.16.0/ChangeLog 2026-05-18 11:13:18.000000000 +0200
@@ -1,6 +1,16 @@
CHANGES
=======
+0.16.0
+------
+
+* tox: Use new constraints option
+* Use built-in fail method
+* tests: Drop invalid method
+* Update packaging configuration
+* ruff: Configure hacking as external linter
+* Update master for stable/2026.1
+
0.15.1
------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_metrics-0.15.1/PKG-INFO
new/oslo_metrics-0.16.0/PKG-INFO
--- old/oslo_metrics-0.15.1/PKG-INFO 2026-02-23 17:40:54.156673700 +0100
+++ new/oslo_metrics-0.16.0/PKG-INFO 2026-05-18 11:13:18.348798500 +0200
@@ -1,14 +1,14 @@
Metadata-Version: 2.4
Name: oslo.metrics
-Version: 0.15.1
+Version: 0.16.0
Summary: Oslo Metrics library
Author-email: OpenStack <[email protected]>
+License-Expression: Apache-2.0
Project-URL: Homepage, https://docs.openstack.org/oslo.metrics
Project-URL: Repository, https://opendev.org/openstack/oslo.metrics
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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_metrics-0.15.1/oslo.metrics.egg-info/PKG-INFO
new/oslo_metrics-0.16.0/oslo.metrics.egg-info/PKG-INFO
--- old/oslo_metrics-0.15.1/oslo.metrics.egg-info/PKG-INFO 2026-02-23
17:40:54.000000000 +0100
+++ new/oslo_metrics-0.16.0/oslo.metrics.egg-info/PKG-INFO 2026-05-18
11:13:18.000000000 +0200
@@ -1,14 +1,14 @@
Metadata-Version: 2.4
Name: oslo.metrics
-Version: 0.15.1
+Version: 0.16.0
Summary: Oslo Metrics library
Author-email: OpenStack <[email protected]>
+License-Expression: Apache-2.0
Project-URL: Homepage, https://docs.openstack.org/oslo.metrics
Project-URL: Repository, https://opendev.org/openstack/oslo.metrics
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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_metrics-0.15.1/oslo.metrics.egg-info/SOURCES.txt
new/oslo_metrics-0.16.0/oslo.metrics.egg-info/SOURCES.txt
--- old/oslo_metrics-0.15.1/oslo.metrics.egg-info/SOURCES.txt 2026-02-23
17:40:54.000000000 +0100
+++ new/oslo_metrics-0.16.0/oslo.metrics.egg-info/SOURCES.txt 2026-05-18
11:13:18.000000000 +0200
@@ -52,6 +52,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/unreleased.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_metrics-0.15.1/oslo.metrics.egg-info/pbr.json
new/oslo_metrics-0.16.0/oslo.metrics.egg-info/pbr.json
--- old/oslo_metrics-0.15.1/oslo.metrics.egg-info/pbr.json 2026-02-23
17:40:54.000000000 +0100
+++ new/oslo_metrics-0.16.0/oslo.metrics.egg-info/pbr.json 2026-05-18
11:13:18.000000000 +0200
@@ -1 +1 @@
-{"git_version": "f5fba0c", "is_release": true}
\ No newline at end of file
+{"git_version": "12405b3", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_metrics-0.15.1/oslo_metrics/tests/test_message_validation.py
new/oslo_metrics-0.16.0/oslo_metrics/tests/test_message_validation.py
--- old/oslo_metrics-0.15.1/oslo_metrics/tests/test_message_validation.py
2026-02-23 17:40:08.000000000 +0100
+++ new/oslo_metrics-0.16.0/oslo_metrics/tests/test_message_validation.py
2026-05-18 11:12:28.000000000 +0200
@@ -31,12 +31,13 @@
def assertRaisesWithMessage(self, message, func, *args, **kwargs):
try:
func(*args, **kwargs)
- self.assertFail()
except (
message_type.MetricValidationError,
message_type.UnSupportedMetricActionError,
) as e:
self.assertEqual(message, e.message)
+ else:
+ self.fail('failed to raise exception')
def test_message_validation(self):
metric: dict[str, Any] = {}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_metrics-0.15.1/pyproject.toml
new/oslo_metrics-0.16.0/pyproject.toml
--- old/oslo_metrics-0.15.1/pyproject.toml 2026-02-23 17:40:08.000000000
+0100
+++ new/oslo_metrics-0.16.0/pyproject.toml 2026-05-18 11:12:28.000000000
+0200
@@ -9,12 +9,12 @@
authors = [
{name = "OpenStack", email = "[email protected]"},
]
+license = "Apache-2.0"
requires-python = ">=3.10"
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",
@@ -35,8 +35,8 @@
Homepage = "https://docs.openstack.org/oslo.metrics"
Repository = "https://opendev.org/openstack/oslo.metrics"
-[tool.setuptools]
-packages = ["oslo_metrics"]
+[tool.setuptools.packages.find]
+include = ["oslo_metrics"]
[tool.mypy]
python_version = "3.10"
@@ -44,7 +44,7 @@
show_error_context = true
strict = true
disable_error_code = ["import-untyped"]
-exclude = '(?x)(doc | examples | releasenotes)'
+exclude = "(?x)(doc | examples | releasenotes)"
[[tool.mypy.overrides]]
module = ["oslo_metrics.tests.*"]
@@ -56,8 +56,14 @@
[tool.ruff]
line-length = 79
+[tool.ruff.format]
+quote-style = "preserve"
+docstring-code-format = true
+skip-magic-trailing-comma = true
+
[tool.ruff.lint]
select = ["C4", "E4", "E5", "E7", "E9", "F", "S", "UP"]
+external = ["H"]
ignore = [
# we only use asserts for type narrowing
"S101",
@@ -65,8 +71,3 @@
[tool.ruff.lint.per-file-ignores]
"oslo_metrics/tests/*" = ["S"]
-
-[tool.ruff.format]
-quote-style = "preserve"
-docstring-code-format = true
-skip-magic-trailing-comma = true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_metrics-0.15.1/releasenotes/source/2026.1.rst
new/oslo_metrics-0.16.0/releasenotes/source/2026.1.rst
--- old/oslo_metrics-0.15.1/releasenotes/source/2026.1.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo_metrics-0.16.0/releasenotes/source/2026.1.rst 2026-05-18
11:12:28.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_metrics-0.15.1/releasenotes/source/index.rst
new/oslo_metrics-0.16.0/releasenotes/source/index.rst
--- old/oslo_metrics-0.15.1/releasenotes/source/index.rst 2026-02-23
17:40:08.000000000 +0100
+++ new/oslo_metrics-0.16.0/releasenotes/source/index.rst 2026-05-18
11:12:28.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_metrics-0.15.1/tox.ini
new/oslo_metrics-0.16.0/tox.ini
--- old/oslo_metrics-0.15.1/tox.ini 2026-02-23 17:40:08.000000000 +0100
+++ new/oslo_metrics-0.16.0/tox.ini 2026-05-18 11:12:28.000000000 +0200
@@ -1,12 +1,13 @@
[tox]
-minversion = 3.18.0
+minversion = 4.28.0
envlist = py3,pep8
[testenv]
allowlist_externals =
find
+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 =
@@ -38,7 +39,6 @@
[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