Skip to content

Commit 9568119

Browse files
authored
Add free-threaded Python 3.14t to the testing (#3348)
https://hugovk.dev/blog/2025/free-threaded-python-on-github-actions
2 parents 19196a8 + f05398f commit 9568119

File tree

3 files changed

+16
-19
lines changed

3 files changed

+16
-19
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ jobs:
3333

3434
steps:
3535
- name: Switch to using Python 3.11
36-
uses: actions/setup-python@v5
36+
uses: actions/setup-python@v6
3737
with:
3838
python-version: 3.11
3939

4040
- name: Grab the source from Git
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v5
4242
with:
4343
persist-credentials: false
4444

@@ -74,7 +74,7 @@ jobs:
7474
SDIST: ${{ steps.artifact-name.outputs.sdist }}
7575
WHEEL: ${{ steps.artifact-name.outputs.wheel }}
7676
- name: Store the distribution packages
77-
uses: actions/upload-artifact@v4
77+
uses: actions/upload-artifact@v5
7878
with:
7979
name: ${{ env.dists-artifact-name }}
8080
# NOTE: Exact expected file names are specified here
@@ -104,7 +104,7 @@ jobs:
104104
105105
- name: >-
106106
Smoke-test: grab the source from Git into git-src
107-
uses: actions/checkout@v4
107+
uses: actions/checkout@v5
108108
with:
109109
path: git-src
110110
persist-credentials: false
@@ -155,7 +155,7 @@ jobs:
155155
strategy:
156156
fail-fast: false
157157
matrix:
158-
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
158+
python: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
159159
arch: ['x86', 'x64']
160160
lsp: ['']
161161
lsp_extract_file: ['']
@@ -197,8 +197,8 @@ jobs:
197197
with:
198198
source-tarball-name: ${{ needs.build.outputs.sdist-artifact-name }}
199199
workflow-artifact-name: ${{ env.dists-artifact-name }}
200-
- name: Setup python
201-
uses: actions/setup-python@v5
200+
- name: Setup Python
201+
uses: actions/setup-python@v6
202202
with:
203203
python-version: '${{ matrix.python }}'
204204
architecture: '${{ matrix.arch }}'
@@ -228,7 +228,7 @@ jobs:
228228
strategy:
229229
fail-fast: false
230230
matrix:
231-
python: ['pypy-3.11', '3.10', '3.11', '3.12', '3.13', '3.14']
231+
python: ['pypy-3.11', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
232232
check_formatting: ['0']
233233
no_test_requirements: ['0']
234234
extra_name: ['']
@@ -261,8 +261,8 @@ jobs:
261261
uses: actions/checkout@v4
262262
with:
263263
persist-credentials: false
264-
- name: Setup python
265-
uses: actions/setup-python@v5
264+
- name: Setup Python
265+
uses: actions/setup-python@v6
266266
with:
267267
python-version: '${{ matrix.python }}'
268268
cache: pip
@@ -301,7 +301,7 @@ jobs:
301301
strategy:
302302
fail-fast: false
303303
matrix:
304-
python: ['pypy-3.11', '3.10', '3.11', '3.12', '3.13', '3.14']
304+
python: ['pypy-3.11', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
305305
continue-on-error: >-
306306
${{
307307
(
@@ -317,8 +317,8 @@ jobs:
317317
with:
318318
source-tarball-name: ${{ needs.build.outputs.sdist-artifact-name }}
319319
workflow-artifact-name: ${{ env.dists-artifact-name }}
320-
- name: Setup python
321-
uses: actions/setup-python@v5
320+
- name: Setup Python
321+
uses: actions/setup-python@v6
322322
with:
323323
python-version: '${{ matrix.python }}'
324324
cache: pip
@@ -406,8 +406,8 @@ jobs:
406406
with:
407407
source-tarball-name: ${{ needs.build.outputs.sdist-artifact-name }}
408408
workflow-artifact-name: ${{ env.dists-artifact-name }}
409-
- name: Setup python
410-
uses: actions/setup-python@v5
409+
- name: Setup Python
410+
uses: actions/setup-python@v6
411411
with:
412412
python-version: '${{ matrix.python }}'
413413
cache: pip

test-requirements.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ cryptography>=41.0.0 # cryptography<41 segfaults on pypy3.10
1111

1212
# Tools
1313
black; implementation_name == "cpython"
14-
mypy # Would use mypy[faster-cache], but orjson has build issues on pypy
15-
orjson; implementation_name == "cpython" # orjson does not yet install on 3.14
14+
mypy
1615
ruff >= 0.8.0
1716
astor # code generation
1817
uv >= 0.2.24

test-requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ nodeenv==1.9.1
8888
# via
8989
# pre-commit
9090
# pyright
91-
orjson==3.11.3 ; implementation_name == 'cpython'
92-
# via -r test-requirements.in
9391
outcome==1.3.0.post0
9492
# via -r test-requirements.in
9593
packaging==25.0

0 commit comments

Comments
 (0)