public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-typing-extensions] f43: Patch for Python 3.14.7
@ 2026-08-25  6:52 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-25  6:52 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-typing-extensions
Branch : f43
Commit : 9b837f28d4750f3f6115783fe9feff415e4f7dc6
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-08-24T20:58:51+01:00
Stats  : +36/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-typing-extensions/c/9b837f28d4750f3f6115783fe9feff415e4f7dc6?branch=f43

Log:
Patch for Python 3.14.7

---
diff --git a/79c903c7d9ec4cfa30b7ca38a795adc1c100b45a.patch b/79c903c7d9ec4cfa30b7ca38a795adc1c100b45a.patch
new file mode 100644
index 0000000..f7059f0
--- /dev/null
+++ b/79c903c7d9ec4cfa30b7ca38a795adc1c100b45a.patch
@@ -0,0 +1,22 @@
+From 79c903c7d9ec4cfa30b7ca38a795adc1c100b45a Mon Sep 17 00:00:00 2001
+From: Alex Waygood <Alex.Waygood@Gmail.com>
+Date: Wed, 12 Aug 2026 13:13:00 +0100
+Subject: [PATCH] Remove obsolete Literal deduplication assertion (#785)
+
+---
+ src/test_typing_extensions.py | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/test_typing_extensions.py b/src/test_typing_extensions.py
+index 996d466c..938f2acc 100644
+--- a/src/test_typing_extensions.py
++++ b/src/test_typing_extensions.py
+@@ -1337,8 +1337,6 @@ def test_args(self):
+         self.assertEqual(Literal[1, 2, 3].__args__, (1, 2, 3))
+         self.assertEqual(Literal[1, 2, 3, 3].__args__, (1, 2, 3))
+         self.assertEqual(Literal[1, Literal[2], Literal[3, 4]].__args__, (1, 2, 3, 4))
+-        # Mutable arguments will not be deduplicated
+-        self.assertEqual(Literal[[], []].__args__, ([], []))
+ 
+     def test_union_of_literals(self):
+         self.assertEqual(Union[Literal[1], Literal[2]].__args__,

diff --git a/python-typing-extensions.spec b/python-typing-extensions.spec
index 615078e..ecd2f9a 100644
--- a/python-typing-extensions.spec
+++ b/python-typing-extensions.spec
@@ -1,12 +1,22 @@
 Name:           python-typing-extensions
 Version:        4.16.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Backported and Experimental Type Hints for Python
 
 License:        PSF-2.0
 URL:            https://pypi.org/project/typing-extensions/
 Source:         %{pypi_source typing_extensions}
 
+# Remove obsolete Literal deduplication assertion
+# https://github.com/python/typing_extensions/commit/79c903c7d9ec4cfa30b7ca38a795adc1c100b45a
+# From https://github.com/python/typing_extensions/pull/785.
+#
+# Fixes:
+#
+# test_typing_extensions.LiteralTests.test_args is failing with python 3.14.7
+# https://github.com/python/typing_extensions/issues/784
+Patch:          https://github.com/python/typing_extensions/commit/79c903c7d9ec4cfa30b7ca38a795adc1c100b45a.patch
+
 BuildArch:      noarch
 
 BuildRequires:  python3-devel
@@ -63,6 +73,9 @@ cd src
 
 
 %changelog
+* Mon Aug 24 2026 Benjamin A. Beasley <code@musicinmybrain.net> - 4.16.0-3
+- Patch for Python 3.14.7
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-25  6:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25  6:52 [rpms/python-typing-extensions] f43: Patch for Python 3.14.7 Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox