From a3abdeea8976f0a11beb6dc3ed9c1f52a9f5f45a Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Sat, 20 Dec 2025 19:40:43 -0800 Subject: [PATCH] EXPERIMENT: Re-enable hanging test to verify CI log buffering fix This is a temporary commit to verify that the unbuffered stdout fix makes the hanging test visible in CI logs. REVERT THIS COMMIT after confirming the output appears. --- tests/test_with_catch/test_subinterpreter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_with_catch/test_subinterpreter.cpp b/tests/test_with_catch/test_subinterpreter.cpp index 172bfde28..79182bff5 100644 --- a/tests/test_with_catch/test_subinterpreter.cpp +++ b/tests/test_with_catch/test_subinterpreter.cpp @@ -94,7 +94,9 @@ TEST_CASE("Single Subinterpreter") { // "Move Subinterpreter" test is disabled on free-threaded Python 3.14+ due to a hang // in Py_EndInterpreter() when the subinterpreter is destroyed from a different thread // than it was created on. See: https://github.com/pybind/pybind11/pull/5933 -# if PY_VERSION_HEX >= 0x030D0000 && !(PY_VERSION_HEX >= 0x030E0000 && defined(Py_GIL_DISABLED)) +// EXPERIMENT: Temporarily re-enable to test CI log buffering fix - REVERT THIS +# if PY_VERSION_HEX >= 0x030D0000 \ + && !(0 && PY_VERSION_HEX >= 0x030E0000 && defined(Py_GIL_DISABLED)) TEST_CASE("Move Subinterpreter") { std::unique_ptr sub(new py::subinterpreter(py::subinterpreter::create()));