mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-01 20:31:12 +00:00
Add support for --no-build-isolation (#2258)
## Summary This PR adds support for pip's `--no-build-isolation`. When enabled, build requirements won't be installed during PEP 517-style builds, but the source environment _will_ be used when executing the build steps themselves. Closes https://github.com/astral-sh/uv/issues/1715.
This commit is contained in:
parent
d249574a47
commit
5ae5980c88
19 changed files with 244 additions and 64 deletions
|
|
@ -64,6 +64,5 @@ pub fn create_venv(
|
|||
|
||||
// Create the corresponding `PythonEnvironment`.
|
||||
let interpreter = interpreter.with_virtualenv(virtualenv);
|
||||
let root = interpreter.prefix().to_path_buf();
|
||||
Ok(PythonEnvironment::from_interpreter(interpreter, root))
|
||||
Ok(PythonEnvironment::from_interpreter(interpreter))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue