-
-
Notifications
You must be signed in to change notification settings - Fork 36
📦 Disable cythonize parallelism w/ spawn
#770
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
Merged
webknjaz
merged 2 commits into
ansible:devel
from
webknjaz:packaging/fix-build-hang-on-spawn-in-cythonize
Oct 10, 2025
Merged
📦 Disable cythonize parallelism w/ spawn
#770
webknjaz
merged 2 commits into
ansible:devel
from
webknjaz:packaging/fix-build-hang-on-spawn-in-cythonize
Oct 10, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f338c07 to
87e8744
Compare
webknjaz
added a commit
to webknjaz/ansible--pylibssh
that referenced
this pull request
Oct 1, 2025
This comment was marked as outdated.
This comment was marked as outdated.
webknjaz
added a commit
to webknjaz/ansible--pylibssh
that referenced
this pull request
Oct 2, 2025
87e8744 to
791ee57
Compare
webknjaz
added a commit
to webknjaz/ansible--pylibssh
that referenced
this pull request
Oct 2, 2025
791ee57 to
04f1fca
Compare
webknjaz
commented
Oct 2, 2025
webknjaz
added a commit
to webknjaz/ansible--pylibssh
that referenced
this pull request
Oct 10, 2025
04f1fca to
95686cf
Compare
webknjaz
added a commit
to webknjaz/ansible--pylibssh
that referenced
this pull request
Oct 10, 2025
95686cf to
cdb95b9
Compare
This is a workaround for a hang in Cython extention compilation under Python 3.8+ on macOS. It hangs in `multiprocessing` when the `spawn` method is set up so the patch simply sets the workers number to `1` to combat that. Fixes ansible#762 and fixes ansible#769. Upstream fix: cython/cython#7183
cdb95b9 to
c4af16a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a workaround for a hang in Cython extention compilation under Python 3.8+ on macOS. It hangs in
multiprocessingwhen thespawnmethod is set up so the patch simply sets the workers number to1to combat that.Fixes #762 and fixes #769.
Upstream fix: cython/cython#7183
ISSUE TYPE
Change log preview: https://ansible-pylibssh--770.org.readthedocs.build/en/770/changelog/#packaging-updates-and-notes-for-downstreams