-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[ci] Python 3.7 CI jobs broken by zipp release #5969
Comments
Python 3.7 is end-of-life even from the point of CPython, and has been dropped by conda-forge since last October. Trying to keep this working is a fight against windmills - we're not building much less testing 3.7, so this kind of thing will keep happening - compare the old adage that software that's not tested is broken. You get to decide how you want to publish for your project and where you spend your energy, but it seems like a bad investment of scarce resources to me to try keeping an increasingly zombiefied 3.7 infrastructure alive. |
Thanks for your perspective. We haven't yet found it prohibitively expensive to support Python 3.7 here and don't consider this particular issue sufficient to drop that support. |
This is resolved, thanks to conda-forge/zipp-feedstock#43 and conda-forge/conda-forge-repodata-patches-feedstock#478. |
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
Description
Python 3.7 CI jobs in this repo are failing with the following error.
Reproducible example
Additional Comments
Looks to me like this was caused by the following sequence of events:
lightgbm
's CI eventually requireszipp
zipp
v3.16.0 includes a commit which makes it syntactically-invalid for Python >= 3.8 (jaraco/zipp@4269d27)zipp
v3.16.0 was released to PyPIconda-forge
's automation picked it up and released it viaconda-forge
... without bumping up the Python floor in the conda recipe: zipp v3.16.0 conda-forge/zipp-feedstock#41conda
environments started getting this version ofzipp
, and failing because it wasn't actually compatible with Python 3.7There are some PRs in progress right now to fix
zipp
's metadata onconda-forge
. Once those are merged and deployed, this should automatically resolve itself.The text was updated successfully, but these errors were encountered: