From fee1be0933df8f5a860576c79218cd7abe46f243 Mon Sep 17 00:00:00 2001 From: Stanislav Pankevich Date: Thu, 12 Nov 2026 23:09:44 +0100 Subject: [PATCH] chore(tests/integration): pin LLVM lit to 18.1.8 tests/integration/lit.cfg calls ShTest("0"). lit treats the string "0" as true, so the call turns on execute_external. lit 23 raises a ValueError for execute_external=True because LLVM 23 deprecates it. CI installs the newest lit, so the integration tests fail before the first test runs. StrictDoc pins lit to 18.1.8 for the same reason. We can move the tests to the internal shell of lit later. Co-Authored-By: Claude Opus 5.5 --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 512d6cc..6d7574e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,7 +68,10 @@ development = [ "coverage >= 5.4", # Integration tests - "lit >= 0.11.0.post1", + # lit 23 rejects ShTest("0") in tests/integration/lit.cfg: the "0" turns + # on execute_external, which LLVM 23 deprecates. + # FIXME: Move the integration tests to the internal shell of lit. + "lit == 18.1.8", "filecheck >= 0.0.20", "html5lib >= 1.1", "pytidylib >= 0.3.2",