-
-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test failures on Python 3.13 with astroid 3.0.2 #2349
Comments
We're running our CI against 3.12 so I don't fully understand what is different about your environment that could cause these failures. |
Apologies, I meant 3.13. |
From experience a lot can change in the first alphas, fixing things for a feature that will disappear later is a waste of time (also possibly add untestable warts in the codebase) so I would wait for betas and availability of an image in github pipelines to actually start fixing astroid/pylint for python 3.13. |
I've tried to analyze at least one of the failures because the code of astroid is very complex nad my knowledge of it is limited. The failure of In Python 3.12.2, when analyzing the But in Python 3.13.0a5, the With your help, I might be able to go deeper and investigate also other failures. |
=================================== FAILURES ===================================
___________ test_dataclasses_subscript_inference_recursion_error_39 ____________
E assert False
E + where False = isinstance(Uninferable, Instance)
tests/test_inference.py:6731: AssertionError
_______________ TypingBrain.test_typing_annotated_subscriptable ________________
self = <tests.brain.test_brain.TypingBrain testMethod=test_typing_annotated_subscriptable>
tests/brain/test_brain.py:641:
self = <ClassDef.Annotated l.10 at 0x7faefc93e120>, name = 'class_getitem'
context = None, class_context = True
E astroid.exceptions.AttributeInferenceError: 'class_getitem' not found on <ClassDef.Annotated l.10 at 0x7faefc93e120>.
astroid/nodes/scoped_nodes/scoped_nodes.py:2425: AttributeInferenceError
=========================== short test summary info ============================
FAILED tests/test_inference.py::test_dataclasses_subscript_inference_recursion_error_39
FAILED tests/brain/test_brain.py::TypingBrain::test_typing_annotated_subscriptable
=========== 2 failed, 1581 passed, 77 skipped, 16 xfailed in 18.03s ============
The text was updated successfully, but these errors were encountered: