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.
This commit is contained in:
vatsal
2026-01-28 16:05:18 +05:30
committed by GitHub
parent ca2965aade
commit 5ca413ebbf
+1 -1
View File
@@ -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