Skip to content

Avoid ast.Str for python 3.14 compatibility#51

Closed
jamesjer wants to merge 1 commit intopradyunsg:mainfrom
jamesjer:main
Closed

Avoid ast.Str for python 3.14 compatibility#51
jamesjer wants to merge 1 commit intopradyunsg:mainfrom
jamesjer:main

Conversation

@jamesjer
Copy link
Copy Markdown

ast.Str was deprecated in python 3.8 and has been removed completely in prereleases of python 3.14. This change avoids use of the removed API. In consequence, however, you would have to drop python 3.7 support to merge this.

@pradyunsg
Copy link
Copy Markdown
Owner

Whelp, I should've looked at open PRs. 🙈

I ended up fixing this independently in adeb375, which I'm noticing now wasn't cleanly split out when I was splitting up all my local work. 🤦🏽

Thanks @jamesjer for filing this PR -- it's appreciated, even if I ended up solving this independently due to myself being slow to catch up on these things. 😅

@pradyunsg pradyunsg closed this Dec 19, 2025
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