From 02e9c330a428e77ab2aab8edde107385915a09bc Mon Sep 17 00:00:00 2001 From: Srinivas Chippagiri Date: Wed, 25 Nov 2026 09:27:28 -0800 Subject: [PATCH] Require Python 3.10, the oldest version CI tests The metadata still said 3.7+, but CI only runs 3.10 to 3.14 and 3.7 to 3.9 are past end of life. Match requires-python and the classifiers to what's tested. Older Pythons keep resolving to docform 1.0.x. Fixes #52 Fixes #77 --- pyproject.toml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b4ef3ef..e069e7e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ description = "Fill document templates with data using Jinja2" authors = [{name="Srinivas Chippagiri", email="cvas22@gmail.com"}] maintainers = [{name="Srinivas Chippagiri", email="cvas22@gmail.com"}] readme = "README.md" -requires-python = ">=3.7" +requires-python = ">=3.10" license = {text="LGPL-2.1-only"} classifiers=[ "Intended Audience :: Developers", @@ -15,9 +15,6 @@ classifiers=[ "Topic :: Office/Business", "Topic :: Text Processing :: Markup", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -57,7 +54,7 @@ addopts = "-ra" [tool.mypy] pretty = true -python_version = "3.9" +python_version = "3.10" check_untyped_defs = true warn_unused_ignores = true exclude = ["docs", "build"]