Skip to content

Commit 3088c98

Browse files
authored
Drop 3.9 support (#389)
1 parent 07bca5b commit 3088c98

File tree

4 files changed

+13
-15
lines changed

4 files changed

+13
-15
lines changed

.github/workflows/check.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
- "3.12"
2727
- "3.11"
2828
- "3.10"
29-
- "3.9"
3029
os:
3130
- ubuntu-latest
3231
- windows-latest

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ repos:
1515
- id: codespell
1616
additional_dependencies: ["tomli>=2.2.1"]
1717
- repo: https://github.com/tox-dev/pyproject-fmt
18-
rev: "v2.7.0"
18+
rev: "v2.8.0"
1919
hooks:
2020
- id: pyproject-fmt
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: "v0.13.3"
22+
rev: "v0.14.0"
2323
hooks:
2424
- id: ruff-format
2525
- id: ruff

pyproject.toml

Lines changed: 9 additions & 11 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

@@ -24,15 +24,14 @@ maintainers = [
2424
{ name = "Ofek Lev", email = "oss@ofek.dev" },
2525
{ name = "Ronny Pfannschmidt", email = "opensource@ronnypfannschmidt.de" },
2626
]
27-
requires-python = ">=3.9"
27+
requires-python = ">=3.10"
2828
classifiers = [
2929
"Development Status :: 5 - Production/Stable",
3030
"Intended Audience :: Developers",
3131
"License :: OSI Approved :: MIT License",
3232
"Operating System :: OS Independent",
3333
"Programming Language :: Python",
3434
"Programming Language :: Python :: 3 :: Only",
35-
"Programming Language :: Python :: 3.9",
3635
"Programming Language :: Python :: 3.10",
3736
"Programming Language :: Python :: 3.11",
3837
"Programming Language :: Python :: 3.12",
@@ -46,20 +45,20 @@ dynamic = [
4645
"version",
4746
]
4847
optional-dependencies.docs = [
49-
"furo>=2024.8.6",
48+
"furo>=2025.9.25",
5049
"proselint>=0.14",
51-
"sphinx>=8.1.3",
52-
"sphinx-autodoc-typehints>=3",
50+
"sphinx>=8.2.3",
51+
"sphinx-autodoc-typehints>=3.2",
5352
]
5453
optional-dependencies.test = [
5554
"appdirs==1.4.4",
5655
"covdefaults>=2.3",
57-
"pytest>=8.3.4",
58-
"pytest-cov>=6",
59-
"pytest-mock>=3.14",
56+
"pytest>=8.4.2",
57+
"pytest-cov>=7",
58+
"pytest-mock>=3.15.1",
6059
]
6160
optional-dependencies.type = [
62-
"mypy>=1.14.1",
61+
"mypy>=1.18.2",
6362
]
6463

6564
urls.Changelog = "https://github.com/tox-dev/platformdirs/releases"
@@ -102,7 +101,6 @@ matrix = [
102101
"3.12",
103102
"3.11",
104103
"3.10",
105-
"3.9",
106104
"pypy3.11",
107105
] },
108106
]

tests/test_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import inspect
66
import sys
77
from pathlib import Path
8-
from typing import TYPE_CHECKING, Any, Callable
8+
from typing import TYPE_CHECKING, Any
99

1010
import pytest
1111

@@ -16,6 +16,7 @@
1616

1717

1818
if TYPE_CHECKING:
19+
from collections.abc import Callable
1920
from types import ModuleType
2021

2122

0 commit comments

Comments
 (0)