From 89770104a1d89e97351b678da796f32e281dad44 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Tue, 21 Apr 2026 11:28:41 -0600 Subject: [PATCH 1/3] Add suppression for race seen in CI --- suppressions_free_threading.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/suppressions_free_threading.txt b/suppressions_free_threading.txt index 4437b870..3fcbe78e 100644 --- a/suppressions_free_threading.txt +++ b/suppressions_free_threading.txt @@ -50,3 +50,6 @@ race_top:set_tp_bases race_top:type_set_bases_unlocked race:partial_vectorcall_fallback + +# gh-113956: races from simultaneously interning a string +race_top:_Py_SetImmortalUntracked \ No newline at end of file From fb333328f1cb10bae6f9b8e8b5c8aa51e5c208eb Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Tue, 21 Apr 2026 11:35:21 -0600 Subject: [PATCH 2/3] attempt to get better traceback --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fd5b36e9..e32bc1c2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -542,6 +542,8 @@ jobs: - name: build and install run: | + apt update + apt install -y llvm python -m pip install setuptools pytest pytest-run-parallel CFLAGS="-g -O3 -fsanitize=thread" python -m pip install -v . From d850a425e54e85c50794996fe1353a8b1dc4a571 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Tue, 21 Apr 2026 11:40:57 -0600 Subject: [PATCH 3/3] add comment explaing llvm install step --- .github/workflows/ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e32bc1c2..55cc1b1b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -542,8 +542,12 @@ jobs: - name: build and install run: | + # these two steps can be removed when + # https://github.com/nascheme/cpython_sanity/issues/12 and the images + # are rebuilt apt update apt install -y llvm + python -m pip install setuptools pytest pytest-run-parallel CFLAGS="-g -O3 -fsanitize=thread" python -m pip install -v .