-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
TODO list for Python 3.11 support #1516
Comments
Some recent AST changes:
|
The wrapt dependency needs to be ">=1.14" for python 3.11. See changelog |
@rkhwaja I think pip handle that, if pylint require wrapt >= 1.12 but python 3.11 require wrapt >= 1.14 then pip download >= 1.14. We should not change our lower bound, as we could imagine that wrapt >=1.14 is incompatible with python 3.7 and changing this would break pylint for python 3.7. |
You could add a dependency like "wrapt>=1.14,<2;python_version>='3.11'" and then both the old and the new python will work. I don't know if you have other users than pylint but they would all just work too if you did it this way. |
But is this required at all ? |
Took me a moment to understand the issue.
|
See #1745 |
Visit child nodes of TryStar Test children Avoid creating TryExcept under TryStar block range tests Proper coverage of block_range in try star node Add text for name lookup Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
numpy
as a test dependency once they provide wheels for3.11
> See Enable3.11
in the CI #1517if: ${{ always() }}
line from thecoverage
CI jobsFormattedValue.conversion
is a required field (instead of optional). This was an error in the Python documentation which was addressed recently. https://docs.python.org/3.11/library/ast.html#ast.FormattedValue bpo-46289: Make conversion of FormattedValue not optional on ASDL python/cpython#30467 > UpdateFormattedValue.postinit
and its brain #2029FormattedValue.conversion
. The int values can be confusion on its own. > Decided not to.The text was updated successfully, but these errors were encountered: