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

engine: migrate from py3.14-removed 'ast' classes #225

Conversation

jayaddison
Copy link
Contributor

Migrate away from some ast classes that are removed in version 3.14 of Python, as discovered due to continuous integration test failures with prerelease/alpha versions of Py314. The recommended migration path, as followed here, is to replace references to them with ast.Constant instead.

Resolves #224.

@jayaddison
Copy link
Contributor Author

Hi @jaraco - a small Python π compatibility fixup here for inflect -- I believe it's backwards compatible to all supported runtime Py versions listed by the package (3.9+).

@jaraco
Copy link
Owner

jaraco commented Dec 28, 2024

Merged as 8282d6a.

@jaraco jaraco closed this Dec 28, 2024
@jayaddison
Copy link
Contributor Author

Thanks @jaraco!

@jayaddison jayaddison deleted the issue-224/migrate-ast-py314-removals branch December 28, 2024 17:37
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.

Unit tests: failure with py3.14 (alpha) due to removal of ast.Num
2 participants