-
Notifications
You must be signed in to change notification settings - Fork 150
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
Add flag to prevent multiple wheel repairs #281
Comments
If I understand correctly the problem here is that you requested manylinux2014 but auditwheel generated manylinux2010 tag? The wheel itself is manylinux2010 compliant, which means it will work on both manylinux2010 and manylinux2014 platforms and uploading the 2010 version should be sufficient. What is the advantage in producing a 2014 variant as well? |
@lkollar It produces the 2014 one I requested and unrequested 2010 |
Are you referring to the |
Part of my build script: in this case it's showing that 2 wheels are produced, not 1 |
That makes sense, thanks. I agree, there is not much point in leaving the higher tagged wheel around, we could just delete it. |
Keeping the highest / lowest priority tags should not be left as an As for the multiple wheels being produced, it's been discussed in multiple places except here (or couldn't find it):
The comment in the manylinux issue states that files packaged in Having both wheels on PyPI has only one advantage which is to help tracking progress of Getting stats is certainly not a good reason to waste space on PyPI (or rely on packagers to throw one wheel or the other). e.g. This would require a new flag to enforce the highest priority tag that can be used to let projects decide how they want to handle this. |
Thanks for looking into this @mayeut. So if I understand correctly, you propose introducing a flag to produce a single file with combined wheel tags? E.g. something like |
I was thinking of always producing a single file and introducing a new flag like This might seem a bit too much in which case, always produce a single wheel but introduce a Maybe the second option is enough (at least it covers the same cases as the 2 wheels produced today but only generates one) ? |
Thanks @mayeut, I'll have a look in the next couple of days. |
This is now fixed in master but will require a new auditwheel release. |
auditwheel/auditwheel/main_repair.py
Lines 97 to 109 in 7502b9d
from CI logs:
Ideally, only one wheel would be produced: the one with the requested platform or the one with the higher priority tag.
If one doesn't add an additional step to delete one then it's just wasted space on PyPI currently.
The text was updated successfully, but these errors were encountered: