Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 132
Closed
Description
When building typing_extensions in Fedora with Python 3.13.0b1, test_typing_extensions fails with the traceback below.
I looked at the recent commits but they don't seem to tackle that. It hasn't yet been seen in the project's CI, probably because it still runs on alpha 6.
/usr/bin/python3 -m unittest discover E ====================================================================== ERROR: test_typing_extensions (unittest.loader._FailedTest.test_typing_extensions) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_typing_extensions Traceback (most recent call last): File "/usr/lib64/python3.13/unittest/loader.py", line 396, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib64/python3.13/unittest/loader.py", line 339, in _get_module_from_name __import__(name) ~~~~~~~~~~^^^^^^ File "/builddir/build/BUILD/typing_extensions-4.11.0/src/test_typing_extensions.py", line 1148, in <module> T_a = TypeVar('T_a') File "/builddir/build/BUILD/typing_extensions-4.11.0/src/typing_extensions.py", line 1406, in __new__ _set_default(typevar, default) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/typing_extensions-4.11.0/src/typing_extensions.py", line 1363, in _set_default type_param.__default__ = None ^^^^^^^^^^^^^^^^^^^^^^ AttributeError: attribute '__default__' of 'typing.TypeVar' objects is not writable Metadata
Metadata
Assignees
Labels
No labels