-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Syntax error in py310compat.py #100
Comments
https://pypi.org/project/zipp/3.16.0/ seems to list the requirement (python>=3.8) correctly, but we probably got this via conda/conda-forge. |
I think someone has to patch the conda meta file to pin |
Recently, a library called `zipp` (which we don't depend on directly, but it seems something related to our pre-commit does) released version `3.16`, which dropped support for Python 3.7. It seems that `zipp`'s Python requirement is not correctly picked during installation (see jaraco/zipp#100); this makes our Python 3.7 CI fail as it installs the new version. In this PR, I pin `zipp<3.16` to get the CI on `main` to pass again. This is not ideal as we don't even depend on `zipp` directly, but I hope it's temporary, and we can remove it once the community sorts things out.
I used to share this opinion, but I've since decided that since the project is intentionally excluding support for the now broken version and declaring that support in the metadata, it's not actually a breaking change. That is, it's a normal course of development for versions to be added and removed. I follow this convention across the hundreds of projects I develop. If you think there's a compelling argument for always making a major bump when dropping support for EOL Pythons, you can make that case in jaraco/skeleton and present evidence/arguments that the best practice is to make a major bump. I do intend to follow best practices here and there's definitely room for dispute, but for now I've settled on a minor bump. As you've all divined, this change was intentional, and the bug exists in conda (or other installers) not honoring the required Pythons directive. |
Yeah, I agree this is not a zipp issue, but this should be fixed in the conda-recipe. |
Hello,
With the latest release https://github.com/jaraco/zipp/releases/tag/v3.16.0 there's a syntax error in
py310compat.py
file:This is the commit that introduces the regression 4269d27
As a side note, dropping support for a version (in this case, Python 3.7) is considered a breaking change. When introducing breaking changes, you should increment the major version number, instead of the minor version.
The text was updated successfully, but these errors were encountered: