-
Notifications
You must be signed in to change notification settings - Fork 765
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
Unable to install subdirectory using uv pip install
with a git tag
#6093
Comments
I just ran this without error on my machine. Are you certain you're on the latest version?
|
I produced a similar error to this in https://github.com/astral-sh/uv/pull/6073/files#diff-273076013b4f5a8139defd5dcd24f5d1eb91c0266dceb4448fdeddceb79f7738R1377-R1379, but that's in a workspace context. |
I think something is going on with the cache. Here is a reproducer: uv env first
source first/bin/activate
uv pip install --cache-dir uv_cache git+https://github.com/flyteorg/flytekit@9be1060a7a353cbeb566a10913356dee8a07717a#subdirectory=plugins/flytekit-flyteinteractive
deactivate
uv env second
source second/bin/activate
uv pip install --cache-dir uv_cache git+https://github.com/flyteorg/flytekit@9be1060a7a353cbeb566a10913356dee8a07717a#subdirectory=plugins/flytekit-flyteinteractive |
Interesting, I reproduced that. Here's the verbose output
|
Doing some debugging, the problem appears to be that we're inferring the requirement on |
Be sure to review #5944 if you haven't already and the comments in there. |
I've got a fix up at #6094. Thanks! |
Thanks for confirming! |
Similar to #5942, but with a git tag:
This returns an error:
I am using uv 0.2.36 on macOS 14.5.
The text was updated successfully, but these errors were encountered: