Skip to content

Commit 11cf41f

Browse files
authored
Add support for 3.14 and drop 3.10 (#251)
1 parent c3e3253 commit 11cf41f

File tree

8 files changed

+26
-25
lines changed

8 files changed

+26
-25
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

.github/workflows/check.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
env:
22+
- "3.14t"
23+
- "3.14"
2224
- "3.13"
2325
- "3.12"
2426
- "3.11"
25-
- "3.10"
2627
- type
2728
- dev
2829
- pkg_meta
@@ -37,9 +38,9 @@ jobs:
3738
cache-dependency-glob: "pyproject.toml"
3839
github-token: ${{ secrets.GITHUB_TOKEN }}
3940
- name: Install tox
40-
run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv
41+
run: uv tool install --python-preference only-managed --python 3.14 tox --with tox-uv
4142
- name: Install Python
42-
if: startsWith(matrix.env, '3.') && matrix.env != '3.13'
43+
if: startsWith(matrix.env, '3.') && matrix.env != '3.14'
4344
run: uv python install --python-preference only-managed ${{ matrix.env }}
4445
- name: Setup test suite
4546
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: 8 additions & 9 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]
@@ -17,7 +17,7 @@ license = "MIT"
1717
maintainers = [
1818
{ name = "Bernat Gabor", email = "[email protected]" },
1919
] # noqa: E999
20-
requires-python = ">=3.10"
20+
requires-python = ">=3.11"
2121
classifiers = [
2222
"Development Status :: 5 - Production/Stable",
2323
"Environment :: Console",
@@ -27,10 +27,10 @@ classifiers = [
2727
"License :: OSI Approved :: MIT License",
2828
"Operating System :: OS Independent",
2929
"Programming Language :: Python :: 3 :: Only",
30-
"Programming Language :: Python :: 3.10",
3130
"Programming Language :: Python :: 3.11",
3231
"Programming Language :: Python :: 3.12",
3332
"Programming Language :: Python :: 3.13",
33+
"Programming Language :: Python :: 3.14",
3434
"Programming Language :: Python :: Implementation :: CPython",
3535
"Topic :: Documentation",
3636
"Topic :: Documentation :: Sphinx",
@@ -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 & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
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.14
78
3.13
89
3.12
910
3.11
10-
3.10
1111
type
12+
3.14t
1213
pkg_meta
1314
skip_missing_interpreters = true
1415

@@ -34,25 +35,25 @@ commands =
3435
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
3536
skip_install = true
3637
deps =
37-
pre-commit-uv>=4.1.1
38+
pre-commit-uv>=4.1.5
3839
commands =
3940
pre-commit run --all-files --show-diff-on-failure
4041

4142
[testenv:type]
4243
description = run type check on code base
4344
deps =
44-
mypy==1.11.2
45-
types-docutils>=0.21.0.20240907
45+
mypy==1.18.2
46+
types-docutils>=0.22.2.20250924
4647
commands =
4748
mypy src tests {posargs}
4849

4950
[testenv:pkg_meta]
5051
description = check that the long description is valid
5152
skip_install = true
5253
deps =
53-
check-wheel-contents>=0.6
54-
twine>=5.1.1
55-
uv>=0.4.10
54+
check-wheel-contents>=0.6.3
55+
twine>=6.2
56+
uv>=0.8.22
5657
commands =
5758
uv build --sdist --wheel --out-dir {env_tmp_dir} .
5859
twine check {env_tmp_dir}{/}*

0 commit comments

Comments
 (0)