https://github.com/python/cpython/commit/2cc0720bdb63359316965c95fc7a41e83daef321
commit: 2cc0720bdb63359316965c95fc7a41e83daef321
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2026-02-09T17:57:43Z
summary:

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

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 88b7856b9c736a..352f7fdbe30168 100644
--- a/Tools/build/compute-changes.py
+++ b/Tools/build/compute-changes.py
@@ -232,9 +232,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