Package: src:python-typing-extensions Version: 4.16.0-4 User: [email protected] Usertags: python3.15 Tags: patch
Hi! While rebuilding the python related packages against the python version 3.15rc1 we found that python-typing-extensions fails to build from source[1]. This is caused by a test that was removed upstream as it's testing the internal behavior of another piece of software [2]. In order to keep building the packages in the sandbox we used the attached patch. Please consider including this patch in your next upload. Happy hacking, [1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1072979/ [2]: https://github.com/python/typing_extensions/pull/785/changes/6e18c1c2256d216aeaa2c19573d413d582860670 -- "Can you imagine what I would do if I could do all I can?" -- Sun Tzu Saludos /\/\ /\ >< `/
commit 79c903c7d9ec4cfa30b7ca38a795adc1c100b45a Author: Alex Waygood <[email protected]> Date: Wed Aug 12 13:13:00 2026 +0100 Remove obsolete Literal deduplication assertion (#785) diff --git a/src/test_typing_extensions.py b/src/test_typing_extensions.py index 996d466..938f2ac 100644 --- a/src/test_typing_extensions.py +++ b/src/test_typing_extensions.py @@ -1337,8 +1337,6 @@ class LiteralTests(BaseTestCase): 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__,

