Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-oslo.utils for 
openSUSE:Factory checked in at 2026-09-08 16:55:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.utils (Old)
 and      /work/SRC/openSUSE:Factory/.python-oslo.utils.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oslo.utils"

Tue Sep  8 16:55:17 2026 rev:40 rq:1376093 version:10.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.utils/python-oslo.utils.changes      
2026-06-15 19:55:05.616729556 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-oslo.utils.new.1265/python-oslo.utils.changes
    2026-09-08 16:57:07.489506827 +0200
@@ -1,0 +2,12 @@
+Mon Sep  7 07:14:25 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 10.2.0:
+  * Replace deprecated datetime.utcfromtimestamp
+  * bindep: Remove stale marker
+  * zuul: Use openstack-python3-next-jobs template
+  * pre-commit: Bump versions
+  * Do not install code to build release notes
+  * Remove unnecessary variable
+  * Drop Python 3.10
+
+-------------------------------------------------------------------

Old:
----
  oslo_utils-10.1.1.tar.gz

New:
----
  oslo_utils-10.2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-oslo.utils.spec ++++++
--- /var/tmp/diff_new_pack.cxPDyq/_old  2026-09-08 16:57:08.886565353 +0200
+++ /var/tmp/diff_new_pack.cxPDyq/_new  2026-09-08 16:57:08.888565436 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-oslo.utils
-Version:        10.1.1
+Version:        10.2.0
 Release:        0
 Summary:        OpenStack Utils Library
 License:        Apache-2.0

++++++ oslo_utils-10.1.1.tar.gz -> oslo_utils-10.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.1.1/.pre-commit-config.yaml 
new/oslo_utils-10.2.0/.pre-commit-config.yaml
--- old/oslo_utils-10.1.1/.pre-commit-config.yaml       2026-06-09 
15:11:33.000000000 +0200
+++ new/oslo_utils-10.2.0/.pre-commit-config.yaml       2026-08-24 
15:55:24.917611100 +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_utils-10.1.1/.zuul.yaml 
new/oslo_utils-10.2.0/.zuul.yaml
--- old/oslo_utils-10.1.1/.zuul.yaml    2026-06-09 15:11:33.000000000 +0200
+++ new/oslo_utils-10.2.0/.zuul.yaml    2026-08-24 15:55:24.918611000 +0200
@@ -1,9 +1,12 @@
+---
+
 - project:
     templates:
       - check-requirements
       - lib-forward-testing-python3
       - openstack-cover-jobs
       - 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_utils-10.1.1/ChangeLog 
new/oslo_utils-10.2.0/ChangeLog
--- old/oslo_utils-10.1.1/ChangeLog     2026-06-09 15:12:27.000000000 +0200
+++ new/oslo_utils-10.2.0/ChangeLog     2026-08-24 15:56:11.057959000 +0200
@@ -1,6 +1,17 @@
 CHANGES
 =======
 
+10.2.0
+------
+
+* Replace deprecated datetime.utcfromtimestamp
+* bindep: Remove stale marker
+* zuul: Use openstack-python3-next-jobs template
+* pre-commit: Bump versions
+* Do not install code to build release notes
+* Remove unnecessary variable
+* Drop Python 3.10
+
 10.1.1
 ------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.1.1/PKG-INFO 
new/oslo_utils-10.2.0/PKG-INFO
--- old/oslo_utils-10.1.1/PKG-INFO      2026-06-09 15:12:27.178795800 +0200
+++ new/oslo_utils-10.2.0/PKG-INFO      2026-08-24 15:56:11.204959400 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: oslo.utils
-Version: 10.1.1
+Version: 10.2.0
 Summary: Oslo Utility library
 Author-email: OpenStack <[email protected]>
 License-Expression: Apache-2.0
@@ -12,12 +12,12 @@
 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: iso8601>=0.1.11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.1.1/bindep.txt 
new/oslo_utils-10.2.0/bindep.txt
--- old/oslo_utils-10.1.1/bindep.txt    2026-06-09 15:11:33.000000000 +0200
+++ new/oslo_utils-10.2.0/bindep.txt    2026-08-24 15:55:24.920611100 +0200
@@ -2,7 +2,7 @@
 # see http://docs.openstack.org/infra/bindep/ for additional information.
 
 locales [platform:debian]
