https://github.com/python/cpython/commit/fd190d1fa1a34bb8d533d05263ea744a051b7529
commit: fd190d1fa1a34bb8d533d05263ea744a051b7529
branch: main
author: Stan Ulbrych <[email protected]>
committer: hugovk <[email protected]>
date: 2026-02-09T19:30:19+02:00
summary:
gh-144492: Fix `process_changed_files` outputs for `reusable-{macos, wasi}.yml`
(#144518)
Fix `process_changed_files` double-processing reusable-{macos, wasi] ending up
with incorrect outputs
files:
M Tools/build/compute-changes.py
diff --git a/Tools/build/compute-changes.py b/Tools/build/compute-changes.py
index 08aba5ef5423fe..00fd0edd8537bf 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]