drop end of life python versions

This commit is contained in:
David Lord 2025-05-13 08:31:54 -07:00
parent e7e5380776
commit 52df9eed45
No known key found for this signature in database
GPG key ID: 43368A7AA8CC5926
11 changed files with 78 additions and 284 deletions

View file

@ -19,11 +19,10 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Typing :: Typed",
]
requires-python = ">=3.9"
requires-python = ">=3.10"
dependencies = [
"blinker>=1.9.0",
"click>=8.1.3",
"importlib-metadata>=3.6.0; python_version < '3.10'",
"itsdangerous>=2.2.0",
"jinja2>=3.1.2",
"markupsafe>=2.1.1",
@ -58,7 +57,7 @@ pre-commit = [
]
tests = [
"asgiref",
"greenlet ; python_version < '3.11'",
"greenlet",
"pytest",
"python-dotenv",
]
@ -126,7 +125,7 @@ exclude_also = [
]
[tool.mypy]
python_version = "3.9"
python_version = "3.10"
files = ["src", "tests/type_check"]
show_error_codes = true
pretty = true
@ -142,7 +141,7 @@ module = [
ignore_missing_imports = true
[tool.pyright]
pythonVersion = "3.9"
pythonVersion = "3.10"
include = ["src", "tests/type_check"]
typeCheckingMode = "basic"
@ -161,6 +160,9 @@ select = [
"UP", # pyupgrade
"W", # pycodestyle warning
]
ignore = [
"UP038", # keep isinstance tuple
]
[tool.ruff.lint.isort]
force-single-line = true
@ -173,7 +175,7 @@ tag-only = [
[tool.tox]
env_list = [
"py3.13", "py3.12", "py3.11", "py3.10", "py3.9",
"py3.13", "py3.12", "py3.11", "py3.10",
"pypy3.11",
"tests-min", "tests-dev",
"style",