Skip to content

Commit 80330f8

Browse files
committed
[DO NOT MERGE] Force PR builds to 3.15 / 3.15t for testing
Temporarily overrides limit_pr_builds so PR CI builds 3.15 and 3.15t on Linux, Linux aarch64 and Windows, exercising the new smoke-test dependency resolution added in the previous commit. macOS is left alone, and workflows that request python-versions explicitly (e.g. test_build_wheels_linux_python_versions.yml) are not overridden. REVERT THIS COMMIT BEFORE MERGING.
1 parent c20124b commit 80330f8

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

tools/scripts/generate_binary_build_matrix.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,17 @@ def generate_wheels_matrix(
474474
arches += [XPU]
475475

476476
if limit_pr_builds:
477-
python_versions = [python_versions[0]]
477+
# TEMPORARY (DO NOT MERGE): force PR builds onto 3.15 / 3.15t so CI
478+
# exercises the new smoke-test dependency resolution on Windows and
479+
# Linux. Revert before merging.
480+
if not explicitly_requested_versions and os in (
481+
LINUX,
482+
LINUX_AARCH64,
483+
WINDOWS,
484+
):
485+
python_versions = ["3.15", "3.15t"]
486+
else:
487+
python_versions = [python_versions[0]]
478488

479489
global WHEEL_CONTAINER_IMAGES
480490

0 commit comments

Comments
 (0)