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-rawhide-x86_64/07302975-python-typeguard/ For all our attempts to build python-typeguard with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-typeguard/ 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.
I found an upstream bug that appears to match. Investigating… https://github.com/agronholm/typeguard/issues/443
The existing bug was related, but not exactly the same, so I reported a new one: https://github.com/agronholm/typeguard/issues/453
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
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.