Skip to content

Commit 2d3a80d

Browse files
committed
fix: pin Python 3.12 interpreter for maturin builds
--find-interpreter picks up Python 3.14 on CI runners which pyo3 0.23 doesn't support. Use explicit -i python3.12 instead.
1 parent 6ef4737 commit 2d3a80d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
uses: PyO3/maturin-action@v1
5353
with:
5454
target: ${{ matrix.target }}
55-
args: --release --out dist --find-interpreter
55+
args: --release --out dist -i python3.12
5656
manylinux: auto
5757

5858
- name: Upload wheels

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
uses: PyO3/maturin-action@v1
5050
with:
5151
target: ${{ matrix.target }}
52-
args: --release --out dist --find-interpreter
52+
args: --release --out dist -i python3.12
5353
manylinux: auto
5454

5555
- name: Upload wheels

0 commit comments

Comments
 (0)