Skip to content
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

Add support for --prefix #4085

Merged
merged 2 commits into from
Jun 6, 2024
Merged

Add support for --prefix #4085

merged 2 commits into from
Jun 6, 2024

Conversation

charliermarsh
Copy link
Member

Summary

Closes #3076.

@charliermarsh charliermarsh added the compatibility Compatibility with a specification or another tool label Jun 6, 2024
@charliermarsh charliermarsh marked this pull request as ready for review June 6, 2024 02:26
@charliermarsh charliermarsh force-pushed the charlie/prefix branch 4 times, most recently from 89ee399 to 6c920c3 Compare June 6, 2024 02:52
@charliermarsh charliermarsh merged commit 52bdee2 into main Jun 6, 2024
46 checks passed
@charliermarsh charliermarsh deleted the charlie/prefix branch June 6, 2024 20:15
charliermarsh pushed a commit that referenced this pull request Jun 25, 2024
## Summary

In #4085, support was implemented for the `--prefix` option. When using
this option, however, a lock is either acquired on the virtualenv or
globally, preventing multiple installs to different `--prefix`s from the
same interpreter.

In this change, acquire the lock on just the prefix in question.

## Test Plan

Ran a `uv pip install` with `--prefix` and `RUST_LOG=trace` and observed
that the lock was acquired in the prefix.
charliermarsh pushed a commit that referenced this pull request Jun 25, 2024
## Summary

Since #4085, `--prefix` has been implemented and thus is no longer a
compatibility.

## Test Plan

N/a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility with a specification or another tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add --prefix flag for uv pip install
2 participants