You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 5, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 5, 2023. It is now read-only.
Running in a Python 3.6.0 virtual environment, running mypy with --fast-parser option does not work with typed-ast==1.0.0:
$ pip freeze | grep 'mypy\|typed-ast'
mypy-lang==0.4.6
typed-ast==1.0.0
$ mypy --fast-parser .
You must install the typed_ast package before you can run mypy with `--fast-parser`.
You can do this with `python3 -m pip install typed-ast`.
This is expected -- typed_ast made some backwards incompatible changes when updating to 1.0.
To fix, use mypy (no longer mypy-lang) version 0.471, which has an upper bound on the typed-ast version it installs. The next release of mypy will be out in a couple weeks and will be updated to work with typed-ast 1.0.
Activity
emmatyping commentedon Feb 16, 2017
mypy has moved to the
mypypackage name, and is at version 0.471, if you update mypy to 0.471, does that fix the issue?gvanrossum commentedon Feb 16, 2017
ddfisher commentedon Feb 17, 2017
This is expected -- typed_ast made some backwards incompatible changes when updating to 1.0.
To fix, use mypy (no longer mypy-lang) version 0.471, which has an upper bound on the typed-ast version it installs. The next release of mypy will be out in a couple weeks and will be updated to work with typed-ast 1.0.
sseg commentedon Feb 18, 2017
Resolved with the mypy package for me. Thanks all.
Leaving a link here to the blog post explaining the changes for anyone else coming across this: http://mypy-lang.blogspot.com/2017/01/mypy-0470-released.html
Merge pull request python#31 from python-lz4/py3_byte_array