Skip to content

Commit fe61537

Browse files
authored
fix building wheels (exclude python 3.13t) (#112)
* fix building wheels (exclude python 3.13t) * Explicitly install 3.13 on windows
1 parent 08c77c7 commit fe61537

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/python-wheels.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
uses: PyO3/maturin-action@v1
4242
with:
4343
target: ${{ matrix.platform.target }}
44-
args: --release --out dist --find-interpreter -m python/Cargo.toml
44+
args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13 -m python/Cargo.toml
4545
sccache: "true"
4646
manylinux: auto
4747
- name: Upload wheels
@@ -72,7 +72,7 @@ jobs:
7272
uses: PyO3/maturin-action@v1
7373
with:
7474
target: ${{ matrix.platform.target }}
75-
args: --release --out dist --find-interpreter -m python/Cargo.toml
75+
args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13 -m python/Cargo.toml
7676
sccache: "true"
7777
manylinux: musllinux_1_2
7878
- name: Upload wheels
@@ -94,13 +94,13 @@ jobs:
9494
- uses: actions/checkout@v4
9595
- uses: actions/setup-python@v5
9696
with:
97-
python-version: 3.x
97+
python-version: 3.13
9898
architecture: ${{ matrix.platform.target }}
9999
- name: Build wheels
100100
uses: PyO3/maturin-action@v1
101101
with:
102102
target: ${{ matrix.platform.target }}
103-
args: --release --out dist --find-interpreter -m python/Cargo.toml
103+
args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13 -m python/Cargo.toml
104104
sccache: "true"
105105
- name: Upload wheels
106106
uses: actions/upload-artifact@v4
@@ -126,7 +126,7 @@ jobs:
126126
uses: PyO3/maturin-action@v1
127127
with:
128128
target: ${{ matrix.platform.target }}
129-
args: --release --out dist --find-interpreter -m python/Cargo.toml
129+
args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13 -m python/Cargo.toml
130130
sccache: "true"
131131
- name: Upload wheels
132132
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)