-
Notifications
You must be signed in to change notification settings - Fork 49
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
some tests failed on macOS #154
Comments
Thank you for reporting this. I'm sure it wasn't easy to solve. I was able to recreate the issue and confirm that having However, I don't think changing the
Possible solutions:
And as I'm digging deeper into bpo-33725 and the issues it references, I'm thinking changing the code might need to be the solution as this non-explicit sharing may become not possible in a future python version.. maybe. |
Thanks for your response.
Yes, I don't think using and thank you for starting the fix as quickly. |
Functional tests off of develop now pass on mac. If you're still seeing a problem, please re-open this ticket. These changes will be present in v4.1. However It'll be some time before that release is cut as there's at least two more features to add and a lot of user testing happening for a publication tied to the next version. |
Hi, thanks for developing this awesome project.
Version :
4.0.0
Describe the bug :
I tried to use truvari on macOS, and when I ran the test, I got the following error.
error log
After a bit of research, I found out that it is caused by how the process is started in the
multiprocessing
module.(ref: https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods)
I changed it from the macOS default of
spawn
to the Linux default offork
, and the tests passed.To Reproduce :
Run
bash repo_utils/truvari_sshtests.sh
on macOS.Expected behavior :
All tests pass.
Example Data :
Additional context :
The full log is here.
https://hydra.nixos.org/build/219117259/log
The text was updated successfully, but these errors were encountered: