Skip to content

Commit f22d144

Browse files
authored
feat: add support for python 3.14 (#394)
1 parent cd432a2 commit f22d144

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/pre-commit-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
2020
with:
21-
python-version: '3.13'
21+
python-version: '3.14'
2222

2323
- name: Install Hatch
2424
uses: pypa/hatch@install

.github/workflows/python-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
- '3.11'
3131
- '3.12'
3232
- '3.13'
33+
- '3.14'
3334
steps:
3435
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
3536

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers = [
1919
"Programming Language :: Python :: 3.11",
2020
"Programming Language :: Python :: 3.12",
2121
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2223
]
2324
dependencies = ["attrs>=20.3.0", "typing_extensions"]
2425

@@ -46,9 +47,7 @@ dependencies = [
4647
"mypy==1.18.2",
4748
"ruamel.yaml==0.18.15",
4849
]
49-
post-install-commands = [
50-
"hatch run pre-commit install -f"
51-
]
50+
post-install-commands = ["hatch run pre-commit install -f"]
5251

5352
[tool.hatch.envs.default.scripts]
5453
fix-pre-commit = ["hatch run python3 -m scripts.fix_pre_commit"]
@@ -68,7 +67,7 @@ run-cov = "coverage run -m pytest{env:HATCH_TEST_ARGS:} {args}"
6867
cov-combine = "coverage combine"
6968
cov-report = ["coverage report --show-missing --skip-covered", "coverage xml"]
7069
[[tool.hatch.envs.hatch-test.matrix]]
71-
python = ["3.13", "3.12", "3.11", "3.10"]
70+
python = ["3.14", "3.13", "3.12", "3.11", "3.10"]
7271

7372
[tool.hatch.envs.types]
7473
extra-dependencies = ["mypy==1.18.2"]

0 commit comments

Comments
 (0)