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:
@@ -28,7 +28,7 @@ jobs:
|
|||||||
uses: PyO3/maturin-action@v1
|
uses: PyO3/maturin-action@v1
|
||||||
with:
|
with:
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
args: --release --out dist --find-interpreter
|
args: --release --out dist -i python3.10 -i python3.11 -i python3.12
|
||||||
manylinux: auto
|
manylinux: auto
|
||||||
|
|
||||||
- name: Upload wheels
|
- name: Upload wheels
|
||||||
|
|||||||
Reference in New Issue
Block a user