Skip to content

Commit 2828c87

Browse files
committed
[DO NOT MERGE] Temporarily force PR builds to test 3.15/3.15t on Linux
Temporary commit so this PR's CI exercises the newly added 3.15 and 3.15t Linux wheels instead of only the oldest version (3.10). PR builds normally limit to python_versions[0]; this overrides that to ["3.15", "3.15t"] for linux and linux-aarch64 only (macOS/Windows keep 3.10 to avoid an empty matrix). Revert this commit before merging. Test Plan: ``` python3 -m tools.tests.test_generate_binary_build_matrix ``` All 7 reference tests still pass (they exercise the non-limited path). This commit was authored with the assistance of an AI assistant.
1 parent 624f084 commit 2828c87

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

tools/scripts/generate_binary_build_matrix.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,13 @@ def generate_wheels_matrix(
456456
arches += [XPU]
457457

458458
if limit_pr_builds:
459-
python_versions = [python_versions[0]]
459+
# TEMPORARY (DO NOT MERGE): force PR builds to exercise 3.15 / 3.15t on
460+
# Linux so this PR's CI validates the new versions. Revert to
461+
# `python_versions = [python_versions[0]]` before merging.
462+
if os in (LINUX, LINUX_AARCH64):
463+
python_versions = ["3.15", "3.15t"]
464+
else:
465+
python_versions = [python_versions[0]]
460466

461467
global WHEEL_CONTAINER_IMAGES
462468

0 commit comments

Comments
 (0)