From f29015ef58468113da03affe8a5c1f6f8bfedf1d Mon Sep 17 00:00:00 2001 From: Ashutosh Kamble Date: Thu, 26 Mar 2026 23:20:42 +0530 Subject: [PATCH 1/2] gh-146475: Block Apple LLVM 21 from passing JIT tool version check --- Tools/jit/_llvm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/jit/_llvm.py b/Tools/jit/_llvm.py index 8b68c1e8636af7..cff3ceba0375cc 100644 --- a/Tools/jit/_llvm.py +++ b/Tools/jit/_llvm.py @@ -59,7 +59,7 @@ async def _check_tool_version( name: str, llvm_version: str, *, echo: bool = False ) -> bool: output = await _run(name, ["--version"], echo=echo) - _llvm_version_pattern = re.compile(rf"version\s+{llvm_version}\.\d+\.\d+\S*\s+") + _llvm_version_pattern = re.compile(rf"(? Date: Thu, 26 Mar 2026 23:40:27 +0530 Subject: [PATCH 2/2] gh-146475: Add NEWS entry --- .../next/Build/2026-03-26-23-40-21.gh-issue-146475.F9KMLP.rst | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Misc/NEWS.d/next/Build/2026-03-26-23-40-21.gh-issue-146475.F9KMLP.rst diff --git a/Misc/NEWS.d/next/Build/2026-03-26-23-40-21.gh-issue-146475.F9KMLP.rst b/Misc/NEWS.d/next/Build/2026-03-26-23-40-21.gh-issue-146475.F9KMLP.rst new file mode 100644 index 00000000000000..da5734233be738 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2026-03-26-23-40-21.gh-issue-146475.F9KMLP.rst @@ -0,0 +1,2 @@ +Block Apple LLVM 21 from passing the JIT tool version check, as the JIT is +incompatible with it.