Skip to content

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

Open
miss-islington wants to merge 2 commits into
python:3.15from
miss-islington:backport-7961bbf-3.15
Open

[3.15] gh-122931: Allow stable abi3 API extensions to include a multiarch tuple in the filename (GH-152461)#154772
miss-islington wants to merge 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 stefano@rivera.za.net
Co-authored-by: Petr Viktorin encukou@gmail.com
Co-authored-by: Victor Stinner vstinner@python.org

…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 7961bbf)

Co-authored-by: Stefano Rivera <stefano@rivera.za.net>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants