Skip to content

Conversation

@befeleme
Copy link
Contributor

@befeleme befeleme commented Jan 7, 2025

Per What's new in Python 3.14:
ast.Str has been deprecated since Python 3.8, and have emitted deprecation warnings since Python 3.12.
https://docs.python.org/dev/whatsnew/3.14.html#id3

Spotted in Fedora Linux while early integrating 3.14 alphas into the distribution.
I only saw failures in test_util.py, test_asstokens.py; test_tokenless passed successfully in our environment (we've got asttokens 2.4.1). I'm not sure why is that - whether the particular code path is never executed, but I made the change everywhere nevertheless.

Per What's new in Python 3.14:
ast.Str has been deprecated since Python 3.8, and have emitted deprecation
warnings since Python 3.12.
https://docs.python.org/dev/whatsnew/3.14.html#id3
@alexmojaki
Copy link
Collaborator

Thanks!

@alexmojaki alexmojaki merged commit bb1df14 into gristlabs:master Jan 7, 2025
18 checks passed
@befeleme befeleme deleted the compat-py314 branch February 13, 2025 09:30
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.

2 participants