public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Karolina Surma <ksurma@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-typing-extensions] rawhide: Fix compatibility with Python 3.16
Date: Fri, 20 Nov 2026 13:56:11 GMT [thread overview]
Message-ID: <179518297145.1.15962768328220570259.rpms-python-typing-extensions-5ce992a81e15@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-typing-extensions
Branch : rawhide
Commit : 5ce992a81e1536185a7b264220f0ac2b12a63f5e
Author : Karolina Surma <ksurma@redhat.com>
Date : 2026-11-20T14:47:34+01:00
Stats : +30/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-typing-extensions/c/5ce992a81e1536185a7b264220f0ac2b12a63f5e?branch=rawhide
Log:
Fix compatibility with Python 3.16
---
diff --git a/a2024556ab75799fbd2f41d1c2d114dd6372de12.patch b/a2024556ab75799fbd2f41d1c2d114dd6372de12.patch
new file mode 100644
index 0000000..64d89c1
--- /dev/null
+++ b/a2024556ab75799fbd2f41d1c2d114dd6372de12.patch
@@ -0,0 +1,27 @@
+From a2024556ab75799fbd2f41d1c2d114dd6372de12 Mon Sep 17 00:00:00 2001
+From: Khabib Shakhbanov <136262760+Khabib73@users.noreply.github.com>
+Date: Mon, 9 Nov 2026 19:50:21 +0300
+Subject: [PATCH] Skip the legacy asyncio coroutine test when its API is
+ unavailable (#819)
+
+Co-authored-by: Sebastian Rittau <sebastian.rittau@zfutura.de>
+---
+ src/test_typing_extensions.py | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/test_typing_extensions.py b/src/test_typing_extensions.py
+index 6a52632e..03bce158 100644
+--- a/src/test_typing_extensions.py
++++ b/src/test_typing_extensions.py
+@@ -992,6 +992,11 @@ async def coro(self):
+ pass
+
+ class DeprecatedCoroTests(BaseTestCase):
++ @skipUnless(
++ hasattr(asyncio, "coroutines")
++ and hasattr(asyncio.coroutines, "iscoroutinefunction"),
++ "asyncio.coroutines.iscoroutinefunction is unavailable",
++ )
+ def test_asyncio_iscoroutinefunction(self):
+ with warnings.catch_warnings():
+ warnings.simplefilter("ignore", DeprecationWarning)
diff --git a/python-typing-extensions.spec b/python-typing-extensions.spec
index f8c44ad..db2de35 100644
--- a/python-typing-extensions.spec
+++ b/python-typing-extensions.spec
@@ -16,6 +16,9 @@ Source: %{pypi_source typing_extensions}
# 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
+# Skip the legacy asyncio coroutine test when its API is unavailable (Python 3.16+)
+# https://github.com/python/typing_extensions/issues/809
+Patch: https://github.com/python/typing_extensions/commit/a2024556ab75799fbd2f41d1c2d114dd6372de12.patch
BuildArch: noarch
reply other threads:[~2026-11-20 13:56 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=179518297145.1.15962768328220570259.rpms-python-typing-extensions-5ce992a81e15@fedoraproject.org \
--to=ksurma@redhat.com \
--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