Skip to content

Commit 2d718dd

Browse files
authored
Drop 3.9 support (#284)
1 parent c6b7f77 commit 2d718dd

File tree

12 files changed

+24
-78
lines changed

12 files changed

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

.github/workflows/check.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@ jobs:
2020
matrix:
2121
env:
2222
- "3.14"
23-
- "3.13"
23+
- "3.14"
2424
- "3.12"
2525
- "3.11"
2626
- "3.10"
27-
- "3.9"
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ repos:
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

CHANGELOG.md

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

pyproject.toml

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

@@ -20,7 +20,7 @@ license = "MIT"
2020
maintainers = [
2121
{ name = "Bernát Gábor", email = "[email protected]" },
2222
]
23-
requires-python = ">=3.9"
23+
requires-python = ">=3.10"
2424
classifiers = [
2525
"Development Status :: 5 - Production/Stable",
2626
"Framework :: tox",
@@ -30,7 +30,6 @@ classifiers = [
3030
"Operating System :: Microsoft :: Windows",
3131
"Operating System :: POSIX",
3232
"Programming Language :: Python :: 3 :: Only",
33-
"Programming Language :: Python :: 3.9",
3433
"Programming Language :: Python :: 3.10",
3534
"Programming Language :: Python :: 3.11",
3635
"Programming Language :: Python :: 3.12",
@@ -44,12 +43,12 @@ dynamic = [
4443
"version",
4544
]
4645
dependencies = [
47-
"packaging>=24.2",
46+
"packaging>=25",
4847
]
4948
optional-dependencies.testing = [
5049
"covdefaults>=2.3",
51-
"pytest>=8.3.4",
52-
"pytest-cov>=6",
50+
"pytest>=8.4.2",
51+
"pytest-cov>=7",
5352
]
5453
urls.Documentation = "https://tox.wiki"
5554
urls.Homepage = "https://github.com/tox-dev/tox-ini-fmt/blob/main/README.md#tox-ini-fmt"
@@ -109,9 +108,6 @@ builtin = "clear,usage,en-GB_to_en-US"
109108
write-changes = true
110109
count = true
111110

112-
[tool.pyproject-fmt]
113-
max_supported_python = "3.14"
114-
115111
[tool.coverage]
116112
html.show_contexts = true
117113
html.skip_covered = false

src/tox_ini_fmt/formatter/test_env.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from __future__ import annotations
44

55
from functools import partial
6-
from typing import TYPE_CHECKING, Callable
6+
from typing import TYPE_CHECKING
77

88
from .util import (
99
collect_multi_line,
@@ -15,7 +15,7 @@
1515
)
1616

1717
if TYPE_CHECKING:
18-
from collections.abc import Mapping
18+
from collections.abc import Callable, Mapping
1919
from configparser import ConfigParser
2020

2121

src/tox_ini_fmt/formatter/tox_section.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from __future__ import annotations
44

55
from functools import partial
6-
from typing import TYPE_CHECKING, Callable
6+
from typing import TYPE_CHECKING
77

88
from packaging.requirements import Requirement
99
from packaging.version import Version
@@ -12,7 +12,7 @@
1212
from .util import collect_multi_line, fix_and_reorder, to_boolean, to_list_of_env_values, to_py_dependencies
1313

1414
if TYPE_CHECKING:
15-
from collections.abc import Mapping
15+
from collections.abc import Callable, Mapping
1616
from configparser import ConfigParser, SectionProxy
1717

1818

0 commit comments

Comments
 (0)