You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've taken a look at #613 (still open) but wanted to consolidate work around potentially adding support for free-threading to msgpack-python to a dedicated issue.
With the recent update to Cython 3.1.1, msgpack-python builds with 3.13t and passes all existing tests. However, there don't seem to be any existing tests for multithreading.
I added a multithreading test for packing to this fork, and get flakey results with segmentation fault errors:
Let me know if help is wanted to build out multithreading tests, like the one above, as well as to make the underlying code thread safe. Any suggestions here will be very useful.
The text was updated successfully, but these errors were encountered:
I've taken a look at #613 (still open) but wanted to consolidate work around potentially adding support for free-threading to msgpack-python to a dedicated issue.
With the recent update to Cython 3.1.1, msgpack-python builds with 3.13t and passes all existing tests. However, there don't seem to be any existing tests for multithreading.
I added a multithreading test for packing to this fork, and get flakey results with segmentation fault errors:
The standard TODOs for adding free-threading support are:
pytest-run-parallel
to find potential issues, and fix them.cp313t-*
to CI to build free-threading wheels.For more details, please see the
suggested plan of attack in the py-free-threading guide.
Let me know if help is wanted to build out multithreading tests, like the one above, as well as to make the underlying code thread safe. Any suggestions here will be very useful.
The text was updated successfully, but these errors were encountered: