Skip to content

Change always_forkserver_on_unix() to use_multiprocessing_forkserver_on_linux() #4577

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

rwgk
Copy link
Collaborator

@rwgk rwgk commented Mar 16, 2023

Description

To be completely honest, I missed that "spawn" is the default under macOS while working on PR #4216 & #4306.

In the meantime,

This PR overrides the multiprocessing default only when we're sure the default is broken.

Suggested changelog entry:

@rwgk
Copy link
Collaborator Author

rwgk commented Mar 16, 2023

Thanks @Skylion007!
I'll hold off merging until @henryiii has made the 2.10.4 release. (Not sure if merging now will make it more difficult to make the release.)

@rwgk rwgk marked this pull request as ready for review March 16, 2023 20:42
@henryiii
Copy link
Collaborator

v2.10 is a separate branch, no need to wait - things get manually backported there. But I'm going to make the release now.

@rwgk rwgk merged commit cf7d2e6 into pybind:master Mar 16, 2023
@rwgk rwgk deleted the use_multiprocessing_forkserver_on_linux branch March 16, 2023 21:33
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Mar 16, 2023
@rwgk rwgk removed the needs changelog Possibly needs a changelog entry label Mar 16, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants