-
Notifications
You must be signed in to change notification settings - Fork 275
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
[Bug]: typed-ast
dependency has been archived for Python 3.8+
#5054
Comments
[Triage] Thank you for opening the issue @phvalguima
Adding @peterzhuamazon to take a look. Thanks! |
The original usage of this package comes from this PR by @prudhvigodithi : |
Judging by the code I dont see this is being used anywhere tho. Also mypy and pytest both pass: Success: no issues found in 415 source files 938 passed, 4 warnings in 168.43s (0:02:48) |
Sending a PR: Also ask @prudhvigodithi to take a look as I dont think it is actually used, can remove. Thanks. |
Coming from https://github.com/opensearch-project/opensearch-build/pull/2438/files#r945288056 I just added it back (since it was part of Pip lock file) which was removed, I will double check to see the dependency. |
Coming from #5058 I have cloned the fork and ran |
Thanks! Else we can go with the recommendation to use |
I dont think ast is a drop in replacement because we didnt call typed-ast at all. ast is a builtin for python 3.8 and up. |
Thanks, updated PR. |
Describe the bug
Following the comments upstream,
typed-ast
package has been archived:And both Debian and Ubuntu are removing
python3-typed-ast
from their repos:The overall recommendation is to move forward to use standard lib's
ast
module instead for Python 3.8+. Is there any reason we still need this legacy dependency?To reproduce
--
Expected behavior
No response
Screenshots
No response
Host / Environment
No response
Additional context
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: