-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
SOABI for debug version of Python 3.13 on Windows #125591
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
Comments
I think I added In particular, the relevant comments are here: #110049 (comment). The problem is that Windows uses a different format and the
where cpython/Include/internal/pycore_importdl.h Lines 122 to 128 in 760872e
|
Yeah, the filename format is just different. Looking at IMHO, debug builds of CPython aren't worth supporting to the point where I'd put wheels on PyPI. Is there a new use case here that I haven't heard about? Or are we just looking for 100% completeness where it isn't really useful? |
I have a project where during development, I use With Python 3.12, Based on the above comments, it's clear that |
The critical compiler flag is If you pass Using a debug build of CPython is only really necessary to debug CPython itself. If you believe that CPython does not contain the bug, you don't need its debug build. |
Thanks, that's good to know. However, a complication is that my extension module links to a DLL which exports C++ functions, and I'm building that DLL using |
Bug report
Bug description:
The
SOABI
configuration variable is'cp313-win_amd64'
for both debug and release builds of Python 3.13 on Windows.Is this intentional, or should the value be
'cp313d-win_amd64'
for the debug build of Python? On Linux, the value forSOABI
has thed
flag in the debug build of Python.I ask because
setuptools
uses the value forSOABI
to derive the ABI tag when building a wheel, and thed
flag is missing when building a wheel containing an extension module using the debug build of Python 3.13. We want to know whether it should besetuptools
's responsibility to add thed
flag or whether thed
flag should already be part ofSOABI
to begin with. For reference, thesetuptools
bug report is at pypa/setuptools#4674.CPython versions tested on:
3.13
Operating systems tested on:
Windows
The text was updated successfully, but these errors were encountered: