Skip to content

Commit 32c98b0

Browse files
committed
Support Python 3.14
1 parent 8a3b275 commit 32c98b0

File tree

5 files changed

+34
-21
lines changed

5 files changed

+34
-21
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
python-version: [
19-
"3.9", "3.10", "3.11", "3.12", "3.13-dev"
19+
"3.9", "3.10", "3.11", "3.12", "3.13", "3.14"
2020
]
2121
os: [ubuntu-latest, macos-latest, windows-latest]
2222

@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions-rs/toolchain@v1
2626
with:
2727
toolchain: stable
28-
- uses: actions/setup-python@v5
28+
- uses: actions/setup-python@v6
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131
- name: Install dependencies
@@ -40,7 +40,7 @@ jobs:
4040

4141
check_rust:
4242
name: Check Rust
43-
runs-on: ubuntu-22.04
43+
runs-on: ubuntu-24.04
4444
steps:
4545
- uses: actions/checkout@v4
4646
- uses: actions-rs/toolchain@v1
@@ -59,17 +59,17 @@ jobs:
5959
working-directory: ./rust
6060

6161
benchmarks:
62-
runs-on: ubuntu-22.04
62+
runs-on: ubuntu-24.04
6363
steps:
64-
- uses: actions/checkout@v4
64+
- uses: actions/checkout@v5
6565

6666
- name: Install uv
67-
uses: astral-sh/setup-uv@v5
67+
uses: astral-sh/setup-uv@v7
6868

6969
- name: Setup python
70-
uses: actions/setup-python@v5
70+
uses: actions/setup-python@v6
7171
with:
72-
python-version: "3.13"
72+
python-version: "3.14"
7373
allow-prereleases: true
7474

7575
# Temporarily install hardcoded dependencies here.
@@ -82,8 +82,9 @@ jobs:
8282
uv pip install pytest==7.4.4 pyyaml==6.0.1 pytest-codspeed==3.2.0 Django==5.1.1 /home/runner/work/grimp/grimp
8383
8484
- name: Run benchmarks
85-
uses: CodSpeedHQ/action@v3
85+
uses: CodSpeedHQ/action@v4
8686
with:
8787
token: ${{ secrets.CODSPEED_TOKEN }}
88+
mode: instrumentation
8889
run: |
8990
uv run pytest tests/benchmarking/ --codspeed

.github/workflows/release.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,16 @@ jobs:
3333
- runner: ubuntu-latest
3434
target: ppc64le
3535
steps:
36-
- uses: actions/checkout@v4
37-
- uses: actions/setup-python@v5
36+
- uses: actions/checkout@v5
37+
- uses: actions/setup-python@v6
3838
with:
3939
python-version: |
4040
3.9
4141
3.10
4242
3.11
4343
3.12
4444
3.13
45+
3.14
4546
allow-prereleases: true
4647
- name: Build wheels
4748
uses: PyO3/maturin-action@v1
@@ -70,15 +71,16 @@ jobs:
7071
- runner: ubuntu-latest
7172
target: armv7
7273
steps:
73-
- uses: actions/checkout@v4
74-
- uses: actions/setup-python@v5
74+
- uses: actions/checkout@v5
75+
- uses: actions/setup-python@v6
7576
with:
7677
python-version: |
7778
3.9
7879
3.10
7980
3.11
8081
3.12
8182
3.13
83+
3.14
8284
allow-prereleases: true
8385
- name: Build wheels
8486
uses: PyO3/maturin-action@v1
@@ -103,15 +105,16 @@ jobs:
103105
- runner: windows-latest
104106
target: x86
105107
steps:
106-
- uses: actions/checkout@v4
107-
- uses: actions/setup-python@v5
108+
- uses: actions/checkout@v5
109+
- uses: actions/setup-python@v6
108110
with:
109111
python-version: |
110112
3.9
111113
3.10
112114
3.11
113115
3.12
114116
3.13
117+
3.14
115118
allow-prereleases: true
116119
architecture: ${{ matrix.platform.target }}
117120
- name: Build wheels
@@ -136,15 +139,16 @@ jobs:
136139
- runner: macos-14
137140
target: aarch64
138141
steps:
139-
- uses: actions/checkout@v4
140-
- uses: actions/setup-python@v5
142+
- uses: actions/checkout@v5
143+
- uses: actions/setup-python@v6
141144
with:
142145
python-version: |
143146
3.9
144147
3.10
145148
3.11
146149
3.12
147150
3.13
151+
3.14
148152
allow-prereleases: true
149153
- name: Build wheels
150154
uses: PyO3/maturin-action@v1
@@ -161,7 +165,7 @@ jobs:
161165
sdist:
162166
runs-on: ubuntu-latest
163167
steps:
164-
- uses: actions/checkout@v4
168+
- uses: actions/checkout@v5
165169
- name: Build sdist
166170
uses: PyO3/maturin-action@v1
167171
with:

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Changelog
33
=========
44

5+
latest
6+
------
7+
8+
* Officially support Python 3.14.
9+
510
3.11 (2025-09-01)
611
-----------------
712

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ classifiers = [
3131
"Programming Language :: Python :: 3.11",
3232
"Programming Language :: Python :: 3.12",
3333
"Programming Language :: Python :: 3.13",
34+
"Programming Language :: Python :: 3.14",
3435
"Programming Language :: Python :: Implementation :: CPython",
3536
"Programming Language :: Rust",
3637
"Topic :: Utilities",

tox.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ envlist =
33
clean,
44
check,
55
docs,
6-
{py39,py310,py311,py312,py313},
6+
{py39,py310,py311,py312,py313,py314},
77

88
[base]
99
deps =
@@ -26,6 +26,7 @@ basepython =
2626
py311: {env:TOXPYTHON:python3.11}
2727
py312: {env:TOXPYTHON:python3.12}
2828
py313: {env:TOXPYTHON:python3.13}
29+
py314: {env:TOXPYTHON:python3.14}
2930
{clean,check,docs,report}: {env:TOXPYTHON:python3}
3031
setenv =
3132
PYTHONPATH={toxinidir}/tests
@@ -55,7 +56,7 @@ commands =
5556
lint-imports
5657

5758
[testenv:benchmark]
58-
basepython = py313
59+
basepython = py314
5960
setenv =
6061
PYTHONPATH={toxinidir}/tests
6162
PYTHONUNBUFFERED=yes
@@ -71,7 +72,7 @@ commands =
7172
{posargs:pytest --benchmark-only --benchmark-autosave}
7273

7374
[testenv:codspeed]
74-
basepython = py313
75+
basepython = py314
7576
setenv =
7677
PYTHONPATH={toxinidir}/tests
7778
PYTHONUNBUFFERED=yes
@@ -115,3 +116,4 @@ python =
115116
3.11: py311, report
116117
3.12: py312, report
117118
3.13: py313, report, check, docs
119+
3.14: py314, report

0 commit comments

Comments
 (0)