Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-typing_extensions for 
openSUSE:Factory checked in at 2025-12-09 12:46:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-typing_extensions (Old)
 and      /work/SRC/openSUSE:Factory/.python-typing_extensions.new.1939 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-typing_extensions"

Tue Dec  9 12:46:11 2025 rev:32 rq:1320781 version:4.15.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-typing_extensions/python-typing_extensions.changes
        2025-09-12 21:09:37.247456701 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-typing_extensions.new.1939/python-typing_extensions.changes
      2025-12-09 12:49:28.577711503 +0100
@@ -1,0 +2,5 @@
+Mon Dec  1 20:52:46 UTC 2025 - Dirk Müller <[email protected]>
+
+- add py314-fix-tests.patch to fix tests with python 3.14
+
+-------------------------------------------------------------------

New:
----
  py314-fix-tests.patch

----------(New B)----------
  New:
- add py314-fix-tests.patch to fix tests with python 3.14
----------(New E)----------

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

Other differences:
------------------
++++++ python-typing_extensions.spec ++++++
--- /var/tmp/diff_new_pack.gCBV3D/_old  2025-12-09 12:49:35.265993647 +0100
+++ /var/tmp/diff_new_pack.gCBV3D/_new  2025-12-09 12:49:35.269993815 +0100
@@ -33,6 +33,7 @@
 License:        Python-2.0
 URL:            https://github.com/python/typing_extensions
 Source0:        
https://files.pythonhosted.org/packages/source/t/typing_extensions/typing_extensions-%{version}.tar.gz
+Patch1:         py314-fix-tests.patch
 BuildRequires:  %{python_module base >= 3.9}
 BuildRequires:  %{python_module flit-core >= 3.4 with %python-flit-core < 4}
 BuildRequires:  %{python_module pip}

++++++ py314-fix-tests.patch ++++++
>From 16cc1566a6a4b8e729e8b91e1a4e6a31526823a0 Mon Sep 17 00:00:00 2001
From: Jelle Zijlstra <[email protected]>
Date: Fri, 19 Sep 2025 07:22:40 -0700
Subject: [PATCH] fix test on 3.14 (#683)

---
 src/test_typing_extensions.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/test_typing_extensions.py b/src/test_typing_extensions.py
index 27f4059c..f07e1eb0 100644
--- a/src/test_typing_extensions.py
+++ b/src/test_typing_extensions.py
@@ -4508,8 +4508,12 @@ def _make_td(future, class_name, annos, base, 
extra_names=None):
                     child = _make_td(
                         child_future, "Child", {"child": "int"}, "Base", 
{"Base": base}
                     )
-                    base_anno = typing.ForwardRef("int", module="builtins") if 
base_future else int
-                    child_anno = typing.ForwardRef("int", module="builtins") 
if child_future else int
+                    if sys.version_info >= (3, 14):
+                        base_anno = typing.ForwardRef("int", 
module="builtins", owner=base) if base_future else int
+                        child_anno = typing.ForwardRef("int", 
module="builtins", owner=child) if child_future else int
+                    else:
+                        base_anno = typing.ForwardRef("int", 
module="builtins") if base_future else int
+                        child_anno = typing.ForwardRef("int", 
module="builtins") if child_future else int
                     self.assertEqual(base.__annotations__, {'base': base_anno})
                     self.assertEqual(
                         child.__annotations__, {'child': child_anno, 'base': 
base_anno}

Reply via email to