-python3-all-dev [platform:ubuntu !platform:ubuntu-precise]
+python3-all-dev [platform:ubuntu]
 python3-dev [platform:dpkg]
 python3-devel [platform:rpm]
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.1.1/oslo.utils.egg-info/PKG-INFO 
new/oslo_utils-10.2.0/oslo.utils.egg-info/PKG-INFO
--- old/oslo_utils-10.1.1/oslo.utils.egg-info/PKG-INFO  2026-06-09 
15:12:27.000000000 +0200
+++ new/oslo_utils-10.2.0/oslo.utils.egg-info/PKG-INFO  2026-08-24 
15:56:11.121959200 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: oslo.utils
-Version: 10.1.1
+Version: 10.2.0
 Summary: Oslo Utility library
 Author-email: OpenStack <[email protected]>
 License-Expression: Apache-2.0
@@ -12,12 +12,12 @@
 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: iso8601>=0.1.11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.1.1/oslo.utils.egg-info/pbr.json 
new/oslo_utils-10.2.0/oslo.utils.egg-info/pbr.json
--- old/oslo_utils-10.1.1/oslo.utils.egg-info/pbr.json  2026-06-09 
15:12:27.000000000 +0200
+++ new/oslo_utils-10.2.0/oslo.utils.egg-info/pbr.json  2026-08-24 
15:56:11.120959300 +0200
@@ -1 +1 @@
-{"git_version": "2f4896d", "is_release": true}
\ No newline at end of file
+{"git_version": "7019fa5", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.1.1/oslo_utils/excutils.py 
new/oslo_utils-10.2.0/oslo_utils/excutils.py
--- old/oslo_utils-10.1.1/oslo_utils/excutils.py        2026-06-09 
15:11:33.000000000 +0200
+++ new/oslo_utils-10.2.0/oslo_utils/excutils.py        2026-08-24 
15:55:24.924611000 +0200
@@ -26,19 +26,13 @@
 import time
 import traceback
 import types
-from typing import Any, overload, NoReturn, TYPE_CHECKING, TypeVar
+from typing import Any, overload, NoReturn, TypeAlias, TypeVar
 
 from oslo_utils import encodeutils
 from oslo_utils import reflection
 from oslo_utils import timeutils
 
-if TYPE_CHECKING:
-    # Needed until we bump our minimum to Python 3.11
-    #
-    # https://github.com/python/typeshed/issues/7855
-    _LoggerAdapter = logging.LoggerAdapter[logging.Logger]
-else:
-    _LoggerAdapter = logging.LoggerAdapter
+_Logger: TypeAlias = logging.Logger | logging.LoggerAdapter[logging.Logger]
 
 
 LOG = logging.getLogger(__name__)
@@ -209,7 +203,7 @@
     def __init__(
         self,
         reraise: bool = True,
-        logger: logging.Logger | _LoggerAdapter | None = None,
+        logger: _Logger | None = None,
     ) -> None:
         self.reraise = reraise
         self.logger = logger or LOG
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.1.1/oslo_utils/tests/test_timeutils.py 
new/oslo_utils-10.2.0/oslo_utils/tests/test_timeutils.py
--- old/oslo_utils-10.1.1/oslo_utils/tests/test_timeutils.py    2026-06-09 
15:11:33.000000000 +0200
+++ new/oslo_utils-10.2.0/oslo_utils/tests/test_timeutils.py    2026-08-24 
15:55:24.957611000 +0200
@@ -153,7 +153,10 @@
 
     def test_utcnow_ts(self):
         skynet_self_aware_ts = 872835240
-        skynet_dt = datetime.datetime.utcfromtimestamp(skynet_self_aware_ts)
+        skynet_dt = datetime.datetime.fromtimestamp(
+            skynet_self_aware_ts,
+            tz=datetime.UTC,
+        ).replace(tzinfo=None)
         self.assertEqual(self.skynet_self_aware_time, skynet_dt)
 
         # NOTE(kgriffs): timeutils.utcnow_ts() uses time.time()
@@ -210,12 +213,12 @@
             year=2015,
             hour=23,
             minute=59,
-            second=timeutils._MAX_DATETIME_SEC + 1,
+            second=60,
             microsecond=0,
         )
         leap_time = timeutils.unmarshall_time(leap_dict)
 
-        leap_dict.update(second=timeutils._MAX_DATETIME_SEC)
+        leap_dict.update(second=60)
         expected = timeutils.unmarshall_time(leap_dict)
 
         self.assertEqual(expected, leap_time)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.1.1/oslo_utils/timeutils.py 
