Skip to content

SOABI for debug version of Python 3.13 on Windows #125591

Closed
@adang1345

Description

@adang1345

Bug report

Bug description:

The SOABI configuration variable is 'cp313-win_amd64' for both debug and release builds of Python 3.13 on Windows.

>>> import sysconfig
>>> sysconfig.get_config_var('SOABI')
'cp313-win_amd64'

Is this intentional, or should the value be 'cp313d-win_amd64' for the debug build of Python? On Linux, the value for SOABI has the d flag in the debug build of Python.

>>> import sysconfig
>>> sysconfig.get_config_var('SOABI')
'cpython-313d-x86_64-linux-gnu'

I ask because setuptools uses the value for SOABI to derive the ABI tag when building a wheel, and the d 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 be setuptools's responsibility to add the d flag or whether the d flag should already be part of SOABI to begin with. For reference, the setuptools bug report is at pypa/setuptools#4674.

CPython versions tested on:

3.13

Operating systems tested on:

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowstype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions