-
Notifications
You must be signed in to change notification settings - Fork 758
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
Prevent building in GIL-less environment #4327
Conversation
Hi! the benches CI check fails because of SSL errors from curl. Could you schedule a rerun for it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks great! I'm going to add one tiny adjustment to the wording, and try to push a test, and then let's merge 👍
Thanks! I'll push a test in a moment! |
Thanks 👍 I think easiest place to put a test would be in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super, thanks, let's give this a spin!
Thank you! |
Head branch was pushed to by a user without write access
* Prevent building in GIL-less environment * Add change log * add "yet" to phrasing * Add testing to build script * add link to issue * Fix formatting issues --------- Co-authored-by: David Hewitt <mail@davidhewitt.dev>
* Prevent building in GIL-less environment * Add change log * add "yet" to phrasing * Add testing to build script * add link to issue * Fix formatting issues --------- Co-authored-by: David Hewitt <mail@davidhewitt.dev>
* Prevent building in GIL-less environment * Add change log * add "yet" to phrasing * Add testing to build script * add link to issue * Fix formatting issues --------- Co-authored-by: David Hewitt <mail@davidhewitt.dev>
This PR lets PyO3 checks
Py_GIL_DISABLED
build flag and prevents building against GIL-less Python, unless explicitly opt in theUNSAFE_PYO3_BUILD_FREE_THREADED
flag.