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 0d07a8b commit d1684b0Copy full SHA for d1684b0
cpython-unix/build-cpython.sh
@@ -284,8 +284,8 @@ fi
284
# BOLT instrumented binaries segfault in some test_embed tests for unknown reasons.
285
# On 3.12 (minimum BOLT version), the segfault causes the test harness to
286
# abort and BOLT optimization uses the partial test results. On 3.13, the segfault
287
-# is a fatal error.
288
-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
289
patch -p1 -i ${ROOT}/patch-test-embed-prevent-segfault.patch
290
fi
291
0 commit comments