Skip to content

Commit cab0595

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 0a5f084 commit cab0595

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

Diff for: cibuildwheel/platforms/linux.py

+1
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}",

Diff for: cibuildwheel/platforms/macos.py

+1
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ def build(options: Options, tmp_path: Path) -> None:
513513
call(
514514
"uv",
515515
"build",
516+
"--python=python",
516517
build_options.package_dir,
517518
"--wheel",
518519
f"--out-dir={built_wheel_dir}",

Diff for: cibuildwheel/platforms/windows.py

+1
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@ def build(options: Options, tmp_path: Path) -> None:
448448
call(
449449
"uv",
450450
"build",
451+
"--python=python",
451452
build_options.package_dir,
452453
"--wheel",
453454
f"--out-dir={built_wheel_dir}",

0 commit comments

Comments
 (0)