public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-typing-extensions] f45: Patch for Python 3.14.7
Date: Mon, 24 Aug 2026 20:41:00 GMT [thread overview]
Message-ID: <178760406093.1.12241005447461443330.rpms-python-typing-extensions-9b837f28d475@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-typing-extensions
Branch : f45
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=f45
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
reply other threads:[~2026-08-24 20:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178760406093.1.12241005447461443330.rpms-python-typing-extensions-9b837f28d475@fedoraproject.org \
--to=code@musicinmybrain.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox