python-typing-extensions fails to build with Python 3.10.0a2. ====================================================================== FAIL: test_keys_inheritance (__main__.TypedDictTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/typing_extensions-3.7.4.3/src_py3/test_typing_extensions.py", line 1568, in test_keys_inheritance assert BaseAnimal.__annotations__ == {'name': str} AssertionError ====================================================================== FAIL: test_py36_class_syntax_usage (__main__.TypedDictTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/typing_extensions-3.7.4.3/src_py3/test_typing_extensions.py", line 1519, in test_py36_class_syntax_usage self.assertEqual(LabelPoint2D.__annotations__, {'x': int, 'y': int, 'label': str}) AssertionError: {'x': ForwardRef('int'), 'y': ForwardRef('int'), 'label': <class 'str'>} != {'x': <class 'int'>, 'y': <class 'int'>, 'label': <class 'str'>} - {'label': <class 'str'>, 'x': ForwardRef('int'), 'y': ForwardRef('int')} + {'label': <class 'str'>, 'x': <class 'int'>, 'y': <class 'int'>} ---------------------------------------------------------------------- Ran 130 tests in 0.082s FAILED (failures=2, skipped=4) error: Bad exit status from /var/tmp/rpm-tmp.FNjGbw (%check) For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01773460-python-typing-extensions/ For all our attempts to build python-typing-extensions with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/python-typing-extensions/ 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.10: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/ Let us know here if you have any questions. Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10. 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.
Reported upstream https://github.com/python/typing/issues/766
Fixed in master for upstream in PR https://github.com/python/typing/pull/768
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.
There's also https://github.com/python/typing/pull/773 now.
https://src.fedoraproject.org/rpms/python-typing-extensions/pull-request/2