Skip to content

Commit e48a5a3

Browse files
committed
Add support for 3.14
Signed-off-by: Bernát Gábor <[email protected]>
1 parent c3e3253 commit e48a5a3

File tree

8 files changed

+24
-21
lines changed

8 files changed

+24
-21
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

.github/workflows/check.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
env:
22+
- "3.14t"
23+
- "3.14"
2224
- "3.13"
2325
- "3.12"
2426
- "3.11"
@@ -37,9 +39,9 @@ jobs:
3739
cache-dependency-glob: "pyproject.toml"
3840
github-token: ${{ secrets.GITHUB_TOKEN }}
3941
- name: Install tox
40-
run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv
42+
run: uv tool install --python-preference only-managed --python 3.14 tox --with tox-uv
4143
- name: Install Python
42-
if: startsWith(matrix.env, '3.') && matrix.env != '3.13'
44+
if: startsWith(matrix.env, '3.') && matrix.env != '3.14'
4345
run: uv python install --python-preference only-managed ${{ matrix.env }}
4446
- name: Setup test suite
4547
run: tox run -vv --notest --skip-missing-interpreters false -e ${{ matrix.env }}

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
cache-dependency-glob: "pyproject.toml"
2121
github-token: ${{ secrets.GITHUB_TOKEN }}
2222
- name: Build package
23-
run: uv build --python 3.13 --python-preference only-managed --sdist --wheel . --out-dir dist
23+
run: uv build --python 3.14 --python-preference only-managed --sdist --wheel . --out-dir dist
2424
- name: Store the distribution packages
2525
uses: actions/upload-artifact@v4
2626
with:

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ repos:
1313
rev: v2.4.1
1414
hooks:
1515
- id: codespell
16-
additional_dependencies: ["tomli>=2.0.1"]
16+
additional_dependencies: ["tomli>=2.2.1"]
1717
- repo: https://github.com/tox-dev/tox-ini-fmt
1818
rev: "1.6.0"
1919
hooks:
2020
- id: tox-ini-fmt
2121
args: ["-p", "fix"]
2222
- repo: https://github.com/tox-dev/pyproject-fmt
23-
rev: "v2.7.0"
23+
rev: "v2.8.0"
2424
hooks:
2525
- id: pyproject-fmt
2626
- repo: https://github.com/astral-sh/ruff-pre-commit
27-
rev: "v0.13.3"
27+
rev: "v0.14.0"
2828
hooks:
2929
- id: ruff-format
3030
- id: ruff

pyproject.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[build-system]
22
build-backend = "hatchling.build"
33
requires = [
4-
"hatch-vcs>=0.4",
5-
"hatchling>=1.25",
4+
"hatch-vcs>=0.5",
5+
"hatchling>=1.27",
66
]
77

88
[project]
@@ -39,13 +39,13 @@ dynamic = [
3939
"version",
4040
]
4141
dependencies = [
42-
"sphinx>=8.0.2",
42+
"sphinx>=8.2.3",
4343
]
4444
optional-dependencies.testing = [
4545
"covdefaults>=2.3",
4646
"defusedxml>=0.7.1", # needed for sphinx.testing
47-
"pytest>=8.3.2",
48-
"pytest-cov>=5",
47+
"pytest>=8.4.2",
48+
"pytest-cov>=7",
4949
]
5050
urls.Documentation = "https://github.com/tox-dev/sphinx-argparse-cli#sphinx-argparse-cli"
5151
urls.Homepage = "https://github.com/tox-dev/sphinx-argparse-cli"
@@ -109,7 +109,7 @@ builtin = "clear,usage,en-GB_to_en-US"
109109
count = true
110110

111111
[tool.pyproject-fmt]
112-
max_supported_python = "3.13"
112+
max_supported_python = "3.14"
113113

114114
[tool.coverage]
115115
html.show_contexts = true
@@ -119,7 +119,6 @@ paths.source = [
119119
"**/site-packages",
120120
]
121121
report.fail_under = 76
122-
run.dynamic_context = "test_function"
123122
run.parallel = true
124123
run.plugins = [
125124
"covdefaults",

tox.ini

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[tox]
22
requires =
3-
tox>=4.2
4-
tox-uv>=1.11.3
3+
tox>=4.30.2
4+
tox-uv>=1.28
55
env_list =
66
fix
7+
3.14t
8+
3.14
79
3.13
810
3.12
911
3.11
@@ -34,25 +36,25 @@ commands =
3436
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
3537
skip_install = true
3638
deps =
37-
pre-commit-uv>=4.1.1
39+
pre-commit-uv>=4.1.5
3840
commands =
3941
pre-commit run --all-files --show-diff-on-failure
4042

4143
[testenv:type]
4244
description = run type check on code base
4345
deps =
44-
mypy==1.11.2
45-
types-docutils>=0.21.0.20240907
46+
mypy==1.18.2
47+
types-docutils>=0.22.2.20250924
4648
commands =
4749
mypy src tests {posargs}
4850

4951
[testenv:pkg_meta]
5052
description = check that the long description is valid
5153
skip_install = true
5254
deps =
53-
check-wheel-contents>=0.6
54-
twine>=5.1.1
55-
uv>=0.4.10
55+
check-wheel-contents>=0.6.3
56+
twine>=6.2
57+
uv>=0.8.22
5658
commands =
5759
uv build --sdist --wheel --out-dir {env_tmp_dir} .
5860
twine check {env_tmp_dir}{/}*

0 commit comments

Comments
 (0)