Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pure-protobuf for 
openSUSE:Factory checked in at 2025-09-16 18:18:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pure-protobuf (Old)
 and      /work/SRC/openSUSE:Factory/.python-pure-protobuf.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pure-protobuf"

Tue Sep 16 18:18:58 2025 rev:8 rq:1305125 version:3.1.5

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pure-protobuf/python-pure-protobuf.changes    
    2025-04-03 16:51:17.694456584 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pure-protobuf.new.1977/python-pure-protobuf.changes
      2025-09-16 18:19:47.906631862 +0200
@@ -1,0 +2,6 @@
+Tue Sep 16 09:21:33 UTC 2025 - Richard Rahl <[email protected]>
+
+- update to version 3.1.5:
+  * Support Python 3.10+ union syntax (T | None)
+
+-------------------------------------------------------------------

Old:
----
  python-pure-protobuf-3.1.4.tar.gz
  python-pure-protobuf-tests-3.1.4.tar.gz

New:
----
  python-pure-protobuf-3.1.5.tar.gz
  python-pure-protobuf-tests-3.1.5.tar.gz

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

Other differences:
------------------
++++++ python-pure-protobuf.spec ++++++
--- /var/tmp/diff_new_pack.Ftqa9f/_old  2025-09-16 18:19:48.398652582 +0200
+++ /var/tmp/diff_new_pack.Ftqa9f/_new  2025-09-16 18:19:48.402652750 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pure-protobuf
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-pure-protobuf
-Version:        3.1.4
+Version:        3.1.5
 Release:        0
 Summary:        Protocol Buffers using Python type annotations
 License:        MIT

++++++ python-pure-protobuf-3.1.4.tar.gz -> python-pure-protobuf-3.1.5.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pure_protobuf-3.1.4/PKG-INFO 
new/pure_protobuf-3.1.5/PKG-INFO
--- old/pure_protobuf-3.1.4/PKG-INFO    1970-01-01 01:00:00.000000000 +0100
+++ new/pure_protobuf-3.1.5/PKG-INFO    1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.3
 Name: pure-protobuf
-Version: 3.1.4
+Version: 3.1.5
 Summary: Protocol Buffers using Python type annotations
 License: MIT
 Keywords: protobuf,protocol-buffers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pure_protobuf-3.1.4/pure_protobuf/helpers/_typing.py 
new/pure_protobuf-3.1.5/pure_protobuf/helpers/_typing.py
--- old/pure_protobuf-3.1.4/pure_protobuf/helpers/_typing.py    1970-01-01 
01:00:00.000000000 +0100
+++ new/pure_protobuf-3.1.5/pure_protobuf/helpers/_typing.py    1970-01-01 
01:00:00.000000000 +0100
@@ -8,6 +8,13 @@
 except ImportError:
     NoneType = type(None)  # type: ignore
 
+try:
+    from types import UnionType  # type: ignore
+
+    UNION_TYPES = (Union, UnionType)
+except ImportError:
+    UNION_TYPES = (Union,)  # type: ignore
+
 
 class Sentinel:  # pragma: no cover
     """Sentinel object used for defaults."""
@@ -32,7 +39,7 @@
 
 def extract_optional(hint: Any) -> tuple[Any, bool]:
     """Extract a possible optional flag."""
-    if get_origin(hint) is Union:
+    if get_origin(hint) in UNION_TYPES:
         cleaned_args = tuple(arg for arg in get_args(hint) if arg is not 
NoneType)
         return Union[cleaned_args], True
     return hint, False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pure_protobuf-3.1.4/pyproject.toml 
new/pure_protobuf-3.1.5/pyproject.toml
--- old/pure_protobuf-3.1.4/pyproject.toml      1970-01-01 01:00:00.000000000 
+0100
+++ new/pure_protobuf-3.1.5/pyproject.toml      1970-01-01 01:00:00.000000000 
+0100
@@ -13,7 +13,7 @@
 name = "pure-protobuf"
 readme = "README.md"
 repository = "https://github.com/eigenein/protobuf";
-version = "3.1.4"
+version = "3.1.5"
 classifiers = [
     "Development Status :: 5 - Production/Stable",
     "Intended Audience :: Developers",
@@ -43,7 +43,7 @@
 optional = true
 
 [tool.poetry.group.dev.dependencies]
-black = "24.10.0"
+black = "25.1.0"
 cairosvg = "2.7.1"
 mkdocs-autorefs = "1.2.0"
 mkdocs-git-revision-date-localized-plugin = "1.3.0"

++++++ python-pure-protobuf-tests-3.1.4.tar.gz -> 
python-pure-protobuf-tests-3.1.5.tar.gz ++++++

Reply via email to