From ca2965aade2cb23fa2d498bf5b143c16a4433484 Mon Sep 17 00:00:00 2001 From: vatsal Date: Wed, 28 Jan 2026 15:54:37 +0530 Subject: [PATCH] Fix release workflow: Python compatibility issues (#2) - Linux: Add --find-interpreter for cross-compilation - macOS/Windows: Pin Python to 3.12 (PyO3 0.20.3 max supported) --- .github/workflows/release.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad0e1a6..e5b0a77 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist + args: --release --out dist --find-interpreter manylinux: auto - name: Upload wheels @@ -46,6 +46,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.12' + - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -67,6 +72,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.12' + - name: Build wheels uses: PyO3/maturin-action@v1 with: