From 325665cd6d99e9b9bb30150b9ab9771657bcc51a Mon Sep 17 00:00:00 2001 From: Lucia Sanchez Bella Date: Fri, 28 Nov 2025 14:22:56 +0100 Subject: [PATCH 1/6] print platform and python version --- .builders/scripts/build_wheels.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.builders/scripts/build_wheels.py b/.builders/scripts/build_wheels.py index 8108b84a3ff5e..ad057cc7d6d18 100644 --- a/.builders/scripts/build_wheels.py +++ b/.builders/scripts/build_wheels.py @@ -90,6 +90,11 @@ def main(): # Install build dependencies check_process([str(python_path), '-m', 'pip', 'install', '-r', str(MOUNT_DIR / 'build_dependencies.txt')]) + print("--------------------------------") + print("[DEBUGGING INFO]") + print("python_path: ", python_path) + print("Platform:",sys.platform) + print("--------------------------------") with TemporaryDirectory() as d: staged_wheel_dir = Path(d).resolve() env_vars = dict(os.environ) From d13a5753cfafe663e07aa14b980445f014247277 Mon Sep 17 00:00:00 2001 From: Lucia Sanchez Bella Date: Fri, 28 Nov 2025 14:46:07 +0100 Subject: [PATCH 2/6] print platform and python version --- .builders/scripts/build_wheels.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.builders/scripts/build_wheels.py b/.builders/scripts/build_wheels.py index ad057cc7d6d18..2442d56000f55 100644 --- a/.builders/scripts/build_wheels.py +++ b/.builders/scripts/build_wheels.py @@ -17,10 +17,12 @@ CUSTOM_EXTERNAL_INDEX = f'{INDEX_BASE_URL}/external' CUSTOM_BUILT_INDEX = f'{INDEX_BASE_URL}/built' + class WheelSizes(TypedDict): compressed: int uncompressed: int + if sys.platform == 'win32': PY3_PATH = Path('C:\\py3\\Scripts\\python.exe') PY2_PATH = Path('C:\\py2\\Scripts\\python.exe') @@ -92,8 +94,11 @@ def main(): print("--------------------------------") print("[DEBUGGING INFO]") + print("running on: ", sys.platform) + print("sys.version: ", sys.version) print("python_path: ", python_path) - print("Platform:",sys.platform) + subprocess.run([python_path, "--version"]) + print("Platform:", sys.platform) print("--------------------------------") with TemporaryDirectory() as d: staged_wheel_dir = Path(d).resolve() @@ -172,7 +177,6 @@ def main(): project_version = project_metadata['Version'] dependencies[project_name] = project_version - sizes[project_name] = {'version': project_version, **calculate_wheel_sizes(wheel)} output_path = MOUNT_DIR / 'sizes.json' From e704016e399581fc0bc57927e471e3a8f419da6c Mon Sep 17 00:00:00 2001 From: Lucia Sanchez Bella Date: Fri, 28 Nov 2025 15:01:11 +0100 Subject: [PATCH 3/6] print specific platform --- .builders/scripts/build_wheels.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.builders/scripts/build_wheels.py b/.builders/scripts/build_wheels.py index 2442d56000f55..fe7fe51ceaff1 100644 --- a/.builders/scripts/build_wheels.py +++ b/.builders/scripts/build_wheels.py @@ -3,6 +3,7 @@ import argparse import json import os +import platform import subprocess import sys from pathlib import Path @@ -95,6 +96,7 @@ def main(): print("--------------------------------") print("[DEBUGGING INFO]") print("running on: ", sys.platform) + print("architecture: ", platform.machine()) print("sys.version: ", sys.version) print("python_path: ", python_path) subprocess.run([python_path, "--version"]) From 15229f95b2ba602e51ed1a07af9e2a5361be6685 Mon Sep 17 00:00:00 2001 From: Lucia Sanchez Date: Thu, 4 Dec 2025 09:24:53 +0100 Subject: [PATCH 4/6] Test cancelling the workflow --- .github/workflows/resolve-build-deps.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/resolve-build-deps.yaml b/.github/workflows/resolve-build-deps.yaml index 7239d13dfc115..60a5fff344beb 100644 --- a/.github/workflows/resolve-build-deps.yaml +++ b/.github/workflows/resolve-build-deps.yaml @@ -10,7 +10,7 @@ on: branches: - master - 7.*.* - + concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: ${{ github.event_name == 'pull_request' && true || false }} From 59f90c973b19d4eabc98d6231704fbf30ba94634 Mon Sep 17 00:00:00 2001 From: Lucia Sanchez Date: Tue, 9 Dec 2025 14:50:57 +0100 Subject: [PATCH 5/6] Triggering the resolve build deps workflow --- .builders/scripts/build_wheels.py | 1 + 1 file changed, 1 insertion(+) diff --git a/.builders/scripts/build_wheels.py b/.builders/scripts/build_wheels.py index fe7fe51ceaff1..95399bdb3f440 100644 --- a/.builders/scripts/build_wheels.py +++ b/.builders/scripts/build_wheels.py @@ -18,6 +18,7 @@ CUSTOM_EXTERNAL_INDEX = f'{INDEX_BASE_URL}/external' CUSTOM_BUILT_INDEX = f'{INDEX_BASE_URL}/built' +# testing class WheelSizes(TypedDict): compressed: int From 4a8ac1c4fc91b6d8f90e7704f8e1d3328b16f88f Mon Sep 17 00:00:00 2001 From: Lucia Sanchez Date: Wed, 10 Dec 2025 10:20:56 +0100 Subject: [PATCH 6/6] debug excluded files --- .builders/scripts/build_wheels.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.builders/scripts/build_wheels.py b/.builders/scripts/build_wheels.py index 64bbc413f8146..6e5a4bbc875ba 100644 --- a/.builders/scripts/build_wheels.py +++ b/.builders/scripts/build_wheels.py @@ -156,6 +156,8 @@ def remove_test_files(wheel_path: Path) -> bool: with ZipFile(wheel_path, 'r') as zf: excluded_members = [name for name in zf.namelist() if is_excluded_from_wheel(name)] + print(f"Excluded members in {wheel_path.name}: {excluded_members}") + if not excluded_members: # Nothing to strip, so skip rewriting the wheel return False