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

Python 3.14 compatibility #807

Open
akaihola opened this issue Jan 8, 2025 · 0 comments
Open

Python 3.14 compatibility #807

akaihola opened this issue Jan 8, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@akaihola
Copy link
Owner

akaihola commented Jan 8, 2025

As reported by our future test, the following issues need to be resolved to ensure Python 3.14 compatibility:

  • ast class hierarchy changes – upgrade astor, flynt
astor/op_util.py:92: DeprecationWarning: ast.Num is deprecated and will be removed in Python 3.14; use ast.Constant instead
flynt/utils/utils.py:74: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
flynt/candidates/ast_call_candidates.py:14: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
flynt/transform/format_call_transforms.py:18: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
flynt/transform/format_call_transforms.py:22: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
flynt/transform/format_call_transforms.py:29: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
flynt/utils/utils.py:90: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
flynt/transform/format_call_transforms.py:88: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
astor/code_gen.py:599: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
flynt/transform/format_call_transforms.py:89: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
@akaihola akaihola added the enhancement New feature or request label Jan 8, 2025
@akaihola akaihola added this to the Darker 3.1.0 milestone Jan 8, 2025
@akaihola akaihola self-assigned this Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant