Skip to content

Commit 861e20f

Browse files
authored
Add support for Python 3.14 (#233)
2 parents 7652bba + 0a9ac6b commit 861e20f

File tree

6 files changed

+18
-8
lines changed

6 files changed

+18
-8
lines changed

.github/workflows/deploy.yml

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- uses: actions/checkout@v4
2828
with:
2929
fetch-depth: 0
30+
persist-credentials: false
3031

3132
- uses: hynek/build-and-inspect-python-package@v2
3233

.github/workflows/labels.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Sync labels
22

3-
permissions:
4-
pull-requests: write
5-
63
on:
74
push:
85
branches:
@@ -13,9 +10,13 @@ on:
1310

1411
jobs:
1512
sync:
13+
permissions:
14+
pull-requests: write
1615
runs-on: ubuntu-latest
1716
steps:
1817
- uses: actions/checkout@v4
18+
with:
19+
persist-credentials: false
1920
- uses: micnncim/action-label-syncer@v1
2021
with:
2122
prune: false

.github/workflows/lint.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,9 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v4
17-
- uses: hugovk/[email protected]
17+
with:
18+
persist-credentials: false
19+
- uses: actions/setup-python@v5
20+
with:
21+
python-version: "3.x"
22+
- uses: tox-dev/action-pre-commit-uv@v1

.github/workflows/test.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python-version: ["pypy3.10", "3.9", "3.10", "3.11", "3.12", "3.13"]
17+
python-version: ["pypy3.10", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
1818
os: [windows-latest, macos-latest, ubuntu-latest]
1919

2020
steps:
2121
- uses: actions/checkout@v4
22+
with:
23+
persist-credentials: false
2224

2325
- name: Set up Python ${{ matrix.python-version }}
2426
uses: actions/setup-python@v5
@@ -38,7 +40,7 @@ jobs:
3840
uvx --with tox-uv tox -e cli
3941
4042
- name: Tox tests (pins)
41-
if: matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest'
43+
if: matrix.python-version == '3.13' && matrix.os == 'ubuntu-latest'
4244
run: |
4345
uvx --with tox-uv tox -e pins
4446

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ classifiers = [
3030
"Programming Language :: Python :: 3.11",
3131
"Programming Language :: Python :: 3.12",
3232
"Programming Language :: Python :: 3.13",
33+
"Programming Language :: Python :: 3.14",
3334
"Programming Language :: Python :: Implementation :: CPython",
3435
"Programming Language :: Python :: Implementation :: PyPy",
3536
]
@@ -97,7 +98,7 @@ lint.isort.known-first-party = [ "norwegianblue" ]
9798
lint.isort.required-imports = [ "from __future__ import annotations" ]
9899

99100
[tool.pyproject-fmt]
100-
max_supported_python = "3.13"
101+
max_supported_python = "3.14"
101102

102103
[tool.pytest.ini_options]
103104
addopts = "--color=yes"

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ env_list =
66
cli
77
lint
88
pins
9-
py{py3, 313, 312, 311, 310, 39}
9+
py{py3, 314, 313, 312, 311, 310, 39}
1010

1111
[testenv]
1212
extras =

0 commit comments

Comments
 (0)