File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ def build_in_container(
282
282
if not 0 <= build_options .build_verbosity < 2 :
283
283
msg = f"build_verbosity { build_options .build_verbosity } is not supported for build frontend. Ignoring."
284
284
log .warning (msg )
285
- if use_uv :
285
+ if use_uv and "--no-isolation" not in extra_flags and "-n" not in extra_flags :
286
286
extra_flags += ["--installer=uv" ]
287
287
container .call (
288
288
[
Original file line number Diff line number Diff line change @@ -505,7 +505,7 @@ def build(options: Options, tmp_path: Path) -> None:
505
505
if not 0 <= build_options .build_verbosity < 2 :
506
506
msg = f"build_verbosity { build_options .build_verbosity } is not supported for build frontend. Ignoring."
507
507
log .warning (msg )
508
- if use_uv :
508
+ if use_uv and "--no-isolation" not in extra_flags and "-n" not in extra_flags :
509
509
extra_flags .append ("--installer=uv" )
510
510
call (
511
511
"python" ,
Original file line number Diff line number Diff line change @@ -441,7 +441,7 @@ def build(options: Options, tmp_path: Path) -> None:
441
441
if not 0 <= build_options .build_verbosity < 2 :
442
442
msg = f"build_verbosity { build_options .build_verbosity } is not supported for build frontend. Ignoring."
443
443
log .warning (msg )
444
- if use_uv :
444
+ if use_uv and "--no-isolation" not in extra_flags and "-n" not in extra_flags :
445
445
extra_flags .append ("--installer=uv" )
446
446
call (
447
447
"python" ,
You can’t perform that action at this time.
0 commit comments