Skip to content

Allow stable ABI extensions to include multiarch tuples in the filename #122931

@stefanor

Description

@stefanor

Feature or enhancement

Proposal:

Currently C extensions can include the multarch tuple of the architecture the support in their filename, e.g. zlib.cpython-314-x86_64-linux-gnu.so. This extensions for multiple different architectures to be installed on the same filesystem, next to each other, without clashing. This is used by Debian to allow packages for multiple architectures to be co-installed simultaneously.

The same should apply to stable ABI C extensions, but this was missed when the stable ABI was implemented.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions