-
-
Notifications
You must be signed in to change notification settings - Fork 3k
mypy 0.471 not finding typed-ast 1.0.0 when using --fast-parser #2862
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
Comments
I had this problem too, reinstalling ( |
Hm, I wonder if some metadata lingers around when you use |
It looks like this happened to me, typeshed was not overwritten, until I completely removed it manually. |
Apparently explicitly installing typed-ast first solved the issue as well: python/the-knights-who-say-ni#93. |
This seems to still be a problem, even with release of typed-ast-1.0.1, see this travis build for example. Locally I've tried completely deleting my virtualenv directory and recreating but to no avail. |
@samuelcolvin You're still using mypy 0.4.6. You gotta update your test/requirements.txt to use |
Thanks, I also had to remove the As per this mypy 4.7 requires |
Yes that's expected.
|
I believe this can be closed. If someone encounters an issue with a newer release, please open a new issue. |
python3 -c "from typed_ast import ast27, ast3"
doesn't raise anImportError
and yet running mypy keeps telling me:It looks like mypy 0.471 imports
typed_ast.ast35
which doesn't exist in typed_ast 1.0.0.The text was updated successfully, but these errors were encountered: