Skip to content

Commit a8c0808

Browse files
committed
pythonbuild: fix logic error in defines-conditional for maximum-python-version
1 parent a01e91c commit a8c0808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonbuild/cpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ def derive_setup_local(
492492
python_version, entry.get("minimum-python-version", "1.0")
493493
)
494494
python_max_match = meets_python_maximum_version(
495-
python_version, entry.get("minimum-python-version", "100.0")
495+
python_version, entry.get("maximum-python-version", "100.0")
496496
)
497497

498498
if target_match and (python_min_match and python_max_match):

0 commit comments

Comments
 (0)