https://github.com/python/cpython/commit/c304b32b1f28384fd1900b8be566055ce6cc4de6
commit: c304b32b1f28384fd1900b8be566055ce6cc4de6
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2026-02-09T18:16:33Z
summary:

[3.13] gh-144492: Fix `process_changed_files` outputs for `reusable-{macos, 
wasi}.yml` (GH-144518) (#144634)

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 <[email protected]>

files:
M Tools/build/compute-changes.py

diff --git a/Tools/build/compute-changes.py b/Tools/build/compute-changes.py
index 485e0d621c37bd..db8a6758d29a5b 100644
--- a/Tools/build/compute-changes.py
+++ b/Tools/build/compute-changes.py
@@ -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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to