Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-oslo.i18n for 
openSUSE:Factory checked in at 2026-05-19 17:48:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.i18n (Old)
 and      /work/SRC/openSUSE:Factory/.python-oslo.i18n.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oslo.i18n"

Tue May 19 17:48:28 2026 rev:28 rq:1353867 version:6.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.i18n/python-oslo.i18n.changes        
2026-02-23 16:14:31.746231474 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-oslo.i18n.new.1966/python-oslo.i18n.changes  
    2026-05-19 17:48:45.260605251 +0200
@@ -1,0 +2,11 @@
+Mon May 18 16:35:00 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 6.8.0:
+  * typing: Fix type for translate method
+  * tox: Use new constraints option
+  * typing: Fix compat with typed testtools
+  * Update packaging configuration
+  * ruff: Configure hacking as external linter
+  * Update master for stable/2026.1
+
+-------------------------------------------------------------------

Old:
----
  oslo_i18n-6.7.2.tar.gz

New:
----
  oslo_i18n-6.8.0.tar.gz

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

Other differences:
------------------
++++++ python-oslo.i18n.spec ++++++
--- /var/tmp/diff_new_pack.smWiST/_old  2026-05-19 17:48:46.064638511 +0200
+++ /var/tmp/diff_new_pack.smWiST/_new  2026-05-19 17:48:46.064638511 +0200
@@ -17,17 +17,17 @@
 
 
 Name:           python-oslo.i18n
-Version:        6.7.2
+Version:        6.8.0
 Release:        0
 Summary:        OpenStack i18n library
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://docs.openstack.org/oslo.i18n
 Source0:        
https://files.pythonhosted.org/packages/source/o/oslo_i18n/oslo_i18n-%{version}.tar.gz
-BuildRequires:  %{python_module oslotest}
+BuildRequires:  %{python_module oslotest >= 3.2.0}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module stestr}
-BuildRequires:  %{python_module testscenarios}
+BuildRequires:  %{python_module stestr >= 2.0.0}
+BuildRequires:  %{python_module testscenarios >= 0.4}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  openstack-macros
 BuildArch:      noarch
@@ -73,6 +73,6 @@
 %{python_sitelib}/oslo_i18n-%{version}.dist-info
 
 %files -n python-oslo.i18n-doc
-%doc doc/build/html ChangeLog CONTRIBUTING.rst README.rst
+%doc doc/build/html ChangeLog README.rst
 %license LICENSE
 

++++++ oslo_i18n-6.7.2.tar.gz -> oslo_i18n-6.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_i18n-6.7.2/ChangeLog 
new/oslo_i18n-6.8.0/ChangeLog
--- old/oslo_i18n-6.7.2/ChangeLog       2026-02-17 17:06:39.000000000 +0100
+++ new/oslo_i18n-6.8.0/ChangeLog       2026-05-18 11:16:06.000000000 +0200
@@ -1,6 +1,16 @@
 CHANGES
 =======
 
+6.8.0
+-----
+
+* typing: Fix type for translate method
+* tox: Use new constraints option
+* typing: Fix compat with typed testtools
+* Update packaging configuration
+* ruff: Configure hacking as external linter
+* Update master for stable/2026.1
+
 6.7.2
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_i18n-6.7.2/PKG-INFO new/oslo_i18n-6.8.0/PKG-INFO
--- old/oslo_i18n-6.7.2/PKG-INFO        2026-02-17 17:06:39.383791400 +0100
+++ new/oslo_i18n-6.8.0/PKG-INFO        2026-05-18 11:16:06.192944800 +0200
@@ -1,15 +1,14 @@
 Metadata-Version: 2.4
 Name: oslo.i18n
-Version: 6.7.2
+Version: 6.8.0
 Summary: Oslo i18n library
 Author-email: OpenStack <[email protected]>
-License: Apache-2.0
+License-Expression: Apache-2.0
 Project-URL: Homepage, https://docs.openstack.org/oslo.i18n
 Project-URL: Repository, https://opendev.org/openstack/oslo.i18n
 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_i18n-6.7.2/oslo.i18n.egg-info/PKG-INFO 
new/oslo_i18n-6.8.0/oslo.i18n.egg-info/PKG-INFO
--- old/oslo_i18n-6.7.2/oslo.i18n.egg-info/PKG-INFO     2026-02-17 
17:06:39.000000000 +0100
+++ new/oslo_i18n-6.8.0/oslo.i18n.egg-info/PKG-INFO     2026-05-18 
11:16:06.000000000 +0200
@@ -1,15 +1,14 @@
 Metadata-Version: 2.4
 Name: oslo.i18n
-Version: 6.7.2
+Version: 6.8.0
 Summary: Oslo i18n library
 Author-email: OpenStack <[email protected]>
-License: Apache-2.0
+License-Expression: Apache-2.0
 Project-URL: Homepage, https://docs.openstack.org/oslo.i18n
 Project-URL: Repository, https://opendev.org/openstack/oslo.i18n
 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_i18n-6.7.2/oslo.i18n.egg-info/SOURCES.txt 
