Include "t" in ABI tag for --disable-gil builds
#109740
Labels
3.13
new features, bugs and security fixes
build
The build process and cross-build
type-feature
A feature request or enhancement
Feature or enhancement
Context:
The
--disable-gilbuilds will have a different version specific ABI from the default CPython 3.13 builds due to reference counting differences and other changes. This should be indicated by a "t" (for "threading") in the ABI tag.On POSIX, this is achieved by setting the
ABIFLAGSvariable, which feeds into the sysconfigEXT_SUFFIXandSOABIvariables. The version specific shared libraries would look like:package.cpython-313t-darwin.soOn Windows, this is achieved by setting
PYD_TAGGED_SUFFIX, which feeds into the sysconfigEXT_SUFFIX. The shared libraries using the version specific ABI would look like:_package.cp313t-win_amd64.pydNote that this does not address and is independent of the stable ABI. There's ongoing discussion about how best to support the stable ABI in
--disable-gilbuilds.cc @gpshead @brettcannon @vstinner
Linked PRs
--disable-gilSOABI #109922The text was updated successfully, but these errors were encountered: