From 273b7f0205214aaaf2b6b84f0cdbf32c3d3b7eeb Mon Sep 17 00:00:00 2001 From: Alex Lopez Date: Wed, 12 Aug 2026 16:23:53 +0200 Subject: [PATCH] Keep injected redacted_compat.h file out of the window python's build inputs --- deps/cpython.BUILD.bazel | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/deps/cpython.BUILD.bazel b/deps/cpython.BUILD.bazel index 485d508f3eb4..1ec93e380462 100644 --- a/deps/cpython.BUILD.bazel +++ b/deps/cpython.BUILD.bazel @@ -55,7 +55,13 @@ run_binary( srcs = ( glob( ["**"], - exclude = ["**/*.pyc", "BUILD.bazel"], + exclude = [ + "**/*.pyc", + "BUILD.bazel", + # Unix-only build helper injected into the CPython repository. + # Keep it out of the Windows action key; the Windows build does not use it. + "redacted_compat.h", + ], ) + [ "bzip2_win_dir", "mpdecimal_win_dir",