From bc21c5d2d39491ebe11634b8ea119b6263c693fc Mon Sep 17 00:00:00 2001 From: Bharat Date: Wed, 3 Jun 2026 08:14:52 +0100 Subject: [PATCH] INF-1484/fix: Lower requires-python to 3.10 to unbreak consumers The action pip-installs itself with the consumer-supplied python-version input, and 12 repos pin 3.10, so requiring >=3.11 broke their pre-commit checks. The modules are 3.10 compatible (19 tests pass under 3.10). --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e528d58..f457f4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,9 @@ build-backend = "hatchling.build" [project] name = "pre-commit-action" version = "0.1.0" -requires-python = ">=3.11" +# The action pip-installs itself with the consumer's python-version input, +# so this must cover the lowest version consumers pin (3.10 as of 2026-06). +requires-python = ">=3.10" dependencies = [] [project.optional-dependencies]