-
Notifications
You must be signed in to change notification settings - Fork 89
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
Pickling error on OS X / Python 3.8 (but not in 3.7) #104
Comments
This is probably because the defaults for multiprocessing changed in python 3.8. Now, by default, OS X multiprocessing starts processes with spawn instead of fork (like Windows). And with spawning, data is sent by pickling. The workaround is simply to run |
@avirshup thanks for posting the solution so others can find it. Closing it for now. |
- Travis is no longer on the default dashboard - Fix pickling error based on pytest-dev/pytest-flask#104 - Fix fixture scoping based on pytest-dev/pytest-flask#117
- See pytest-dev/pytest-flask#104 - Default start method on macOS changed from 'fork' to 'spawn' in Py3.8. - Also remove some unused imports.
On Mac there are different default behaviours for multiprocessing which is used by live server that leads to Pickling Errors. pytest-dev/pytest-flask#104
I am getting very similar errors to those described in #54, but in a different context:
I'm using Python 3.8 on MacOS.
Note that everything works fine with python 3.7!
The text was updated successfully, but these errors were encountered: