-
Notifications
You must be signed in to change notification settings - Fork 614
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
Invalid wheel: pip OK but uv KO #2149
Comments
Pip doesn't check the |
Fixes an off-by-one from #2149. `enumerate` is zero-based, human line numbers are one based.
Fixes an off-by-one from #2149. `enumerate` is zero-based, human line numbers are one based.
Sorry that's just an off-by-one error separate from this issue, fixed in #2151. |
Fixes an off-by-one from #2149. `enumerate` is zero-based, human line numbers are one based.
Is the alternative here that we ignore all invalid tag entries? |
Pip just uses the tags from the wheel filename. The Footnotes
|
Thanks for the context! I think we should only warn about invalid |
Yeah I don't think we use the information, but we do seem to validate it. I actually don't think we even validate the tags, we just choke if the value is empty AFAICT. |
I'll fix this real quick. |
## Summary Closes #2149. ## Test Plan `cargo run pip install "openturns==1.22"`
Hello,
when trying to install the package
openturns
, which is installable withpip
, I get the following error❯ uv pip install openturns Resolved 3 packages in 351ms error: Failed to install: openturns-1.22-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (openturns==1.22) Caused by: The wheel is invalid: Line 3 of the WHEEL file is invalid
This is the contents of
WHEEL
:❯ cat openturns-1.22.dist-info/WHEEL Wheel-Version: 1.0 Generator: custom Root-Is-Purelib: false Tag: Tag: -manylinux_2_17_x86_64 Tag: -manylinux2014_x86_64
Is this issue on
uv
's side?The text was updated successfully, but these errors were encountered: