-
Notifications
You must be signed in to change notification settings - Fork 128
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
2.9.0: OSX Python Pickle Issue #3646
Comments
ping @dmitry-ganyushin Issue is in https://github.com/ornladios/ADIOS2/blob/master/testing/adios2/engine/dataman/TestDataMan1D.py with macOS since the 2.9.0 release. |
|
@dmitry-ganyushin we suspect this is from a0d4586, where the test was added. |
I am looking into that. Is it only specific to OSX? I made a fast test with python 3.9.16 ubuntu, everything is fine. |
Python 3.11.3 + Ubuntu is fine |
@vicentebolea Can we please have ZeroMQ, DataMan, HDF5 and some compression library on for the macos tests? |
… and python 3.8+ "spawn" method does not work on macos, swith to "fork" for all situations. https://bugs.python.org/issue33725
… and python 3.8+ "spawn" method does not work on macos, swith to "fork" for all situations. https://bugs.python.org/issue33725. Rebased on the current master.
Fixed |
Thanks a lot, @dmitry-ganyushin! X-ref: #3687 |
Fix for the issue ornladios#3646. (cherry picked from commit c8c5238)
Describe the bug
This is a Python regression in 2.9.0, first seen by @liangwang0734 in conda-forge/adios2-feedstock#71
This seems to be partly a regression from a0d4586 possibly due to the change in multiprocessing on OS X since Python 3.8. Searching the error
TypeError: cannot pickle '_io.TextIOWrapper' object
gives a bunch of discussions.cc @vicentebolea - thank you for offering to help with this
To Reproduce
Build and test ADIOS2 as in conda-forge/adios2-feedstock#71
Desktop (please complete the following information):
Additional context
This bug prevents us from releasing a new ADIOS2 release on conda-forge.
The text was updated successfully, but these errors were encountered: