Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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"]
Expand Down
Loading