]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-144492: Fix `process_changed_files` outputs for `reusable-{macos, wasi...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 9 Feb 2026 18:16:33 +0000 (19:16 +0100)
committerGitHub <noreply@github.com>
Mon, 9 Feb 2026 18:16:33 +0000 (18:16 +0000)
gh-144492: Fix `process_changed_files` outputs for `reusable-{macos, wasi}.yml` (GH-144518)

Fix `process_changed_files` double-processing reusable-{macos, wasi] ending up with incorrect outputs
(cherry picked from commit fd190d1fa1a34bb8d533d05263ea744a051b7529)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Tools/build/compute-changes.py

index 485e0d621c37bd93769eb89c974904fa024a4d31..db8a6758d29a5b459d886e475673a12f2a86d0cd 100644 (file)
@@ -227,9 +227,12 @@ def process_changed_files(changed_files: Set[Path]) -> Outputs:
             if file.name == "reusable-windows-msi.yml":
                 run_windows_msi = True
             if file.name == "reusable-macos.yml":
+                run_tests = True
                 platforms_changed.add("macos")
             if file.name == "reusable-wasi.yml":
+                run_tests = True
                 platforms_changed.add("wasi")
+            continue
 
         if not doc_file and file not in RUN_TESTS_IGNORE:
             run_tests = True