new/oslo_i18n-6.8.0/oslo.i18n.egg-info/SOURCES.txt
--- old/oslo_i18n-6.7.2/oslo.i18n.egg-info/SOURCES.txt  2026-02-17 
17:06:39.000000000 +0100
+++ new/oslo_i18n-6.8.0/oslo.i18n.egg-info/SOURCES.txt  2026-05-18 
11:16:06.000000000 +0200
@@ -78,6 +78,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_i18n-6.7.2/oslo.i18n.egg-info/pbr.json 
new/oslo_i18n-6.8.0/oslo.i18n.egg-info/pbr.json
--- old/oslo_i18n-6.7.2/oslo.i18n.egg-info/pbr.json     2026-02-17 
17:06:39.000000000 +0100
+++ new/oslo_i18n-6.8.0/oslo.i18n.egg-info/pbr.json     2026-05-18 
11:16:06.000000000 +0200
@@ -1 +1 @@
-{"git_version": "a1a4161", "is_release": true}
\ No newline at end of file
+{"git_version": "2465401", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_i18n-6.7.2/oslo_i18n/_translate.py 
new/oslo_i18n-6.8.0/oslo_i18n/_translate.py
--- old/oslo_i18n-6.7.2/oslo_i18n/_translate.py 2026-02-17 17:05:50.000000000 
+0100
+++ new/oslo_i18n-6.8.0/oslo_i18n/_translate.py 2026-05-18 11:15:31.000000000 
+0200
@@ -14,11 +14,31 @@
 #    License for the specific language governing permissions and limitations
 #    under the License.
 
+from __future__ import annotations
+
+from typing import overload, TypeVar, TYPE_CHECKING
+
+if TYPE_CHECKING:
+    from oslo_i18n import _message
+
 __all__ = [
     'translate',
 ]
 
 
+T = TypeVar('T')
+
+
+@overload
+def translate(
+    obj: _message.Message, desired_locale: str | None = None
+) -> str: ...
+
+
+@overload
+def translate(obj: T, desired_locale: str | None = None) -> T: ...
+
+
 def translate(obj: object, desired_locale: str | None = None) -> object:
     """Gets the translated unicode representation of the given object.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_i18n-6.7.2/oslo_i18n/tests/test_gettextutils.py 
new/oslo_i18n-6.8.0/oslo_i18n/tests/test_gettextutils.py
--- old/oslo_i18n-6.7.2/oslo_i18n/tests/test_gettextutils.py    2026-02-17 
17:05:50.000000000 +0100
+++ new/oslo_i18n-6.8.0/oslo_i18n/tests/test_gettextutils.py    2026-05-18 
11:15:31.000000000 +0200
@@ -103,12 +103,12 @@
         self.assertEqual('en_US', domain_1_languages[0])
         self.assertEqual('en_US', domain_2_languages[0])
 
-        self.assertEqual(5, len(domain_1_languages), domain_1_languages)
+        self.assertEqual(5, len(domain_1_languages), str(domain_1_languages))
         self.assertEqual(
             {'en_US', 'fil_PH', 'en_GB', 'es_ES', 'it'},
             set(domain_1_languages),
         )
-        self.assertEqual(3, len(domain_2_languages), domain_2_languages)
+        self.assertEqual(3, len(domain_2_languages), str(domain_2_languages))
         self.assertEqual({'en_US', 'fr_FR', 'zh_HK'}, set(domain_2_languages))
 
         self.assertEqual(2, len(_gettextutils._AVAILABLE_LANGUAGES))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_i18n-6.7.2/pyproject.toml 
new/oslo_i18n-6.8.0/pyproject.toml
--- old/oslo_i18n-6.7.2/pyproject.toml  2026-02-17 17:05:50.000000000 +0100
+++ new/oslo_i18n-6.8.0/pyproject.toml  2026-05-18 11:15:31.000000000 +0200
@@ -9,14 +9,13 @@
     {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"
 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",
@@ -33,18 +32,16 @@
 Homepage = "https://docs.openstack.org/oslo.i18n";
 Repository = "https://opendev.org/openstack/oslo.i18n";
 
-[tool.setuptools]
-packages = [
-    "oslo_i18n"
-]
+[tool.setuptools.packages.find]
+include = ["oslo_i18n"]
 
 [tool.mypy]
 python_version = "3.10"
 show_column_numbers = true
 show_error_context = true
 strict = true
-ignore_missing_imports = true
-exclude = '(?x)(doc | releasenotes)'
+disable_error_code = ["import-untyped"]
+exclude = "(?x)(doc | releasenotes)"
 
 [[tool.mypy.overrides]]
 module = ["oslo_i18n.tests.*"]
@@ -61,6 +58,7 @@
 
 [tool.ruff.lint]
 select = ["E4", "E5", "E7", "E9", "F", "G", "LOG", "S", "UP"]
+external = ["H"]
 ignore = ["F403"]
 
 [tool.ruff.lint.per-file-ignores]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_i18n-6.7.2/releasenotes/source/2026.1.rst 
new/oslo_i18n-6.8.0/releasenotes/source/2026.1.rst
--- old/oslo_i18n-6.7.2/releasenotes/source/2026.1.rst  1970-01-01 
01:00:00.000000000 +0100
+++ new/oslo_i18n-6.8.0/releasenotes/source/2026.1.rst  2026-05-18 
11:15:31.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_i18n-6.7.2/releasenotes/source/index.rst 
new/oslo_i18n-6.8.0/releasenotes/source/index.rst
--- old/oslo_i18n-6.7.2/releasenotes/source/index.rst   2026-02-17 
17:05:50.000000000 +0100
+++ new/oslo_i18n-6.8.0/releasenotes/source/index.rst   2026-05-18 
11:15:31.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_i18n-6.7.2/tox.ini new/oslo_i18n-6.8.0/tox.ini
--- old/oslo_i18n-6.7.2/tox.ini 2026-02-17 17:05:50.000000000 +0100
+++ new/oslo_i18n-6.8.0/tox.ini 2026-05-18 11:15:31.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}
@@ -56,7 +57,6 @@
 whitelist_externals =
   rm
 deps =
-  
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
   -r{toxinidir}/doc/requirements.txt
 commands =
   rm -rf releasenotes/build

Reply via email to