-
Notifications
You must be signed in to change notification settings - Fork 436
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
Better error messages when trying to uv pip install
a wheel file without a package name
#1407
Comments
Nice, those are great cases to handle, thanks. |
👍 from me. I have a Dockerfile that does a multistage build where wheels are built in a chunkier container and installed (only) from those wheels in a second stage.
Trying to replace
(Replacing |
(You should be able to use |
@charliermarsh Can't try that easily unfortunately since the list of requirements comes from shell wildcard expansion 😅 |
Oh hah. Okay, got it :) It sounds like you need #313. |
Yeah, this is something that I run into as well, when I have validation shell scripts that find all the wheels from an archive that's been downloaded and then execute something similar to
(I know that this is already in the works over on Issue #313, so thank you!, I just wanted to give another example of a common workflow.) |
This is now supported, so no need to improve the error messages! |
In the spirit of PR #669, it'd be nice if some of the error messages when trying to install a wheel without specifiying the package name were a bit more helpful.
The error message for a relative path is good:
But the error for a full path that starts with
/
, is not as helpful:And the error when the path is a filename in a local directory is not as helpful either:
The text was updated successfully, but these errors were encountered: