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-04-12 21:14:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.utils (Old)
 and      /work/SRC/openSUSE:Factory/.python-oslo.utils.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oslo.utils"

Sun Apr 12 21:14:01 2026 rev:38 rq:1346232 version:10.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.utils/python-oslo.utils.changes      
2026-03-09 16:11:36.737598012 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-oslo.utils.new.21863/python-oslo.utils.changes
   2026-04-12 21:14:04.560953071 +0200
@@ -1,0 +2,10 @@
+Sun Apr 12 18:52:07 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 10.0.1:
+  * typing: Improve timeutils.StopWatch signature
+  * Fix return type of raise_with_cause
+  * fix force_reraise to be annotated as NoReturn
+  * Update TOX_CONSTRAINTS_FILE for stable/2026.1
+  * Update .gitreview for stable/2026.1
+
+-------------------------------------------------------------------

Old:
----
  oslo_utils-10.0.0.tar.gz

New:
----
  oslo_utils-10.0.1.tar.gz

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

Other differences:
------------------
++++++ python-oslo.utils.spec ++++++
--- /var/tmp/diff_new_pack.hdNm82/_old  2026-04-12 21:14:05.216979825 +0200
+++ /var/tmp/diff_new_pack.hdNm82/_new  2026-04-12 21:14:05.220979988 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-oslo.utils
-Version:        10.0.0
+Version:        10.0.1
 Release:        0
 Summary:        OpenStack Utils Library
 License:        Apache-2.0

++++++ oslo_utils-10.0.0.tar.gz -> oslo_utils-10.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.0.0/AUTHORS 
new/oslo_utils-10.0.1/AUTHORS
--- old/oslo_utils-10.0.0/AUTHORS       2026-02-20 14:44:16.000000000 +0100
+++ new/oslo_utils-10.0.1/AUTHORS       2026-04-08 09:08:26.000000000 +0200
@@ -56,6 +56,7 @@
 Dmitriy Rabotyagov <[email protected]>
 Dmitry Mescheryakov <[email protected]>
 Dolph Mathews <[email protected]>
+Doug Goldstein <[email protected]>
 Doug Hellmann <[email protected]>
 Doug Hellmann <[email protected]>
 Dougal Matthews <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.0.0/ChangeLog 
new/oslo_utils-10.0.1/ChangeLog
--- old/oslo_utils-10.0.0/ChangeLog     2026-02-20 14:44:16.000000000 +0100
+++ new/oslo_utils-10.0.1/ChangeLog     2026-04-08 09:08:26.000000000 +0200
@@ -1,6 +1,15 @@
 CHANGES
 =======
 
+10.0.1
+------
+
+* typing: Improve timeutils.StopWatch signature
+* Fix return type of raise\_with\_cause
+* fix force\_reraise to be annotated as NoReturn
+* Update TOX\_CONSTRAINTS\_FILE for stable/2026.1
+* Update .gitreview for stable/2026.1
+
 10.0.0
 ------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.0.0/PKG-INFO 
new/oslo_utils-10.0.1/PKG-INFO
--- old/oslo_utils-10.0.0/PKG-INFO      2026-02-20 14:44:16.959837700 +0100
+++ new/oslo_utils-10.0.1/PKG-INFO      2026-04-08 09:08:26.709769500 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: oslo.utils
-Version: 10.0.0
+Version: 10.0.1
 Summary: Oslo Utility library
 Author-email: OpenStack <[email protected]>
 License: Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.0.0/oslo.utils.egg-info/PKG-INFO 
new/oslo_utils-10.0.1/oslo.utils.egg-info/PKG-INFO
--- old/oslo_utils-10.0.0/oslo.utils.egg-info/PKG-INFO  2026-02-20 
14:44:16.000000000 +0100
+++ new/oslo_utils-10.0.1/oslo.utils.egg-info/PKG-INFO  2026-04-08 
09:08:26.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: oslo.utils
-Version: 10.0.0
+Version: 10.0.1
 Summary: Oslo Utility library
 Author-email: OpenStack <[email protected]>
 License: Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.0.0/oslo.utils.egg-info/pbr.json 
