Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-oslo.context"

Tue May 19 17:48:32 2026 rev:26 rq:1353905 version:6.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.context/python-oslo.context.changes  
2026-04-20 16:11:34.753849393 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-oslo.context.new.1966/python-oslo.context.changes
        2026-05-19 17:48:50.944840383 +0200
@@ -1,0 +2,12 @@
+Mon May 18 22:12:28 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 6.4.0:
+  * tox: Use new constraints option
+  * Update packaging configuration
+  * ruff: Configure hacking as external linter
+  * Re-implement the interface to override is_admin check
+  * Update master for stable/2026.1
+  * Ignore errant warning
+  * Parse domain_name header
+
+-------------------------------------------------------------------

Old:
----
  oslo_context-6.3.0.tar.gz

New:
----
  oslo_context-6.4.0.tar.gz

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

Other differences:
------------------
++++++ python-oslo.context.spec ++++++
--- /var/tmp/diff_new_pack.KxuMrl/_old  2026-05-19 17:48:51.748873642 +0200
+++ /var/tmp/diff_new_pack.KxuMrl/_new  2026-05-19 17:48:51.752873808 +0200
@@ -18,19 +18,20 @@
 
 %bcond_without test
 Name:           python-oslo.context
-Version:        6.3.0
+Version:        6.4.0
 Release:        0
 Summary:        OpenStack Oslo context library
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://docs.openstack.org/oslo.context
 Source0:        
https://files.pythonhosted.org/packages/source/o/oslo_context/oslo_context-%{version}.tar.gz
-BuildRequires:  %{python_module pbr >= 2.0.0}
+BuildRequires:  %{python_module pbr >= 6.1.1}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module typing-extensions >= 4.12.0}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  openstack-macros
 BuildArch:      noarch
+Requires:       python-pbr >= 2.0.0
 Requires:       python-typing-extensions >= 4.12.0
 %if "python%{python_nodots_ver}" == "%{primary_python}"
 Obsoletes:      python3-oslo.context < %{version}

++++++ oslo_context-6.3.0.tar.gz -> oslo_context-6.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_context-6.3.0/ChangeLog 
new/oslo_context-6.4.0/ChangeLog
--- old/oslo_context-6.3.0/ChangeLog    2026-02-17 15:59:25.000000000 +0100
+++ new/oslo_context-6.4.0/ChangeLog    2026-05-18 11:18:26.000000000 +0200
@@ -1,6 +1,17 @@
 CHANGES
 =======
 
+6.4.0
+-----
+
+* tox: Use new constraints option
+* Update packaging configuration
+* ruff: Configure hacking as external linter
+* Re-implement the interface to override is\_admin check
+* Update master for stable/2026.1
+* Ignore errant warning
+* Parse domain\_name header
+
 6.3.0
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_context-6.3.0/PKG-INFO 
new/oslo_context-6.4.0/PKG-INFO
--- old/oslo_context-6.3.0/PKG-INFO     2026-02-17 15:59:25.606677500 +0100
+++ new/oslo_context-6.4.0/PKG-INFO     2026-05-18 11:18:26.177809200 +0200
@@ -1,15 +1,14 @@
 Metadata-Version: 2.4
 Name: oslo.context
-Version: 6.3.0
+Version: 6.4.0
 Summary: Oslo Context library
 Author-email: OpenStack <[email protected]>
-License: Apache-2.0
+License-Expression: Apache-2.0
 Project-URL: Homepage, https://docs.openstack.org/oslo.context
 Project-URL: Repository, https://opendev.org/openstack/oslo.context
 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_context-6.3.0/oslo.context.egg-info/PKG-INFO 
new/oslo_context-6.4.0/oslo.context.egg-info/PKG-INFO
--- old/oslo_context-6.3.0/oslo.context.egg-info/PKG-INFO       2026-02-17 
15:59:25.000000000 +0100
+++ new/oslo_context-6.4.0/oslo.context.egg-info/PKG-INFO       2026-05-18 
11:18:26.000000000 +0200
@@ -1,15 +1,14 @@
 Metadata-Version: 2.4
 Name: oslo.context
-Version: 6.3.0
+Version: 6.4.0
 Summary: Oslo Context library
 Author-email: OpenStack <[email protected]>
-License: Apache-2.0
+License-Expression: Apache-2.0
 Project-URL: Homepage, https://docs.openstack.org/oslo.context
 Project-URL: Repository, https://opendev.org/openstack/oslo.context
 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_context-6.3.0/oslo.context.egg-info/SOURCES.txt 
new/oslo_context-6.4.0/oslo.context.egg-info/SOURCES.txt
--- old/oslo_context-6.3.0/oslo.context.egg-info/SOURCES.txt    2026-02-17 
15:59:25.000000000 +0100
+++ new/oslo_context-6.4.0/oslo.context.egg-info/SOURCES.txt    2026-05-18 
11:18:26.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/newton.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_context-6.3.0/oslo.context.egg-info/pbr.json 
new/oslo_context-6.4.0/oslo.context.egg-info/pbr.json
--- old/oslo_context-6.3.0/oslo.context.egg-info/pbr.json       2026-02-17 
15:59:25.000000000 +0100
+++ new/oslo_context-6.4.0/oslo.context.egg-info/pbr.json       2026-05-18 
11:18:26.000000000 +0200
@@ -1 +1 @@
-{"git_version": "45fea5f", "is_release": true}
\ No newline at end of file
+{"git_version": "e192a0e", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_context-6.3.0/oslo_context/context.py 
new/oslo_context-6.4.0/oslo_context/context.py
--- old/oslo_context-6.3.0/oslo_context/context.py      2026-02-17 
15:58:35.000000000 +0100
+++ new/oslo_context-6.4.0/oslo_context/context.py      2026-05-18 
11:18:00.000000000 +0200
@@ -49,6 +49,7 @@
     'user_id': ['HTTP_X_USER_ID', 'HTTP_X_USER'],
     'project_id': ['HTTP_X_PROJECT_ID', 'HTTP_X_TENANT_ID', 'HTTP_X_TENANT'],
     'domain_id': ['HTTP_X_DOMAIN_ID'],
+    'domain_name': ['HTTP_X_DOMAIN_NAME'],
     'system_scope': ['HTTP_OPENSTACK_SYSTEM_SCOPE'],
     'user_domain_id': ['HTTP_X_USER_DOMAIN_ID'],
     'project_domain_id': ['HTTP_X_PROJECT_DOMAIN_ID'],
@@ -232,11 +233,14 @@
         if overwrite or not get_current():
             self.update_store()
 
+    def check_is_admin(self) -> bool | None:
+        """The interface to implement is_admin check according to policy."""
+        return self._is_admin
+
     @property
     def is_admin(self) -> bool | None:
-        # NOTE(tkajinam): Provide the property interface so that additional
-        # mechanism to detect its value from Context instance can be
-        # implemented by override
+        if self._is_admin is None:
+            self._is_admin = self.check_is_admin()
         return self._is_admin
 
     @is_admin.setter
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo_context-6.3.0/oslo_context/tests/test_context.py 
new/oslo_context-6.4.0/oslo_context/tests/test_context.py
--- old/oslo_context-6.3.0/oslo_context/tests/test_context.py   2026-02-17 
15:58:35.000000000 +0100
+++ new/oslo_context-6.4.0/oslo_context/tests/test_context.py   2026-05-18 
11:18:00.000000000 +0200
@@ -38,7 +38,7 @@
         super().setUp()
         self._w = warnings.catch_warnings(record=True)
         self.log = self._w.__enter__()
-        self.addCleanup(self._w.__exit__)
+        self.addCleanup(self._w.__exit__)  # type: ignore
         warnings.simplefilter(self.action, self.category)
 
     def __len__(self):
@@ -248,6 +248,7 @@
             'HTTP_X_USER_ID': user_id,
             'HTTP_X_PROJECT_ID': project_id,
             'HTTP_X_DOMAIN_ID': domain_id,
+            'HTTP_X_DOMAIN_NAME': domain_name,
             'HTTP_X_USER_DOMAIN_ID': user_domain_id,
             'HTTP_X_PROJECT_DOMAIN_ID': project_domain_id,
             'HTTP_X_ROLES': ','.join(roles),
@@ -275,8 +276,9 @@
         self.assertEqual(user_id, ctx.user_id)
         self.assertEqual(user_name, ctx.user_name)
         self.assertEqual(project_id, ctx.project_id)
-        self.assertEqual(domain_id, ctx.domain_id)
         self.assertEqual(project_name, ctx.project_name)
+        self.assertEqual(domain_id, ctx.domain_id)
+        self.assertEqual(domain_name, ctx.domain_name)
         self.assertEqual(user_domain_id, ctx.user_domain_id)
         self.assertEqual(user_domain_name, ctx.user_domain_name)
         self.assertEqual(project_domain_id, ctx.project_domain_id)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_context-6.3.0/pyproject.toml 
new/oslo_context-6.4.0/pyproject.toml
--- old/oslo_context-6.3.0/pyproject.toml       2026-02-17 15:58:35.000000000 
+0100
+++ new/oslo_context-6.4.0/pyproject.toml       2026-05-18 11:18:00.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.context";
 Repository = "https://opendev.org/openstack/oslo.context";
 
-[tool.setuptools]
-packages = [
-    "oslo_context"
-]
+[tool.setuptools.packages.find]
+include = ["oslo_context"]
 
 [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_context.tests.*"]
@@ -61,6 +58,7 @@
 
 [tool.ruff.lint]
 select = ["E4", "E5", "E7", "E9", "F", "G", "LOG", "S", "UP"]
+external = ["H"]
 
 [tool.ruff.lint.per-file-ignores]
 "oslo_context/tests/*" = ["S"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo_context-6.3.0/releasenotes/source/2026.1.rst 
new/oslo_context-6.4.0/releasenotes/source/2026.1.rst
--- old/oslo_context-6.3.0/releasenotes/source/2026.1.rst       1970-01-01 
01:00:00.000000000 +0100
+++ new/oslo_context-6.4.0/releasenotes/source/2026.1.rst       2026-05-18 
11:18:00.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_context-6.3.0/releasenotes/source/index.rst 
new/oslo_context-6.4.0/releasenotes/source/index.rst
--- old/oslo_context-6.3.0/releasenotes/source/index.rst        2026-02-17 
15:58:35.000000000 +0100
+++ new/oslo_context-6.4.0/releasenotes/source/index.rst        2026-05-18 
11:18:00.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_context-6.3.0/tox.ini 
new/oslo_context-6.4.0/tox.ini
--- old/oslo_context-6.3.0/tox.ini      2026-02-17 15:58:35.000000000 +0100
+++ new/oslo_context-6.4.0/tox.ini      2026-05-18 11:18:00.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
 commands = stestr run --slowest {posargs}
 
@@ -32,7 +33,6 @@
 
 [testenv:docs]
 deps =
-  
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
   -r{toxinidir}/doc/requirements.txt
 allowlist_externals = rm
 commands =

Reply via email to