uv/crates/uv-toolchain
Eric Mark Martin 967f136564
More precise locking with --prefix option (#4506)
## 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.
2024-06-25 06:47:52 -04:00
..
python Rename uv-interpreter crate to uv-toolchain (#4120) 2024-06-07 13:59:14 -05:00
src More precise locking with --prefix option (#4506) 2024-06-25 06:47:52 -04:00
Cargo.toml Expose toolchain-preference as a CLI and configuration file option (#4424) 2024-06-20 13:42:09 -05:00
download-metadata.json Refactor uv-toolchain::platform to use target-lexicon (#4236) 2024-06-12 09:11:56 -05:00
fetch-download-metadata.py Refactor uv-toolchain::platform to use target-lexicon (#4236) 2024-06-12 09:11:56 -05:00
template-download-metadata.py Add support for toolchain requests by key (#4332) 2024-06-17 13:11:24 -05:00