Skip to content

Commit 3d16843

Browse files
Build CPython 3.14 wheels
1 parent ce68a75 commit 3d16843

File tree

3 files changed

+27
-7
lines changed

3 files changed

+27
-7
lines changed

.github/workflows/CI.yml

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161
3.12
6262
3.13
6363
3.13t
64+
3.14
65+
3.14t
6466
pypy3.9
6567
pypy3.10
6668
pypy3.11
@@ -94,6 +96,8 @@ jobs:
9496
3.12
9597
3.13
9698
3.13t
99+
3.14
100+
3.14t
97101
pypy3.9
98102
pypy3.10
99103
pypy3.11
@@ -102,7 +106,7 @@ jobs:
102106
uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1.49.1
103107
with:
104108
target: ${{ matrix.target }}
105-
args: --release --out dist --interpreter '3.9 3.10 3.11 3.12 3.13 3.13t pypy3.9 pypy3.10 pypy3.11'
109+
args: --release --out dist --interpreter '3.9 3.10 3.11 3.12 3.13 3.13t 3.14 3.14t pypy3.9 pypy3.10 pypy3.11'
106110
sccache: ${{ github.ref_type != 'tag' }} # zizmor: ignore[cache-poisoning]
107111
manylinux: auto
108112
- name: Upload wheels
@@ -136,6 +140,8 @@ jobs:
136140
3.12
137141
3.13
138142
3.13t
143+
3.14
144+
3.14t
139145
pypy3.9
140146
pypy3.10
141147
pypy3.11
@@ -144,7 +150,7 @@ jobs:
144150
uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1.49.1
145151
with:
146152
target: ${{ matrix.target }}
147-
args: --release --out dist --interpreter '3.9 3.10 3.11 3.12 3.13 3.13t pypy3.9 pypy3.10 pypy3.11'
153+
args: --release --out dist --interpreter '3.9 3.10 3.11 3.12 3.13 3.13t 3.14 3.14t pypy3.9 pypy3.10 pypy3.11'
148154
manylinux: musllinux_1_2
149155
sccache: ${{ github.ref_type != 'tag' }} # zizmor: ignore[cache-poisoning]
150156
- name: Upload wheels
@@ -174,6 +180,7 @@ jobs:
174180
3.11
175181
3.12
176182
3.13
183+
3.14
177184
${{ matrix.target == 'x64' && 'pypy3.9' || '' }}
178185
${{ matrix.target == 'x64' && 'pypy3.10' || '' }}
179186
allow-prereleases: true
@@ -182,7 +189,7 @@ jobs:
182189
uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1.49.1
183190
with:
184191
target: ${{ matrix.target }}
185-
args: --release --out dist --interpreter '3.9 3.10 3.11 3.12 3.13' --interpreter ${{ matrix.target == 'x64' && 'pypy3.9 pypy3.10' || '' }}
192+
args: --release --out dist --interpreter '3.9 3.10 3.11 3.12 3.13 3.14' --interpreter ${{ matrix.target == 'x64' && 'pypy3.9 pypy3.10' || '' }}
186193
sccache: ${{ github.ref_type != 'tag' }} # zizmor: ignore[cache-poisoning]
187194
- name: Upload wheels
188195
uses: actions/upload-artifact@v4
@@ -223,6 +230,12 @@ jobs:
223230
python-version: 3.13
224231
allow-prereleases: true
225232
architecture: arm64
233+
- uses: actions/setup-python@v5
234+
id: cp314
235+
with:
236+
python-version: 3.14
237+
allow-prereleases: true
238+
architecture: arm64
226239
# rust toolchain is not currently installed on windopws arm64 images: https://github.com/actions/partner-runner-images/issues/77
227240
- name: Setup rust
228241
id: setup-rust
@@ -234,7 +247,7 @@ jobs:
234247
uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1.49.1
235248
with:
236249
target: ${{ matrix.target }}
237-
args: --release --out dist --interpreter ${{ steps.cp311.outputs.python-path }} ${{ steps.cp312.outputs.python-path }} ${{ steps.cp313.outputs.python-path }}
250+
args: --release --out dist --interpreter ${{ steps.cp311.outputs.python-path }} ${{ steps.cp312.outputs.python-path }} ${{ steps.cp313.outputs.python-path }} ${{ steps.cp314.outputs.python-path }}
238251
sccache: ${{ github.ref_type != 'tag' }} # zizmor: ignore[cache-poisoning]
239252
- name: Upload wheels
240253
uses: actions/upload-artifact@v4
@@ -259,14 +272,16 @@ jobs:
259272
persist-credentials: false
260273
- uses: actions/setup-python@v5
261274
with:
262-
python-version: 3.13t
275+
python-version: |
276+
3.13t
277+
3.14t
263278
allow-prereleases: true
264279
architecture: ${{ matrix.target }}
265280
- name: Build wheels
266281
uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1.49.1
267282
with:
268283
target: ${{ matrix.target }}
269-
args: --release --out dist --interpreter '3.13t'
284+
args: --release --out dist --interpreter '3.13t 3.14t'
270285
sccache: ${{ github.ref_type != 'tag' }} # zizmor: ignore[cache-poisoning]
271286
- name: Upload wheels
272287
uses: actions/upload-artifact@v4
@@ -296,6 +311,8 @@ jobs:
296311
3.12
297312
3.13
298313
3.13t
314+
3.14
315+
3.14t
299316
pypy3.9
300317
pypy3.10
301318
pypy3.11
@@ -304,7 +321,7 @@ jobs:
304321
uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1.49.1
305322
with:
306323
target: ${{ matrix.target }}
307-
args: --release --out dist --interpreter '3.9 3.10 3.11 3.12 3.13 3.13t pypy3.9 pypy3.10 pypy3.11'
324+
args: --release --out dist --interpreter '3.9 3.10 3.11 3.12 3.13 3.13t 3.14 3.14t pypy3.9 pypy3.10 pypy3.11'
308325
sccache: ${{ github.ref_type != 'tag' }} # zizmor: ignore[cache-poisoning]
309326
- name: Upload wheels
310327
uses: actions/upload-artifact@v4

noxfile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
"3.12",
2727
"3.13",
2828
"3.13t",
29+
"3.14",
30+
"3.14t",
2931
]
3032
LATEST = "3.13"
3133

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ classifiers = [
2323
"Programming Language :: Python :: 3.11",
2424
"Programming Language :: Python :: 3.12",
2525
"Programming Language :: Python :: 3.13",
26+
"Programming Language :: Python :: 3.14",
2627
"Programming Language :: Python :: 3",
2728
"Programming Language :: Python :: Implementation :: CPython",
2829
"Programming Language :: Python :: Implementation :: PyPy",

0 commit comments

Comments
 (0)