-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
--disable-gil
builds install incompatible stable ABI extensions
#111870
Comments
--disable-gil
@colesbury do you want people to start submitting these reports yet or wait until things are a bit further along? |
@mdboom handled this issue before, it's related to psutil, IIRC |
See also: #110764 (comment) |
@tonybaloney, Yes I appreciate the bug reports. I'm generally trying to keep the
So, extensions aren't currently in a good state. |
This particular issue looks like |
--disable-gil
--disable-gil
builds install incompatible stable ABI extensions
gotcha, for 1) I've submitted a similar request to cibuildwheel |
The |
Crash report
Summary
The bundled
pip
(23.2.1) in the main branch will install incompatible extensions that use the stable ABI in--disable-gil
(free-threaded) builds. The logic is in thepackaging
package, which was fixed in pypa/packaging#728, but we still need apackaging
release, forpip
to update it's bundledpackaging
version, apip
release, and for the Python main branch to update it's bundledpip
version.What happened?
Python is crashing because in
_PyModule_CreateInitialized
, the module object is invalid memory (it doesn't look like it initialised at all)Crash backtrace
Verbose log
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
Output from running 'python -VV' on the command line:
Python 3.13.0a1+ (heads/main:97c4c06d0d, Nov 9 2023, 13:41:46) [Clang 14.0.3 (clang-1403.0.22.14.1)]
The text was updated successfully, but these errors were encountered: