From 5ca413ebbfc38b3ab1887ad35155d0daf9940b09 Mon Sep 17 00:00:00 2001 From: vatsal Date: Wed, 28 Jan 2026 16:05:18 +0530 Subject: [PATCH] Fix/release workflow python (#3) * Fix release workflow: Python compatibility issues - Linux: Add --find-interpreter for cross-compilation - macOS/Windows: Pin Python to 3.12 (PyO3 0.20.3 max supported) * Fix Linux release: limit Python versions to 3.10-3.12 PyO3 0.20.3 only supports up to Python 3.12. Using --find-interpreter detected Python 3.13/3.14 in the manylinux container which caused build failures. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e5b0a77..763e02f 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 --find-interpreter + args: --release --out dist -i python3.10 -i python3.11 -i python3.12 manylinux: auto - name: Upload wheels