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

DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14 #368

Closed
2 tasks done
musicinmybrain opened this issue Jun 19, 2023 · 0 comments
Closed
2 tasks done
Labels

Comments

@musicinmybrain
Copy link

Things to check first

  • I have searched the existing issues and didn't find my bug already reported there

  • I have checked that my bug is still present in the latest release

Typeguard version

4.0.0

Python version

3.12.0b2

What happened?

Running the tests on Python 3.12 produces a lot of DeprecationWarnings:

DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead

The warning can be ignored with the warnings filter ignore:ast.Str is deprecated:DeprecationWarning as a workaround for Python 3.12–3.13.

How can we reproduce the bug?

Run the tests on a Python 3.12 pre-release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant