Skip to content

Commit 921f4da

Browse files
committed
[DO NOT MERGE] Temporarily force PR builds to test 3.15/3.15t on Windows
PR builds normally limit to python_versions[0] (3.10); override that to ["3.15", "3.15t"] for Windows so this PR's CI actually exercises the new versions. Other OSes and callers that pass an explicit python-versions list are unaffected. Revert this commit before merging. Authored with assistance from Claude Code (AI assistant).
1 parent 0fd0040 commit 921f4da

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

tools/scripts/generate_binary_build_matrix.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,14 @@ def generate_wheels_matrix(
493493
arches += [XPU]
494494

495495
if limit_pr_builds:
496-
python_versions = [python_versions[0]]
496+
# TEMPORARY (DO NOT MERGE): force the default PR build selection to
497+
# exercise 3.15 / 3.15t on Windows so this PR's CI validates the new
498+
# versions. Callers that pass an explicit python-versions list keep
499+
# theirs. Revert to `python_versions = [python_versions[0]]` before merging.
500+
if not explicitly_requested_versions and os == WINDOWS:
501+
python_versions = ["3.15", "3.15t"]
502+
else:
503+
python_versions = [python_versions[0]]
497504

498505
global WHEEL_CONTAINER_IMAGES
499506

0 commit comments

Comments
 (0)