-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Fails to install on Python 3.9 on Windows #9488
Comments
Assuming this is specific to Windows -- cannot repro on Mac. |
Yeah, it's Windows specific. I assume it's similar to python/typed_ast#126 |
@hauntsaninja This is the same issue. I originally raised the issue in typed_ast but I closed it after I read that they explicitly do not support Python 3.9. |
Hm, typed-ast is still needed to parse Python 2.7. So if possible we should raise that on the typed-ast project. It may require copying a bunch of C code, IIRC 3.9 makes more internal APIs actually invisible. |
(In the meantime I guess the workaround is to use Python 3.8 to run mypy over Python 2.7 source code. But I agree that’s awkward.) |
I think we might just need to upload a working wheel for Windows (it actually looks like we don't have a wheel for Linux either, https://pypi.org/project/typed-ast/#files). Is this something you could do? I see that you made the last typed_ast release. At some point, maybe we should consider making Python 2 support an extra, so that the typed_ast dependency is optional. |
I think in order to create those wheels we'd have to configure Travis and AppVeyor to add 3.9. I'll give it a try. |
Bug Report
MyPy fails to install on Python 3.9.
To Reproduce
(Write your steps here:)
pip install mypy
Expected Behavior
Package installs normally as on previous python versions.
Actual Behavior
An exception occurs when installing due to typed-ast dependency which explicitly does not support Python 3.9 (see readme). Example output below:
Your Environment
mypy.ini
(and other config files): N/AWin 10 Pro
Version 1909 (OS Build 18363.1016)
The text was updated successfully, but these errors were encountered: