Skip to content

Commit bf58342

Browse files
fix: pin Python interpreter versions to avoid PyO3 3.14 incompatibility
--find-interpreter detected Python 3.14 on runners, which PyO3 0.23.5 does not support (max 3.13). Explicitly specify -i 3.10 3.11 3.12 3.13 to build wheels for supported versions only. This also fixes the aarch64 Docker container issue where Python auto-detection failed.
1 parent 363d2dc commit bf58342

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: PyO3/maturin-action@v1
3434
with:
3535
target: ${{ matrix.target }}
36-
args: --release --out dist --find-interpreter
36+
args: --release --out dist -i 3.10 3.11 3.12 3.13
3737
manylinux: auto
3838
- uses: actions/upload-artifact@v4
3939
with:

0 commit comments

Comments
 (0)