Skip to content

Commit 7253ffc

Browse files
authored
Add support for Python 3.14 (#236)
1 parent d0b0a15 commit 7253ffc

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/tests.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
branch: ["origin/main", "3.13", "3.12"]
15+
branch: ["3.14", "3.13", "3.12"]
1616
steps:
1717
- uses: actions/checkout@v4
1818
- uses: actions/setup-python@v5
1919
with:
20-
python-version: 3
20+
python-version: ${{ matrix.branch }}
2121
allow-prereleases: true
2222
cache: pip
2323
- name: Clone docsbuild scripts
@@ -39,6 +39,7 @@ jobs:
3939
--theme "$(pwd)"
4040
--languages en
4141
--branches ${{ matrix.branch }}
42+
${{ matrix.branch == '3.14' && '--select-output no-html' || '' }}
4243
- name: Show logs
4344
if: failure()
4445
run: |

.pre-commit-config.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ repos:
3636
rev: v2.5.0
3737
hooks:
3838
- id: pyproject-fmt
39-
args: [--max-supported-python=3.13]
4039

4140
- repo: https://github.com/abravalheri/validate-pyproject
4241
rev: v0.23

pyproject.toml

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
"Programming Language :: Python :: 3 :: Only",
2222
"Programming Language :: Python :: 3.12",
2323
"Programming Language :: Python :: 3.13",
24+
"Programming Language :: Python :: 3.14",
2425
"Topic :: Documentation",
2526
"Topic :: Software Development :: Documentation",
2627
]
@@ -67,3 +68,6 @@ lint.ignore = [
6768
"E241", # Multiple spaces after ','
6869
]
6970
lint.isort.required-imports = [ "from __future__ import annotations" ]
71+
72+
[tool.pyproject-fmt]
73+
max_supported_python = "3.14"

0 commit comments

Comments
 (0)