-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Occasional errors with free-threading #5674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
These tests are specifically testing the GIL in a version of Python without a GIL. I expect we should either skip these tests or also add something like Py_CRITICAL_SECTION (or mutex) somewhere (maybe we should provide an API for that?) |
Flake observed under #5688:
I we believe the tests need changes for free-threading, but nobody has time to work on it, skipping them seems like the best approach. |
Uh oh!
There was an error while loading. Please reload this page.
So far these are always on 3.14t.ubuntu 3.14t:
ubuntu 3.13t:
The following:
test_run_in_process_multiple_threads_parallel[test_cross_module_gil_nested_pybind11_acquired]
test_run_in_process_multiple_threads_parallel[test_cross_module_gil_inner_pybind11_released]
test_run_in_process_multiple_threads_parallel[test_cross_module_gil_nested_pybind11_released]
macOS 3.14t:
I haven't been able to reproduce the flakes locally, include with
pytest-run-parallel
,pytest-repeat
, and reducing and increasingsys.setswitchinterval()
.The text was updated successfully, but these errors were encountered: