Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-oslo.serialization for
openSUSE:Factory checked in at 2026-05-19 17:48:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.serialization (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.serialization.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.serialization"
Tue May 19 17:48:29 2026 rev:26 rq:1353874 version:5.10.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-oslo.serialization/python-oslo.serialization.changes
2026-03-23 17:17:34.760182861 +0100
+++
/work/SRC/openSUSE:Factory/.python-oslo.serialization.new.1966/python-oslo.serialization.changes
2026-05-19 17:48:47.296689475 +0200
@@ -1,0 +2,12 @@
+Mon May 18 17:00:09 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 5.10.0:
+ * tox: Use new constraints option
+ * Add handling of Decimal format
+ * Update packaging configuration
+ * ruff: Configure hacking as external linter
+ * Don't iterate over addresses in netaddr.IPRange
+ * Add back tzdata
+ * Update master for stable/2026.1
+
+-------------------------------------------------------------------
Old:
----
oslo_serialization-5.9.1.tar.gz
New:
----
oslo_serialization-5.10.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.serialization.spec ++++++
--- /var/tmp/diff_new_pack.NMnkn6/_old 2026-05-19 17:48:48.256729188 +0200
+++ /var/tmp/diff_new_pack.NMnkn6/_new 2026-05-19 17:48:48.260729353 +0200
@@ -17,7 +17,7 @@
Name: python-oslo.serialization
-Version: 5.9.1
+Version: 5.10.0
Release: 0
Summary: OpenStack serialization library
License: Apache-2.0
@@ -25,12 +25,14 @@
URL: https://docs.openstack.org/oslo.serialization
Source0:
https://files.pythonhosted.org/packages/source/o/oslo_serialization/oslo_serialization-%{version}.tar.gz
BuildRequires: %{python_module msgpack >= 0.5.2}
-BuildRequires: %{python_module netaddr}
-BuildRequires: %{python_module oslo.i18n}
+BuildRequires: %{python_module netaddr >= 0.7.18}
+BuildRequires: %{python_module oslo.i18n >= 3.15.3}
BuildRequires: %{python_module oslo.utils >= 3.33.0}
-BuildRequires: %{python_module oslotest}
+BuildRequires: %{python_module oslotest >= 3.2.0}
+BuildRequires: %{python_module pbr >= 6.1.1}
BuildRequires: %{python_module pip}
-BuildRequires: %{python_module stestr}
+BuildRequires: %{python_module stestr >= 2.0.0}
+BuildRequires: %{python_module tzdata >= 2022.4}
BuildRequires: %{python_module wheel}
BuildRequires: openstack-macros
Requires: python-msgpack >= 0.5.2
++++++ oslo_serialization-5.9.1.tar.gz -> oslo_serialization-5.10.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_serialization-5.9.1/AUTHORS
new/oslo_serialization-5.10.0/AUTHORS
--- old/oslo_serialization-5.9.1/AUTHORS 2026-02-17 16:46:10.000000000
+0100
+++ new/oslo_serialization-5.10.0/AUTHORS 2026-05-18 11:18:01.000000000
+0200
@@ -53,6 +53,7 @@
Matt Riedemann <[email protected]>
Mehdi Abaakouk <[email protected]>
Mike Heald <[email protected]>
+Miro Tomaska <[email protected]>
Moisés Guimarães de Medeiros <[email protected]>
Monty Taylor <[email protected]>
Morgan <[email protected]>
@@ -83,6 +84,7 @@
Zhongyue Luo <[email protected]>
avnish <[email protected]>
caoyuan <[email protected]>
+chung00-lee <[email protected]>
gecong1973 <[email protected]>
gujin <[email protected]>
jacky06 <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_serialization-5.9.1/ChangeLog
new/oslo_serialization-5.10.0/ChangeLog
--- old/oslo_serialization-5.9.1/ChangeLog 2026-02-17 16:46:10.000000000
+0100
+++ new/oslo_serialization-5.10.0/ChangeLog 2026-05-18 11:18:01.000000000
+0200
@@ -1,6 +1,17 @@
CHANGES
=======
+5.10.0
+------
+
+* tox: Use new constraints option
+* Add handling of Decimal format
+* Update packaging configuration
+* ruff: Configure hacking as external linter
+* Don't iterate over addresses in netaddr.IPRange
+* Add back tzdata
+* Update master for stable/2026.1
+
5.9.1
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_serialization-5.9.1/PKG-INFO
new/oslo_serialization-5.10.0/PKG-INFO
--- old/oslo_serialization-5.9.1/PKG-INFO 2026-02-17 16:46:10.575535500
+0100
+++ new/oslo_serialization-5.10.0/PKG-INFO 2026-05-18 11:18:01.456874100
+0200
@@ -1,14 +1,14 @@
Metadata-Version: 2.4
Name: oslo.serialization
-Version: 5.9.1
+Version: 5.10.0
Summary: Oslo Serialization library
Author-email: OpenStack <[email protected]>
+License-Expression: Apache-2.0
Project-URL: Homepage, https://docs.openstack.org/oslo.serialization
Project-URL: Repository, https://opendev.org/openstack/oslo.serialization
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_serialization-5.9.1/oslo.serialization.egg-info/PKG-INFO
new/oslo_serialization-5.10.0/oslo.serialization.egg-info/PKG-INFO
--- old/oslo_serialization-5.9.1/oslo.serialization.egg-info/PKG-INFO
2026-02-17 16:46:10.000000000 +0100
+++ new/oslo_serialization-5.10.0/oslo.serialization.egg-info/PKG-INFO
2026-05-18 11:18:01.000000000 +0200
@@ -1,14 +1,14 @@
Metadata-Version: 2.4
Name: oslo.serialization
-Version: 5.9.1
+Version: 5.10.0
Summary: Oslo Serialization library
Author-email: OpenStack <[email protected]>
+License-Expression: Apache-2.0
Project-URL: Homepage, https://docs.openstack.org/oslo.serialization
Project-URL: Repository, https://opendev.org/openstack/oslo.serialization
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_serialization-5.9.1/oslo.serialization.egg-info/SOURCES.txt
new/oslo_serialization-5.10.0/oslo.serialization.egg-info/SOURCES.txt
--- old/oslo_serialization-5.9.1/oslo.serialization.egg-info/SOURCES.txt
2026-02-17 16:46:10.000000000 +0100
+++ new/oslo_serialization-5.10.0/oslo.serialization.egg-info/SOURCES.txt
2026-05-18 11:18:01.000000000 +0200
@@ -60,6 +60,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_serialization-5.9.1/oslo.serialization.egg-info/pbr.json
new/oslo_serialization-5.10.0/oslo.serialization.egg-info/pbr.json
--- old/oslo_serialization-5.9.1/oslo.serialization.egg-info/pbr.json
2026-02-17 16:46:10.000000000 +0100
+++ new/oslo_serialization-5.10.0/oslo.serialization.egg-info/pbr.json
2026-05-18 11:18:01.000000000 +0200
@@ -1 +1 @@
-{"git_version": "544091c", "is_release": true}
\ No newline at end of file
+{"git_version": "cd64272", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_serialization-5.9.1/oslo_serialization/jsonutils.py
new/oslo_serialization-5.10.0/oslo_serialization/jsonutils.py
--- old/oslo_serialization-5.9.1/oslo_serialization/jsonutils.py
2026-02-17 16:45:42.000000000 +0100
+++ new/oslo_serialization-5.10.0/oslo_serialization/jsonutils.py
2026-05-18 11:17:17.000000000 +0200
@@ -29,6 +29,7 @@
import codecs
from collections.abc import Callable
import datetime
+import decimal
import functools
import inspect
import io
@@ -147,7 +148,9 @@
if isinstance(value, uuid.UUID):
return str(value)
- if netaddr and isinstance(value, (netaddr.IPAddress, netaddr.IPNetwork)):
+ if netaddr and isinstance(
+ value, (netaddr.IPAddress, netaddr.IPNetwork, netaddr.IPRange)
+ ):
return str(value)
if ipaddress and isinstance(
@@ -155,6 +158,9 @@
):
return str(value)
+ if isinstance(value, decimal.Decimal):
+ return str(value)
+
# For exceptions, return the 'repr' of the exception object
if isinstance(value, Exception):
return repr(value)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_serialization-5.9.1/oslo_serialization/msgpackutils.py
new/oslo_serialization-5.10.0/oslo_serialization/msgpackutils.py
--- old/oslo_serialization-5.9.1/oslo_serialization/msgpackutils.py
2026-02-17 16:45:42.000000000 +0100
+++ new/oslo_serialization-5.10.0/oslo_serialization/msgpackutils.py
2026-05-18 11:17:17.000000000 +0200
@@ -36,7 +36,7 @@
from xmlrpc import client as xmlrpclib
import zoneinfo
-import msgpack # type: ignore
+import msgpack
from oslo_serialization._types import ReadableStream, SupportsWrite
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_serialization-5.9.1/oslo_serialization/tests/test_base64.py
new/oslo_serialization-5.10.0/oslo_serialization/tests/test_base64.py
--- old/oslo_serialization-5.9.1/oslo_serialization/tests/test_base64.py
2026-02-17 16:45:42.000000000 +0100
+++ new/oslo_serialization-5.10.0/oslo_serialization/tests/test_base64.py
2026-05-18 11:17:17.000000000 +0200
@@ -14,7 +14,7 @@
# under the License.
from oslo_serialization import base64
-from oslotest import base as test_base # type: ignore
+from oslotest import base as test_base
class Base64Tests(test_base.BaseTestCase):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_serialization-5.9.1/oslo_serialization/tests/test_jsonutils.py
new/oslo_serialization-5.10.0/oslo_serialization/tests/test_jsonutils.py
--- old/oslo_serialization-5.9.1/oslo_serialization/tests/test_jsonutils.py
2026-02-17 16:45:42.000000000 +0100
+++ new/oslo_serialization-5.10.0/oslo_serialization/tests/test_jsonutils.py
2026-05-18 11:17:17.000000000 +0200
@@ -16,6 +16,7 @@
import collections
import collections.abc
import datetime
+import decimal
import functools
import io
import ipaddress
@@ -27,7 +28,7 @@
import netaddr
from oslo_i18n import fixture
-from oslotest import base as test_base # type: ignore
+from oslotest import base as test_base
from oslo_serialization import jsonutils
@@ -331,6 +332,16 @@
ret = jsonutils.to_primitive(thing)
self.assertEqual({'ip_net': '1.2.3.0/24'}, ret)
+ def test_iprange_using_netaddr(self):
+ thing = {'ip_range': netaddr.IPRange("aaaa::1", "aaaa::ffff")}
+ ret = jsonutils.to_primitive(thing)
+ self.assertEqual({'ip_range': 'aaaa::1-aaaa::ffff'}, ret)
+
+ def test_decimal(self):
+ thing = {"decimal": decimal.Decimal('1.0')}
+ ret = jsonutils.to_primitive(thing)
+ self.assertEqual({'decimal': '1.0'}, ret)
+
def test_message_with_param(self):
msg = self.trans_fixture.lazy('A message with param: %s')
msg = msg % 'test_domain'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_serialization-5.9.1/oslo_serialization/tests/test_msgpackutils.py
new/oslo_serialization-5.10.0/oslo_serialization/tests/test_msgpackutils.py
--- old/oslo_serialization-5.9.1/oslo_serialization/tests/test_msgpackutils.py
2026-02-17 16:45:42.000000000 +0100
+++ new/oslo_serialization-5.10.0/oslo_serialization/tests/test_msgpackutils.py
2026-05-18 11:17:17.000000000 +0200
@@ -18,7 +18,7 @@
import zoneinfo
import netaddr
-from oslotest import base as test_base # type: ignore
+from oslotest import base as test_base
from oslo_serialization import msgpackutils
from oslo_utils import uuidutils
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_serialization-5.9.1/pyproject.toml
new/oslo_serialization-5.10.0/pyproject.toml
--- old/oslo_serialization-5.9.1/pyproject.toml 2026-02-17 16:45:42.000000000
+0100
+++ new/oslo_serialization-5.10.0/pyproject.toml 2026-05-18
11:17:17.000000000 +0200
@@ -9,13 +9,13 @@
authors = [
{name = "OpenStack", email = "[email protected]"},
]
+license = "Apache-2.0"
requires-python = ">=3.10"
dynamic = ["version", "dependencies"]
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",
@@ -32,16 +32,16 @@
Homepage = "https://docs.openstack.org/oslo.serialization"
Repository = "https://opendev.org/openstack/oslo.serialization"
-[tool.setuptools]
-packages = ["oslo_serialization"]
+[tool.setuptools.packages.find]
+include = ["oslo_serialization"]
[tool.mypy]
python_version = "3.10"
show_column_numbers = true
show_error_context = true
strict = true
-# ignore_missing_imports = true
-exclude = '(?x)(doc | examples | releasenotes)'
+disable_error_code = ["import-untyped"]
+exclude = "(?x)(doc | examples | releasenotes)"
[[tool.mypy.overrides]]
module = ["oslo_serialization.tests.*"]
@@ -59,6 +59,7 @@
[tool.ruff.lint]
select = ["E4", "E5", "E7", "E9", "F", "G", "LOG", "S", "UP"]
+external = ["H"]
ignore = [
# we only use asserts for type narrowing
"S101",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo_serialization-5.9.1/releasenotes/source/2026.1.rst
new/oslo_serialization-5.10.0/releasenotes/source/2026.1.rst
--- old/oslo_serialization-5.9.1/releasenotes/source/2026.1.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo_serialization-5.10.0/releasenotes/source/2026.1.rst
2026-05-18 11:17:17.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_serialization-5.9.1/releasenotes/source/index.rst
new/oslo_serialization-5.10.0/releasenotes/source/index.rst
--- old/oslo_serialization-5.9.1/releasenotes/source/index.rst 2026-02-17
16:45:42.000000000 +0100
+++ new/oslo_serialization-5.10.0/releasenotes/source/index.rst 2026-05-18
11:17:17.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_serialization-5.9.1/test-requirements.txt
new/oslo_serialization-5.10.0/test-requirements.txt
--- old/oslo_serialization-5.9.1/test-requirements.txt 2026-02-17
16:45:42.000000000 +0100
+++ new/oslo_serialization-5.10.0/test-requirements.txt 2026-05-18
11:17:17.000000000 +0200
@@ -3,3 +3,4 @@
oslotest>=3.2.0 # Apache-2.0
oslo.i18n>=3.15.3 # Apache-2.0
coverage>=4.0 # Apache-2.0
+tzdata>=2022.4 # MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo_serialization-5.9.1/tox.ini
new/oslo_serialization-5.10.0/tox.ini
--- old/oslo_serialization-5.9.1/tox.ini 2026-02-17 16:45:42.000000000
+0100
+++ new/oslo_serialization-5.10.0/tox.ini 2026-05-18 11:17:17.000000000
+0200
@@ -1,10 +1,11 @@
[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
commands = stestr run --slowest {posargs}
@@ -34,7 +35,7 @@
[testenv:cover]
setenv =
- PYTHON=coverage run --source oslo_serialization --parallel-mode
+ PYTHON=coverage run --source oslo_serialization --parallel-mode
commands =
coverage erase
stestr run {posargs}
@@ -46,7 +47,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