Using --install-types for older packages #1268
jenstroeger
started this conversation in
General
Replies: 1 comment
-
TBH, I don't really recommend using mypy's |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I’m playing around with the
--install-types
option (orinstall_types = true
in a configuration file) and expected it to download & install stub packages for older packages too.For example, I’ve got
jsonschema ==4.14.0
installed and I can manually installtypes_jsonschema ==4.14.0
and everything works fine. However, using the--install-types
option fails in this case because, I suspect, its METADATA.toml declaresversion = "4.16.*"
.Without continuously updating my package to meet Typeshed’s type stubs version, how can I have
mypy
install the correct stubs?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions