fix: support --no-isolation with build[uv] (#1889)
* fix: support --no-isolation with build[uv] Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * docs: mention caveat Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
@@ -505,7 +505,7 @@ def build(options: Options, tmp_path: Path) -> None:
|
||||
if not 0 <= build_options.build_verbosity < 2:
|
||||
msg = f"build_verbosity {build_options.build_verbosity} is not supported for build frontend. Ignoring."
|
||||
log.warning(msg)
|
||||
if use_uv:
|
||||
if use_uv and "--no-isolation" not in extra_flags and "-n" not in extra_flags:
|
||||
extra_flags.append("--installer=uv")
|
||||
call(
|
||||
"python",
|
||||
|
||||
Reference in New Issue
Block a user