Skip to content

Commit 86771ec

Browse files
authored
Add support for 3.14 and drop 3.9|3.8 (#196)
1 parent 0dfc2c8 commit 86771ec

File tree

10 files changed

+31
-36
lines changed

10 files changed

+31
-36
lines changed
File renamed without changes.
File renamed without changes.

.github/release.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
changelog:
2+
exclude:
3+
authors:
4+
- dependabot[bot]
5+
- pre-commit-ci[bot]

.github/release.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/check.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
env:
22+
- "3.14"
2223
- "3.13"
2324
- "3.12"
2425
- "3.11"
2526
- "3.10"
26-
- "3.9"
27-
- "3.8"
2827
- type
2928
- dev
3029
- pkg_meta
@@ -39,9 +38,9 @@ jobs:
3938
cache-dependency-glob: "pyproject.toml"
4039
github-token: ${{ secrets.GITHUB_TOKEN }}
4140
- name: Install tox
42-
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
4342
- name: Install Python
44-
if: startsWith(matrix.env, '3.') && matrix.env != '3.13'
43+
if: startsWith(matrix.env, '3.') && matrix.env != '3.14'
4544
run: uv python install --python-preference only-managed ${{ matrix.env }}
4645
- name: Setup test suite
4746
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.10.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: 9 additions & 13 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]
@@ -23,7 +23,7 @@ maintainers = [
2323
authors = [
2424
{ name = "Bernát Gábor", email = "[email protected]" },
2525
]
26-
requires-python = ">=3.8"
26+
requires-python = ">=3.10"
2727
classifiers = [
2828
"Development Status :: 5 - Production/Stable",
2929
"Framework :: tox",
@@ -33,8 +33,6 @@ classifiers = [
3333
"Operating System :: Microsoft :: Windows",
3434
"Operating System :: POSIX",
3535
"Programming Language :: Python :: 3 :: Only",
36-
"Programming Language :: Python :: 3.8",
37-
"Programming Language :: Python :: 3.9",
3836
"Programming Language :: Python :: 3.10",
3937
"Programming Language :: Python :: 3.11",
4038
"Programming Language :: Python :: 3.12",
@@ -47,15 +45,15 @@ dynamic = [
4745
"version",
4846
]
4947
dependencies = [
50-
"devpi-client>=7.1",
51-
"devpi-server>=6.12.1",
52-
"typing-extensions>=4.12.2; python_version<'3.11'",
48+
"devpi-client>=7.2",
49+
"devpi-server>=6.17",
50+
"typing-extensions>=4.15; python_version<'3.11'",
5351
]
5452
optional-dependencies.testing = [
5553
"covdefaults>=2.3",
56-
"httpx>=0.27.2",
57-
"pytest>=8.3.2",
58-
"pytest-cov>=5",
54+
"httpx>=0.28.1",
55+
"pytest>=8.4.2",
56+
"pytest-cov>=7",
5957
]
6058
urls.Homepage = "https://github.com/tox-dev/devpi-process#readme"
6159
urls.Source = "https://github.com/tox-dev/devpi-process"
@@ -69,7 +67,6 @@ version.source = "vcs"
6967
line-length = 120
7068

7169
[tool.ruff]
72-
target-version = "py38"
7370
line-length = 120
7471
format.preview = true
7572
format.docstring-code-line-length = 100
@@ -78,7 +75,6 @@ lint.select = [
7875
"ALL",
7976
]
8077
lint.ignore = [
81-
"ANN101", # no type annotation for self
8278
"ANN401", # allow Any as type annotation
8379
"COM812", # Conflict with formatter
8480
"CPY", # No copyright statements

src/devpi_process/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111
from pathlib import Path
1212
from subprocess import PIPE, Popen, run # noqa: S404
1313
from threading import Thread
14-
from typing import IO, TYPE_CHECKING, Iterator, Sequence, cast
14+
from typing import IO, TYPE_CHECKING, cast
1515

1616
from ._version import __version__
1717

1818
if TYPE_CHECKING:
19+
from collections.abc import Iterator, Sequence
1920
from types import TracebackType
2021

2122
if sys.version_info >= (3, 11): # pragma: no cover (py311+)

tox.ini

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
[tox]
22
requires =
3-
tox>=4.2
4-
tox-uv>=1.11.3
3+
tox>=4.30.3
4+
tox-uv>=1.28
55
env_list =
66
fix
7+
3.14
78
3.13
89
3.12
910
3.11
1011
3.10
11-
3.9
12-
3.8
1312
type
1413
pkg_meta
1514
skip_missing_interpreters = true
@@ -37,14 +36,14 @@ commands =
3736
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
3837
skip_install = true
3938
deps =
40-
pre-commit-uv>=4.1.1
39+
pre-commit-uv>=4.1.5
4140
commands =
4241
pre-commit run --all-files --show-diff-on-failure
4342

4443
[testenv:type]
4544
description = run type check on code base
4645
deps =
47-
mypy==1.11.2
46+
mypy==1.18.2
4847
commands =
4948
mypy src
5049
mypy tests
@@ -53,9 +52,9 @@ commands =
5352
description = check that the long description is valid
5453
skip_install = true
5554
deps =
56-
check-wheel-contents>=0.6
57-
twine>=5.1.1
58-
uv>=0.4.10
55+
check-wheel-contents>=0.6.3
56+
twine>=6.2
57+
uv>=0.8.22
5958
commands =
6059
uv build --sdist --wheel --out-dir {env_tmp_dir} .
6160
twine check {env_tmp_dir}{/}*

0 commit comments

Comments
 (0)