-
-
Notifications
You must be signed in to change notification settings - Fork 3k
mypy-0.630's extensions does not satisfy its own runtime requirements #5763
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
Comments
Hm, this is a bit weird. Is there any way in distutils to indicate a dev version (that is "less" that corresponding release)? If yes, maybe we can just switch versioning scheme for |
@ilevkivskyi We actually want development releases. Then it should handle things correctly. So perhaps we could do 0.5.0.dev0 |
I think it is already 0.5.0.dev0 when being processed (I've seen the dot rather than hyphen somewhere), but as I say, in its current form it doesn't work. |
But if |
PEP 440 discourages public release of development releases (and cites that pre-releases can have development releases too, such as I'll continue on issue #5592 about whether this package should be separate or not. |
Having said that, apparently a version of |
Alright, it turns out
So it seems as though it's by design and (from their perspective) not a bug. |
This problem is still present in the 0.641 release. What needs to happen to get the dependencies fixed, so that the packages can install successfully? |
It looks like this might make it through to 0.650. Is there anything that can be done about this? Even if we can't decouple the projects this release, could we at least ensure that the source package can be installed with the version of extensions that ships in the same tarball? |
OK, mypy_extensions has been split out into its own source project https://github.com/python/mypy_extensions. There are tags for The extensions directory will be deleted in #6191. |
Hiya,
I've installed mypy-0.630 which features the following:
setup.py's runtime requirements: mypy_extensions >= 0.4.0, < 0.5.0
extension's setup.py version number: 0.5.0-dev
This is still the case on master as of
e170f6b
.Unfortunately,
0.5.0-dev
does not appear to be< 0.5.0
according to the distutils version checking, meaning that the extensions shipped in the release tarball do not meet the requirements of the release itself (meaning people may have to download a previous release tarball to get this version to run). This appears to have been a very recent change (since 0.620 did not require the extensions).Possible solutions would be that if the extensions module is to be treated as an independent package (with its own setup.py, which it appears to be as of 0.630) that it be moved to its own repository, ensuring that the versions do not need to be synchronized and can be released out of step with each other. If the extensions are not large enough to be their own package, and are a hard requirement of mypy, then perhaps they should simply be made part of the distribution?
The solution to this issue may also affect #5592
The text was updated successfully, but these errors were encountered: