-
Notifications
You must be signed in to change notification settings - Fork 762
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
does not install any new dependencies
#1651
Comments
Agree that this should behave as you describe. I can't remember off-hand if this is due to a caching thing or something else. |
I am currently facing the same issue, but in other ways. It seems as if A potential solution to mitigate this problem could be to store the checksums of the |
I think this is fixed in version 0.1.11 |
This comment was marked as resolved.
This comment was marked as resolved.
The editable issue seems to be fixed, but it does not work for non-editable installs yet. :( |
@skshetry - Can you provide the exact repro for non-editable installs, just so I can track what isn't working? |
cat pyproject.toml
uv pip install "test-project @ ." [project]
name = "test-project"
version = "0.0.1"
dependencies = ["fsspec"] After I add a dependency, say,
[project]
name = "test-project"
version = "0.0.1"
dependencies = ["fsspec", "s3fs"] $ uv pip install "test-project @ ."
Audited 1 package in 3ms
$ uv pip install "test-project @ ." --upgrade
Resolved 18 packages in 1.80s
Built test-project @ file:///private/var/folders/xh/trg29z296h70n109kwfk6g800000gn/T/tmp.MLCVX8rwMP Downloaded 1 package in 1.15s
Installed 17 packages in 66ms
+ aiobotocore==2.11.2
+ aiohttp==3.9.3
+ aioitertools==0.11.0
+ aiosignal==1.3.1
+ attrs==23.2.0
+ botocore==1.34.34
+ frozenlist==1.4.1
+ idna==3.6
+ jmespath==1.0.1
+ multidict==6.0.5
+ python-dateutil==2.8.2
+ s3fs==2024.2.0
+ six==1.16.0
- test-project==0.0.1 (from file:///private/var/folders/xh/trg29z296h70n109kwfk6g800000gn/T/tmp.MLCVX8rwMP)
+ test-project==0.0.1 (from file:///private/var/folders/xh/trg29z296h70n109kwfk6g800000gn/T/tmp.MLCVX8rwMP)
+ urllib3==2.0.7
+ wrapt==1.16.0
+ yarl==1.9.4 |
## Summary Ensures that local dependencies function similarly to editables, in that if they're `uv pip install`ed, we invalidate them. Closes #1651.
Let's say I have a project with the following dependencies, and installed the package using:
And, later if I add any new dependencies, doing
uv pip install -e "."
does not pick new dependencies and/or install them, unless I pass--upgrade
.This differs from
pip install
behaviour.uv version
The text was updated successfully, but these errors were encountered: