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-typesoption (orinstall_types = truein a configuration file) and expected it to download & install stub packages for older packages too.For example, I’ve got
jsonschema ==4.14.0installed and I can manually installtypes_jsonschema ==4.14.0and everything works fine. However, using the--install-typesoption 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
mypyinstall the correct stubs?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions