Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-os-traits for 
openSUSE:Factory checked in at 2026-06-15 19:44:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-os-traits (Old)
 and      /work/SRC/openSUSE:Factory/.python-os-traits.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-os-traits"

Mon Jun 15 19:44:41 2026 rev:2 rq:1359327 version:3.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-os-traits/python-os-traits.changes        
2026-03-10 17:48:13.974964942 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-os-traits.new.1981/python-os-traits.changes  
    2026-06-15 19:48:08.567234711 +0200
@@ -1,0 +2,8 @@
+Sun Jun 14 21:20:04 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 3.8.0:
+  * Add a new trait for Intel TDX
+  * Deprecate version attribute
+  * Add a new trait for AMD SEV-SNP
+
+-------------------------------------------------------------------

Old:
----
  os_traits-3.6.0.tar.gz

New:
----
  os_traits-3.8.0.tar.gz

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

Other differences:
------------------
++++++ python-os-traits.spec ++++++
--- /var/tmp/diff_new_pack.J1DjxZ/_old  2026-06-15 19:48:09.299265471 +0200
+++ /var/tmp/diff_new_pack.J1DjxZ/_new  2026-06-15 19:48:09.311265976 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-os-traits
-Version:        3.6.0
+Version:        3.8.0
 Release:        0
 Summary:        Library containing standardized trait strings.
 License:        Apache-2.0

++++++ os_traits-3.6.0.tar.gz -> os_traits-3.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os_traits-3.6.0/AUTHORS new/os_traits-3.8.0/AUTHORS
--- old/os_traits-3.6.0/AUTHORS 2026-02-12 15:58:34.000000000 +0100
+++ new/os_traits-3.8.0/AUTHORS 2026-06-09 18:47:01.000000000 +0200
@@ -47,6 +47,7 @@
 Wang Huaqiang <[email protected]>
 Yingxin <[email protected]>
 ZhijunWei <[email protected]>
+antia <[email protected]>
 caoyuan <[email protected]>
 dineshbhor <[email protected]>
 ericxiett <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os_traits-3.6.0/ChangeLog 
new/os_traits-3.8.0/ChangeLog
--- old/os_traits-3.6.0/ChangeLog       2026-02-12 15:58:34.000000000 +0100
+++ new/os_traits-3.8.0/ChangeLog       2026-06-09 18:47:01.000000000 +0200
@@ -1,10 +1,22 @@
 CHANGES
 =======
 
+3.8.0
+-----
+
+* Add a new trait for Intel TDX
+
+3.7.0
+-----
+
+* Deprecate version attribute
+* Add a new trait for AMD SEV-SNP
+
 3.6.0
 -----
 
 * CPU: add traits for new X86 feature "AMX"
+* Remove MANIFEST.in
 * Drop basepython
 
 3.5.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os_traits-3.6.0/MANIFEST.in 
new/os_traits-3.8.0/MANIFEST.in
--- old/os_traits-3.6.0/MANIFEST.in     2026-02-12 15:57:27.000000000 +0100
+++ new/os_traits-3.8.0/MANIFEST.in     1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-include AUTHORS
-include ChangeLog
-exclude .gitignore
-exclude .gitreview
-
-global-exclude *.pyc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os_traits-3.6.0/PKG-INFO new/os_traits-3.8.0/PKG-INFO
--- old/os_traits-3.6.0/PKG-INFO        2026-02-12 15:58:34.142658500 +0100
+++ new/os_traits-3.8.0/PKG-INFO        2026-06-09 18:47:01.154158000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: os-traits
-Version: 3.6.0
+Version: 3.8.0
 Summary: A library containing standardized trait strings
 Home-page: https://docs.openstack.org/os-traits/latest/
 Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os_traits-3.6.0/os_traits/__init__.py 
new/os_traits-3.8.0/os_traits/__init__.py
--- old/os_traits-3.6.0/os_traits/__init__.py   2026-02-12 15:57:27.000000000 
+0100
+++ new/os_traits-3.8.0/os_traits/__init__.py   2026-06-09 18:46:27.000000000 
+0200
@@ -16,6 +16,7 @@
 import pkgutil
 import re
 import sys
+import warnings
 
 import pbr.version
 
@@ -23,7 +24,19 @@
 THIS_LIB = sys.modules[THIS_NAME]
 TEST_DIR = "%s.tests" % THIS_NAME
 
-__version__ = pbr.version.VersionInfo(THIS_NAME).version_string()
+
+def __getattr__(name: str) -> str:
+    if name == '__version__':
+        warnings.warn(
+            "Accessing os_traits.__version__ is deprecated and will be "
+            "removed in a future release. Use importlib.metadata instead: "
+            "importlib.metadata.version('os-traits')",
+            DeprecationWarning,
+            stacklevel=2,
+        )
+        return pbr.version.VersionInfo(THIS_NAME).version_string()
+    raise AttributeError(f"module 'os_traits' has no attribute {name!r}")
+
 
 # Any user-specified feature/trait is prefixed with the custom namespace
 CUSTOM_NAMESPACE = 'CUSTOM_'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os_traits-3.6.0/os_traits/hw/cpu/x86/amd.py 
new/os_traits-3.8.0/os_traits/hw/cpu/x86/amd.py
--- old/os_traits-3.6.0/os_traits/hw/cpu/x86/amd.py     2026-02-12 
15:57:27.000000000 +0100
+++ new/os_traits-3.8.0/os_traits/hw/cpu/x86/amd.py     2026-06-09 
18:46:27.000000000 +0200
@@ -17,6 +17,7 @@
     # ref: https://www.amd.com/en/developer/sev.html
     'SEV',
     'SEV_ES',
+    'SEV_SNP',
     # ref: https://en.wikipedia.org/wiki/AMD-V
     'SVM',
     # ref: https://git.qemu.org/?p=qemu.git;a=blob;f=docs/qemu-cpu-models.texi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os_traits-3.6.0/os_traits/hw/cpu/x86/intel.py 
new/os_traits-3.8.0/os_traits/hw/cpu/x86/intel.py
--- old/os_traits-3.6.0/os_traits/hw/cpu/x86/intel.py   2026-02-12 
15:57:27.000000000 +0100
+++ new/os_traits-3.8.0/os_traits/hw/cpu/x86/intel.py   2026-06-09 
18:46:27.000000000 +0200
@@ -24,4 +24,6 @@
     'SSBD',
     # ref: https://en.wikipedia.org/wiki/VT-x
     'VMX',
+    # ref: https://en.wikipedia.org/wiki/Trust_Domain_Extensions
+    'TDX',
 ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os_traits-3.6.0/os_traits.egg-info/PKG-INFO 
new/os_traits-3.8.0/os_traits.egg-info/PKG-INFO
--- old/os_traits-3.6.0/os_traits.egg-info/PKG-INFO     2026-02-12 
15:58:34.000000000 +0100
+++ new/os_traits-3.8.0/os_traits.egg-info/PKG-INFO     2026-06-09 
18:47:01.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: os-traits
-Version: 3.6.0
+Version: 3.8.0
 Summary: A library containing standardized trait strings
 Home-page: https://docs.openstack.org/os-traits/latest/
 Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os_traits-3.6.0/os_traits.egg-info/SOURCES.txt 
new/os_traits-3.8.0/os_traits.egg-info/SOURCES.txt
--- old/os_traits-3.6.0/os_traits.egg-info/SOURCES.txt  2026-02-12 
15:58:34.000000000 +0100
+++ new/os_traits-3.8.0/os_traits.egg-info/SOURCES.txt  2026-06-09 
18:47:01.000000000 +0200
@@ -5,7 +5,6 @@
 ChangeLog
 HACKING.rst
 LICENSE
-MANIFEST.in
 README.rst
 pyproject.toml
 requirements.txt
@@ -77,6 +76,7 @@
 releasenotes/notes/.placeholder
 releasenotes/notes/add-owner-trait-f33e0e038961cbbd.yaml
 releasenotes/notes/add-suffix-get_traits-d1d91edcf7f65188.yaml
+releasenotes/notes/deprecate-version-attribute-6e9a41e1eee53d19.yaml
 releasenotes/notes/drop-python2-support-d11499973c50713b.yaml
 releasenotes/source/conf.py
 releasenotes/source/index.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os_traits-3.6.0/os_traits.egg-info/pbr.json 
new/os_traits-3.8.0/os_traits.egg-info/pbr.json
--- old/os_traits-3.6.0/os_traits.egg-info/pbr.json     2026-02-12 
15:58:34.000000000 +0100
+++ new/os_traits-3.8.0/os_traits.egg-info/pbr.json     2026-06-09 
18:47:01.000000000 +0200
@@ -1 +1 @@
-{"git_version": "15d22a7", "is_release": true}
\ No newline at end of file
+{"git_version": "5854668", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/os_traits-3.6.0/releasenotes/notes/deprecate-version-attribute-6e9a41e1eee53d19.yaml
 
new/os_traits-3.8.0/releasenotes/notes/deprecate-version-attribute-6e9a41e1eee53d19.yaml
--- 
old/os_traits-3.6.0/releasenotes/notes/deprecate-version-attribute-6e9a41e1eee53d19.yaml
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/os_traits-3.8.0/releasenotes/notes/deprecate-version-attribute-6e9a41e1eee53d19.yaml
    2026-06-09 18:46:27.000000000 +0200
@@ -0,0 +1,6 @@
+---
+deprecations:
+  - |
+    The ``os_traits.__version__`` attribute has been deprecated for removal.
+    Prefer use of ``importlib.metadata`` to inspect version information for
+    installed packages.

Reply via email to