Skip to content

Commit 8b3ee8d

Browse files
committed
fix: uv doesn't pick special Pythons at the top of the path
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 9390467 commit 8b3ee8d

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

cibuildwheel/platforms/linux.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ def build_in_container(
308308
[
309309
"uv",
310310
"build",
311+
"--python=python",
311312
container_package_dir,
312313
"--wheel",
313314
f"--out-dir={built_wheel_dir}",

cibuildwheel/platforms/macos.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,7 @@ def build(options: Options, tmp_path: Path) -> None:
509509
call(
510510
"uv",
511511
"build",
512+
"--python=python",
512513
build_options.package_dir,
513514
"--wheel",
514515
f"--out-dir={built_wheel_dir}",

cibuildwheel/platforms/windows.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ def build(options: Options, tmp_path: Path) -> None:
444444
call(
445445
"uv",
446446
"build",
447+
"--python=python",
447448
build_options.package_dir,
448449
"--wheel",
449450
f"--out-dir={built_wheel_dir}",

0 commit comments

Comments
 (0)