Skip to content
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

Avoid the multiprocessing forkserver method #343

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

befeleme
Copy link

What's new in Python 3.14 states:
The default start method changed from fork to forkserver on platforms other than macOS and Windows where it was already spawn.

If the threading incompatible fork method is required, you must explicitly request it via a context from multiprocessing.get_context() (preferred) or change the default via
multiprocessing.set_start_method().
Source:
https://docs.python.org/dev/whatsnew/3.14.html#whatsnew314-multiprocessing-start-method

This change is incompatible with the current test settings. The patch is backwards compatible.

You can see the build results in my testing Fedora Copr where I try to build satyr with Python 3.14.0 - the latest build, containing this commit, is successful: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/satyr/

What's new in Python 3.14 states:
The default start method changed from fork to forkserver on platforms
other than macOS and Windows where it was already spawn.

If the threading incompatible fork method is required, you must
explicitly request it via a context from multiprocessing.get_context()
(preferred) or change the default via
multiprocessing.set_start_method().
Source:
https://docs.python.org/dev/whatsnew/3.14.html#whatsnew314-multiprocessing-start-method

This change is incompatible with the current test settings.
The patch is backwards compatible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant