Skip to content

Commit 691fae4

Browse files
timsaucerclaude
andcommitted
ci: use uvx to run maturin in native wheel builds
The free-threaded matrix entries skip `uv sync` to avoid resolving project dependencies against cp313t/cp314t (many dev deps lack free-threaded wheels), so `uv run --no-project maturin` failed on macOS/Windows with "Failed to spawn: `maturin`". Switch to `uvx maturin@1.8.1`, which runs maturin in an isolated tool env independent of the project venv and matches the pin used by maturin-action for manylinux builds. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 5f38b20 commit 691fae4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/actions/build-wheel/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,6 @@ runs:
8989
- name: Build via native maturin
9090
if: inputs.manylinux == ''
9191
shell: bash
92-
run: uv run --no-project maturin build ${{ steps.args.outputs.args }}
92+
# Use `uvx` so maturin is available even when `uv sync` was skipped
93+
# (free-threaded matrix entries don't pre-populate the project venv).
94+
run: uvx maturin@1.8.1 build ${{ steps.args.outputs.args }}

0 commit comments

Comments
 (0)