Skip to content

Commit 05e9b0a

Browse files
authored
Drop 3.9 support (#91)
1 parent 0db85f1 commit 05e9b0a

File tree

8 files changed

+21
-24
lines changed

8 files changed

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

.github/release.yml

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

.github/workflows/check.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
- "3.12"
2525
- "3.11"
2626
- "3.10"
27-
- "3.9"
2827
- type
2928
- dev
3029
- pkg_meta
@@ -38,9 +37,9 @@ jobs:
3837
enable-cache: true
3938
cache-dependency-glob: "pyproject.toml"
4039
- name: Install tox
41-
run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv
40+
run: uv tool install --python-preference only-managed --python 3.14 tox --with tox-uv
4241
- name: Install Python
43-
if: startsWith(matrix.env, '3.') && matrix.env != '3.13'
42+
if: startsWith(matrix.env, '3.') && matrix.env != '3.14'
4443
run: uv python install --python-preference only-managed ${{ matrix.env }}
4544
- name: Setup test suite
4645
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

pyproject.toml

Lines changed: 8 additions & 10 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,13 +17,12 @@ license.file = "LICENSE.txt"
1717
authors = [
1818
{ name = "Bernat Gabor", email = "[email protected]" },
1919
]
20-
requires-python = ">=3.9"
20+
requires-python = ">=3.10"
2121
classifiers = [
2222
"License :: OSI Approved :: MIT License",
2323
"Operating System :: OS Independent",
2424
"Programming Language :: Python",
2525
"Programming Language :: Python :: 3 :: Only",
26-
"Programming Language :: Python :: 3.9",
2726
"Programming Language :: Python :: 3.10",
2827
"Programming Language :: Python :: 3.11",
2928
"Programming Language :: Python :: 3.12",
@@ -34,14 +33,14 @@ dynamic = [
3433
"version",
3534
]
3635
dependencies = [
37-
"pre-commit>=3.8",
38-
"uv>=0.4.7",
36+
"pre-commit>=4.3",
37+
"uv>=0.9.1",
3938
]
4039
optional-dependencies.testing = [
4140
"covdefaults>=2.3",
42-
"pytest>=8.3.2",
43-
"pytest-cov>=5",
44-
"pytest-mock>=3.14",
41+
"pytest>=8.4.2",
42+
"pytest-cov>=7",
43+
"pytest-mock>=3.15.1",
4544
]
4645
urls."Bug Tracker" = "https://github.com/tox-dev/pre-commit-uv/issues"
4746
urls."Changelog" = "https://github.com/tox-dev/pre-commit-uv/releases"
@@ -62,7 +61,6 @@ build.targets.wheel.sources = [ "src" ]
6261
version.source = "vcs"
6362

6463
[tool.ruff]
65-
target-version = "py39"
6664
line-length = 120
6765
format.preview = true
6866
format.docstring-code-line-length = 100

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
requires =
3-
tox>=4.2
4-
tox-uv>=1.11.3
3+
tox>=4.31
4+
tox-uv>=1.28.1
55
env_list =
66
fix
77
3.14
@@ -44,7 +44,7 @@ commands =
4444
[testenv:type]
4545
description = run type check on code base
4646
deps =
47-
mypy==1.11.2
47+
mypy==1.18.2
4848
commands =
4949
mypy src
5050
mypy tests
@@ -53,9 +53,9 @@ commands =
5353
description = check that the long description is valid
5454
skip_install = true
5555
deps =
56-
check-wheel-contents>=0.6
57-
twine>=5.1.1
58-
uv>=0.4.10
56+
check-wheel-contents>=0.6.3
57+
twine>=6.2
58+
uv>=0.9.1
5959
commands =
6060
uv build --sdist --wheel --out-dir {env_tmp_dir} .
6161
twine check {env_tmp_dir}{/}*

0 commit comments

Comments
 (0)