-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
mypy 0.930 does not install types #11920
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
Labels
bug
mypy got something wrong
Comments
Hmm, I thought that was happening to me too, but I tried again and it worked for me, with versions 0.930, 0.931, and 0.910 |
0.931 is working fine for me too now 🤷♂️ |
So close the issue? |
There's a good chance this bug is dependent on the state of the cache, which might be why it no longer reproduces. |
Merged
9 tasks
Closing, since there isn't a repro |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
In version 0.930,
mypy
does not install type packages when run with--install-types
.To Reproduce
Run
mypy
on code that imports a library that has a separate typing package, e.g.dateutil
, both with--install-types
and without it.Expected Behavior
The packages (
types-python-dateutil
in the example above) should be installed. Withmypy
0.920 the message (when runningmypy --install-types --non-interactive .
) looks something like:The behaviour without
--install-types
behaves as described in the previous section.Actual Behavior
In version 0.930, running
mypy
both with and without--install-types
is the same:Your Environment
--install-types
The text was updated successfully, but these errors were encountered: