https://bugzilla.redhat.com/show_bug.cgi?id=2275067
Bug ID: 2275067 Summary: python-typeguard fails to build with Python 3.13: TypeError: TypedDict does not support instance and class checks Product: Fedora Version: rawhide Status: NEW Component: python-typeguard Assignee: code@musicinmybrain.net Reporter: ksurma@redhat.com QA Contact: extras-qa@fedoraproject.org CC: code@musicinmybrain.net, davide@cavalca.name, epel-packagers-sig@lists.fedoraproject.org, ksurma@redhat.com, mhroncok@redhat.com, michel@michel-slm.name Blocks: 2244836 (PYTHON3.13) Target Milestone: --- Classification: Fedora
python-typeguard fails to build with Python 3.13.0a6.
____________ TestTypedDict.test_notrequired_fail[typing_extensions] ____________ tests/test_checkers.py:531: in test_notrequired_fail check_type({"x": 1, "y": "foo"}, DummyDict) ../../BUILDROOT/python-typeguard-4.2.1-2.fc41.x86_64/usr/lib/python3.13/site-packages/typeguard/_functions.py:106: in check_type check_type_internal(value, expected_type, memo) ../../BUILDROOT/python-typeguard-4.2.1-2.fc41.x86_64/usr/lib/python3.13/site-packages/typeguard/_checkers.py:783: in check_type_internal if not isinstance(value, origin_type): /usr/lib/python3.13/site-packages/typing_extensions.py:951: in __subclasscheck__ raise TypeError('TypedDict does not support instance and class checks') E TypeError: TypedDict does not support instance and class checks
============= 11 failed, 432 passed, 4 skipped, 6 xfailed in 5.84s =============
https://docs.python.org/3.13/whatsnew/3.13.html
For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-ra...
For all our attempts to build python-typeguard with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-t...
Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/
Let us know here if you have any questions.
Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2244836 [Bug 2244836] Python 3.13
https://bugzilla.redhat.com/show_bug.cgi?id=2275067
Ben Beasley code@musicinmybrain.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Github | |agronholm/typeguard/issues/ | |443 Status|NEW |ASSIGNED
--- Comment #1 from Ben Beasley code@musicinmybrain.net --- I found an upstream bug that appears to match. Investigating…
https://github.com/agronholm/typeguard/issues/443
https://bugzilla.redhat.com/show_bug.cgi?id=2275067
Ben Beasley code@musicinmybrain.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Github | |agronholm/typeguard/issues/ | |453
--- Comment #2 from Ben Beasley code@musicinmybrain.net --- The existing bug was related, but not exactly the same, so I reported a new one: https://github.com/agronholm/typeguard/issues/453
https://bugzilla.redhat.com/show_bug.cgi?id=2275067
Ben Beasley code@musicinmybrain.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends On| |2283405
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2283405 [Bug 2283405] python-typeguard-4.3.0 is available
https://bugzilla.redhat.com/show_bug.cgi?id=2275067
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-cacef9feb2 (python-typeguard-4.3.0-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-cacef9feb2
https://bugzilla.redhat.com/show_bug.cgi?id=2275067
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version| |python-typeguard-4.3.0-1.fc | |41 Resolution|--- |ERRATA Status|MODIFIED |CLOSED Last Closed| |2024-05-27 15:26:20
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-cacef9feb2 (python-typeguard-4.3.0-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=2275067 Bug 2275067 depends on bug 2283405, which changed state.
Bug 2283405 Summary: python-typeguard-4.3.0 is available https://bugzilla.redhat.com/show_bug.cgi?id=2283405
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution|--- |ERRATA
epel-packagers-sig@lists.fedoraproject.org