Skip to content

Commit 7f1ab41

Browse files
committed
V4.0.7
1 parent 91b5a33 commit 7f1ab41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def parse_python_version_requirement():
1414

1515
python_req = data["tool"]["poetry"]["dependencies"]["python"]
1616

17-
# Parse version constraint like "^3.10"
17+
# Parse version constraint like "^3.12"
1818
if python_req.startswith("^"):
1919
min_version = python_req[1:]
2020
major, minor = map(int, min_version.split("."))
@@ -40,7 +40,7 @@ def get_compatible_python_versions(min_major, min_minor):
4040
end_minor = max(current_minor + 2, 12) if major == current_major else 12
4141

4242
for minor in range(start_minor, end_minor + 1):
43-
if major == 3 and minor >= min_minor: # Only include 3.10+
43+
if major == 3 and minor >= min_minor:
4444
versions.append(f"{major}.{minor}")
4545

4646
return versions

0 commit comments

Comments
 (0)