Skip to content

Commit e0fae53

Browse files
committed
fix: uv doesn't pick special Pythons at the top of the path
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent 2ae26f9 commit e0fae53

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
@@ -310,6 +310,7 @@ def build_in_container(
310310
[
311311
"uv",
312312
"build",
313+
"--python=python",
313314
container_package_dir,
314315
"--wheel",
315316
f"--out-dir={built_wheel_dir}",

cibuildwheel/platforms/macos.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ def build(options: Options, tmp_path: Path) -> None:
515515
call(
516516
"uv",
517517
"build",
518+
"--python=python",
518519
build_options.package_dir,
519520
"--wheel",
520521
f"--out-dir={built_wheel_dir}",

cibuildwheel/platforms/windows.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ def build(options: Options, tmp_path: Path) -> None:
511511
call(
512512
"uv",
513513
"build",
514+
"--python=python",
514515
build_options.package_dir,
515516
"--wheel",
516517
f"--out-dir={built_wheel_dir}",

0 commit comments

Comments
 (0)