-
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
[python-package] LightGBM wheel on PyPI seems to have the wrong platform tag #4788
Comments
@tdoublep Hey! Thanks for raising this issue! We are aware of that LightGBM isn't fully compatible with |
Alright! Yes adopting PEP600 would solve the issue. In the short term, renaming the wheels to use the |
Linking related discussion: #5061. This work is effectively done, but not closing this issue until an actual release actually corrects the tags on PyPI. |
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
I'm having problems trying to use LightGBM as part of our a build process that runs inside a manylinux2010 container. In particular I am seeing the following error:
Looking on PyPI, I see that LightGBM is publishing wheels with the
manylinux1
platform tag, which is what pip is pulling down in the above environment. Sincemanylinux1
is based on older glibc thanmanylinux2010
, and glibc is forward compatible, I was expecting this to work fine. Some deeper investigation (see below) seems to suggest that the wheel may have the wrong platform tag.This problem is not blocking us, since I can install using the
--no-binary
option and it works fine, but I thought it could be helpful to report this.Please let me know if any more information could help! Cheers!
Reproducible example
Some additional inspection of the LightGBM
manylinux1
wheel using theauditwheel
tool (pip install auditwheel
) shows:This tool indicates the wheels are constrained to
manylinux2014
and thus will not necessarily work withmanylinux1
(or indeedmanylinux2010
environments).Environment info
LightGBM version or commit hash: 3.3.1
Command(s) you used to install LightGBM
Manylinux2010 docker container.
The text was updated successfully, but these errors were encountered: