Skip to content

BUG: adapt to platform-specific abi3 and abi3t filename suffixes - #876

Open
dnicolodi wants to merge 4 commits into
mesonbuild:mainfrom
dnicolodi:fix/abi3-tags
Open

BUG: adapt to platform-specific abi3 and abi3t filename suffixes#876
dnicolodi wants to merge 4 commits into
mesonbuild:mainfrom
dnicolodi:fix/abi3-tags

Conversation

@dnicolodi

Copy link
Copy Markdown
Member

Python 3.15.0rc1 introduced platform-specific filename suffixes for stable ABI extension modules alongside the generic ".abi3" and ".abi3t".

@dnicolodi
dnicolodi force-pushed the fix/abi3-tags branch 7 times, most recently from e8d4ad8 to 6f4d009 Compare August 5, 2026 19:17
@dnicolodi dnicolodi added this to the v0.21.0 milestone Aug 5, 2026

@rgommers rgommers left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dnicolodi! It looks like we lost CI coverage for free-threading with the demise of Cirrus. I tried adding 3.15t jobs for Linux and Windows; Linux is happy, but Windows shows two test failures: https://github.com/rgommers/meson-python/actions/runs/31088854382/job/92574711478.

The changes to _WheelBuilder look too strict, we need to be careful there until we land a cross-compilation CI job.

Comment thread mesonpy/__init__.py Outdated
Comment thread mesonpy/__init__.py Outdated
@dnicolodi

Copy link
Copy Markdown
Member Author

Windows shows two test failures

I see why this fails. The fact that stable ABI extension modules do not have a dedicated filename suffix on Windows is a pain.

@rgommers

rgommers commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

The fact that stable ABI extension modules do not have a dedicated filename suffix on Windows is a pain.

💯. Doesn't seem like there's any interest upstream in fixing that, unfortunately. Maybe once they finally replace their build systems with something more modern.

@eli-schwartz

Copy link
Copy Markdown
Member

The fact that stable ABI extension modules do not have a dedicated filename suffix on Windows is a pain.

💯. Doesn't seem like there's any interest upstream in fixing that, unfortunately. Maybe once they finally replace their build systems with something more modern.

This was previously discussed around #787 (comment) and @zooba basically said it would be easy to do but nobody thought of it "because the original motivation for adding any kind of data there, was for a Linux specific reason and nobody really reevaluated the assumption since then".

In exposing features to users, we do not distinguish in which Python
pre-release a feature has been introduced. Reflect this in code
comments too.
Allow stable ABI extension filenames to include a multiarch tuple.

Fixes mesonbuild#875.
@dnicolodi
dnicolodi force-pushed the fix/abi3-tags branch 2 times, most recently from 8ba45d4 to c4577e7 Compare August 7, 2026 19:47
@dnicolodi

Copy link
Copy Markdown
Member Author

@rgommers I think I addressed your comments. Please take a look.

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.

3 participants