Skip to content

Commit 8eec62a

Browse files
committed
[DO NOT MERGE] Temporarily force PR builds to test 3.15/3.15t on macOS
PR builds normally limit to python_versions[0] (3.10); override that to ["3.15", "3.15t"] for macOS arm64 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 496cfd8 commit 8eec62a

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
@@ -494,7 +494,14 @@ def generate_wheels_matrix(
494494
arches += [XPU]
495495

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

499506
global WHEEL_CONTAINER_IMAGES
500507

0 commit comments

Comments
 (0)