We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f322ad6 commit c8ed846Copy full SHA for c8ed846
cpython-unix/build-cpython.sh
@@ -295,8 +295,8 @@ fi
295
# BOLT instrumented binaries segfault in some test_embed tests for unknown reasons.
296
# On 3.12 (minimum BOLT version), the segfault causes the test harness to
297
# abort and BOLT optimization uses the partial test results. On 3.13, the segfault
298
-# is a fatal error.
299
-if [ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_12}" ]; then
+# is a fatal error. Fixed in 3.14+, https://github.com/python/cpython/pull/128474
+if [ "${PYTHON_MAJMIN_VERSION}" = 3.12 ] || [ "${PYTHON_MAJMIN_VERSION}" = 3.13 ]; then
300
patch -p1 -i ${ROOT}/patch-test-embed-prevent-segfault.patch
301
fi
302
0 commit comments