From 27eeddbb78db41fd153bf0cc6612f90866c77eb4 Mon Sep 17 00:00:00 2001 From: Matthias Dellweg Date: Wed, 28 Oct 2026 11:56:32 +0100 Subject: [PATCH] Pin python version for CI operations to >= 3.11 --- utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils.py b/utils.py index 8e273142..6b189203 100644 --- a/utils.py +++ b/utils.py @@ -97,7 +97,7 @@ def current_version(plugin_root_path): DEFAULT_PYTHON_VERSION = "3.11" -_PYTHON_MINOR_RANGE = range(6, 40) +_PYTHON_MINOR_RANGE = range(11, 40) def python_version_from_requires(requires_python): @@ -111,7 +111,7 @@ def python_version_from_requires(requires_python): def min_python_version(plugin_root_path): - """Read [project] requires-python and return the minimum 3.x series, e.g. '3.11'.""" + """Read [project] requires-python and return the minimum 3.x series, but never less than '3.11'.""" try: path = plugin_root_path / "pyproject.toml" requires_python = tomllib.loads(path.read_text())["project"]["requires-python"]