new/oslo_utils-10.0.1/oslo.utils.egg-info/pbr.json
--- old/oslo_utils-10.0.0/oslo.utils.egg-info/pbr.json  2026-02-20 
14:44:16.000000000 +0100
+++ new/oslo_utils-10.0.1/oslo.utils.egg-info/pbr.json  2026-04-08 
09:08:26.000000000 +0200
@@ -1 +1 @@
-{"git_version": "27156e5", "is_release": true}
\ No newline at end of file
+{"git_version": "8abce4b", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.0.0/oslo_utils/excutils.py 
new/oslo_utils-10.0.1/oslo_utils/excutils.py
--- old/oslo_utils-10.0.0/oslo_utils/excutils.py        2026-02-20 
14:43:26.000000000 +0100
+++ new/oslo_utils-10.0.1/oslo_utils/excutils.py        2026-04-08 
09:07:42.000000000 +0200
@@ -26,7 +26,7 @@
 import time
 import traceback
 import types
-from typing import Any, TYPE_CHECKING
+from typing import Any, TYPE_CHECKING, NoReturn
 
 from oslo_utils import encodeutils
 from oslo_utils import reflection
@@ -129,7 +129,7 @@
 
 def raise_with_cause(
     exc_cls: type[Exception], message: str, *args: Any, **kwargs: Any
-) -> None:
+) -> NoReturn:
     """Helper to raise + chain exceptions (when able) and associate a *cause*.
 
     NOTE(harlowja): Since in py3.x exceptions can be chained (due to
@@ -217,7 +217,7 @@
         self.value: BaseException | None = None
         self.tb: types.TracebackType | None = None
 
-    def force_reraise(self) -> None:
+    def force_reraise(self) -> NoReturn:
         if self.type_ is None and self.value is None:
             raise RuntimeError(
                 "There is no (currently) captured exception"
@@ -231,6 +231,10 @@
                 if self.value.__traceback__ is not self.tb:
                     raise self.value.with_traceback(self.tb)
                 raise self.value
+            raise RuntimeError(
+                "There is no (currently) captured exception"
+                " to force the reraising of"
+            )
         finally:
             self.value = None
             self.tb = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.0.0/oslo_utils/timeutils.py 
new/oslo_utils-10.0.1/oslo_utils/timeutils.py
--- old/oslo_utils-10.0.0/oslo_utils/timeutils.py       2026-02-20 
14:43:26.000000000 +0100
+++ new/oslo_utils-10.0.1/oslo_utils/timeutils.py       2026-04-08 
09:07:42.000000000 +0200
@@ -25,13 +25,17 @@
 import functools
 import logging
 import time
-from typing import Any, Literal, overload
+import types
+from typing import TYPE_CHECKING, Any, Literal, overload
 import zoneinfo
 
 import iso8601
 
 from oslo_utils import reflection
 
+if TYPE_CHECKING:
+    from typing_extensions import Self
+
 # ISO 8601 extended time format with microseconds
 PERFECT_TIME_FORMAT = '%Y-%m-%dT%H:%M:%S.%f'
 
@@ -492,12 +496,17 @@
             elapsed = max(0.0, maximum)
         return elapsed
 
-    def __enter__(self) -> StopWatch:
+    def __enter__(self) -> Self:
         """Starts the watch."""
         self.start()
         return self
 
-    def __exit__(self, type: Any, value: Any, traceback: Any) -> None:
+    def __exit__(
+        self,
+        exc_type: type[BaseException] | None,
+        exc_val: BaseException | None,
+        exc_tb: types.TracebackType | None,
+    ) -> None:
         """Stops the watch (ignoring errors if stop fails)."""
         try:
             self.stop()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_utils-10.0.0/tox.ini 
new/oslo_utils-10.0.1/tox.ini
--- old/oslo_utils-10.0.0/tox.ini       2026-02-20 14:43:26.000000000 +0100
+++ new/oslo_utils-10.0.1/tox.ini       2026-04-08 09:07:42.000000000 +0200
@@ -4,7 +4,7 @@
 
 [testenv]
 deps =
-  
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
+  
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2026.1}
   -r{toxinidir}/test-requirements.txt
   -r{toxinidir}/requirements.txt
 commands = stestr run --slowest {posargs}
@@ -38,7 +38,7 @@
 [testenv:docs]
 allowlist_externals = rm
 deps =
-  
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
+  
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2026.1}
   -r{toxinidir}/doc/requirements.txt
 commands =
   rm -fr doc/build

Reply via email to