-
Notifications
You must be signed in to change notification settings - Fork 453
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
uv pip install something.whl
does not install the new version
#4391
Comments
uv pip install something.whl
does not install newer versionuv pip install something.whl
does not install the new version
Also unrelated, but "Downloaded 1 package in 0.62ms" is misleading since there is no download in case of a local wheel file. |
See #4011 for the download / build time. |
|
Uh interesting so at uv/crates/uv-installer/src/satisfies.rs Lines 176 to 185 in d8f1de6
|
cc @konstin / @charliermarsh looks like this was last touched in #3864? |
This looks wrong. I resolved your MRE with #4393 — we'll see if there's something else that was relying on this weird behavior. |
When installing from a local wheel file, a newer (or generally different, since it should not matter if it's newer or older) version does not get installed since uv thinks it's already there.
Here are two simple wheels (just containing a package with an empty
__init__.py
) to reproduce it:Verbose
uv pip install
output:I don't think it's relevant, but in my real application the newer wheel also contained an updated dependency and that got installed, but the updated package itself from that wheel didn't.
The text was updated successfully, but these errors were encountered: