From bb6d6ee0e41e27fcc23f7e636041003ba4c24621 Mon Sep 17 00:00:00 2001 From: "Jonathan J. Helmus" Date: Thu, 1 Oct 2026 15:55:43 -0400 Subject: [PATCH] Patch ctypes for 3.15.0rc2 --- cpython-unix/build-cpython.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpython-unix/build-cpython.sh b/cpython-unix/build-cpython.sh index 7be526ba4..f3b6fa142 100755 --- a/cpython-unix/build-cpython.sh +++ b/cpython-unix/build-cpython.sh @@ -199,6 +199,10 @@ fi if [[ -n "${PYTHON_MEETS_MAXIMUM_VERSION_3_12}" ]]; then patch -p1 -i "${ROOT}/patch-ctypes-static-binary.patch" fi +# TODO(jjh) remove when 3.15.0 is released +if [ "${PYTHON_MAJMIN_VERSION}" = 3.15 ]; then + patch -p1 -i "${ROOT}/patch-ctypes-static-binary.patch" +fi # We build against libedit instead of readline in all environments. #