new/oslo_utils-10.2.0/oslo_utils/timeutils.py
--- old/oslo_utils-10.1.1/oslo_utils/timeutils.py       2026-06-09 
15:11:33.000000000 +0200
+++ new/oslo_utils-10.2.0/oslo_utils/timeutils.py       2026-08-24 
15:55:24.962611000 +0200
@@ -26,7 +26,7 @@
 import logging
 import time
 import types
-from typing import TYPE_CHECKING, Any, Literal, overload
+from typing import Any, Literal, Self, TypeAlias, overload
 import warnings
 import zoneinfo
 
@@ -34,21 +34,11 @@
 
 from oslo_utils import reflection
 
-if TYPE_CHECKING:
-    from typing_extensions import Self
-
-    # Needed until we bump our minimum to Python 3.11
-    #
-    # https://github.com/python/typeshed/issues/7855
-    _LoggerAdapter = logging.LoggerAdapter[logging.Logger]
-else:
-    _LoggerAdapter = logging.LoggerAdapter
+_Logger: TypeAlias = logging.Logger | logging.LoggerAdapter[logging.Logger]
 
 # ISO 8601 extended time format with microseconds
 PERFECT_TIME_FORMAT = '%Y-%m-%dT%H:%M:%S.%f'
 
-_MAX_DATETIME_SEC = 59
-
 now = time.monotonic
 
 
@@ -128,7 +118,7 @@
 
     if with_timezone:
         return datetime.datetime.now(tz=iso8601.iso8601.UTC)
-    return datetime.datetime.now(datetime.timezone.utc).replace(tzinfo=None)
+    return datetime.datetime.now(datetime.UTC).replace(tzinfo=None)
 
 
 def is_older_than(
@@ -212,7 +202,7 @@
         stacklevel=2,
     )
     _override_time = override_time or datetime.datetime.now(
-        datetime.timezone.utc
+        datetime.UTC
     ).replace(tzinfo=None)
 
 
@@ -316,7 +306,7 @@
     # NOTE(ihrachys): datetime does not support leap seconds,
     # so the best thing we can do for now is dropping them
     # http://bugs.python.org/issue23574
-    second = min(tyme['second'], _MAX_DATETIME_SEC)
+    second = min(tyme['second'], 59)
     dt = datetime.datetime(
         day=tyme['day'],
         month=tyme['month'],
@@ -391,7 +381,7 @@
 
 
 def time_it(
-    logger: logging.Logger | _LoggerAdapter,
+    logger: _Logger,
     log_level: int = logging.DEBUG,
     message: str = (
         "It took %(seconds).02f seconds to run function '%(func_name)s'"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.1.1/pyproject.toml 
new/oslo_utils-10.2.0/pyproject.toml
--- old/oslo_utils-10.1.1/pyproject.toml        2026-06-09 15:11:33.000000000 
+0200
+++ new/oslo_utils-10.2.0/pyproject.toml        2026-08-24 15:55:24.968611000 
+0200
@@ -11,7 +11,7 @@
 readme = {file = "README.rst", content-type = "text/x-rst"}
 license = "Apache-2.0"
 dynamic = ["version", "dependencies"]
-requires-python = ">=3.10"
+requires-python = ">=3.11"
 classifiers = [
     "Environment :: OpenStack",
     "Intended Audience :: Information Technology",
@@ -19,10 +19,10 @@
     "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",
 ]
 
@@ -39,7 +39,7 @@
 ]
 
 [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/oslo_utils-10.1.1/tox.ini 
new/oslo_utils-10.2.0/tox.ini
--- old/oslo_utils-10.1.1/tox.ini       2026-06-09 15:11:33.000000000 +0200
+++ new/oslo_utils-10.2.0/tox.ini       2026-08-24 15:55:24.980611000 +0200
@@ -7,7 +7,6 @@
   
{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
 deps =
   -r{toxinidir}/test-requirements.txt
-  -r{toxinidir}/requirements.txt
 extras = image-inspection
 commands = stestr run --slowest {posargs}
 
@@ -72,6 +71,7 @@
 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,__init__.py
 
 [testenv:releasenotes]
+skip_install = true
 allowlist_externals = rm
 deps =
   {[testenv:docs]deps}

Reply via email to