Skip to content
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

AST deprecation fixes #1482

Merged
merged 4 commits into from
Sep 7, 2023
Merged

AST deprecation fixes #1482

merged 4 commits into from
Sep 7, 2023

Conversation

mstimberg
Copy link
Member

This removes references to deprecated classes/attributes of Python's ast module (which raise warnings with Python 3.12 and will be removed in 3.14). It also removes alternative code paths that were necessary for backwards compatibility with Python ≤3.7.

ast.NameConstant and node.n raise deprecation warnings with Python 3.12 and will be removed in 3.14
No longer required
@mstimberg mstimberg merged commit c2789b2 into master Sep 7, 2023
50 checks passed
@mstimberg mstimberg deleted the ast_deprecation_fixes branch September 7, 2023 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant