Skip to content

[3.15] gh-122931: Allow stable abi3 API extensions to include a multiarch tuple in the filename (GH-152461) - #154772

Merged
encukou merged 2 commits into
python:3.15from
miss-islington:backport-7961bbf-3.15
Jul 29, 2026
Merged

[3.15] gh-122931: Allow stable abi3 API extensions to include a multiarch tuple in the filename (GH-152461)#154772
encukou merged 2 commits into
python:3.15from
miss-islington:backport-7961bbf-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

This permits stable ABI extensions for multiple architectures to be
co-installed into the same directory, without clashing with each other,
the same way (non-stable ABI) regular extensions can.

It is listed before the current platform-less suffixes since it's more
specific.

The platform is stored in a new pyconfig.h define & sysconfig
variable, SOABI_PLATFORM.
On some known architectures (FreeBSD, Windows), this
will be undefined/zero; these won't have the new tag (yet).

Add SOABI_PLATFORM & ALT_SOABI the info to
make pythoninfo as well.
(cherry picked from commit 7961bbf)

Co-authored-by: Stefano Rivera [email protected]
Co-authored-by: Petr Viktorin [email protected]
Co-authored-by: Victor Stinner [email protected]

…rch tuple in the filename (pythonGH-152461)

This permits stable ABI extensions for multiple architectures to be
co-installed into the same directory, without clashing with each other,
the same way (non-stable ABI) regular extensions can.

It is listed before the current platform-less suffixes since it's more
specific.

The platform is stored in a new pyconfig.h define & sysconfig
variable, SOABI_PLATFORM.
On some known architectures (FreeBSD, Windows), this
will be undefined/zero; these won't have the new tag (yet).

Add SOABI_PLATFORM & ALT_SOABI the info to
`make pythoninfo` as well.
(cherry picked from commit 7961bbf2bbbd96679eba89419c34128481b9b0ff)

Co-authored-by: Stefano Rivera <[email protected]>
Co-authored-by: Petr Viktorin <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
@read-the-docs-community

read-the-docs-community Bot commented Jul 27, 2026

Copy link
Copy Markdown

@encukou encukou added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jul 28, 2026
@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @encukou for commit 2f6946c 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F154772%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jul 28, 2026
@encukou
encukou merged commit 23b2b40 into python:3.15 Jul 29, 2026
141 checks passed
@miss-islington
miss-islington deleted the backport-7961bbf-3.15 branch July 29, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants