Skip to content

Commit 697bfb7

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 3b39d48 commit 697bfb7

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
@@ -504,6 +504,7 @@ def build(options: Options, tmp_path: Path) -> None:
504504
call(
505505
"uv",
506506
"build",
507+
"--python=python",
507508
build_options.package_dir,
508509
"--wheel",
509510
f"--out-dir={built_wheel_dir}",

0 commit comments

Comments
 (0)