Skip to content

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

Merged
dnicolodi merged 4 commits into
mesonbuild:mainfrom
dnicolodi:fix/abi3-tags
Aug 21, 2026
Merged

BUG: adapt to platform-specific abi3 and abi3t filename suffixes#876
dnicolodi merged 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 3 times, most recently from c4577e7 to 231cac7 Compare August 7, 2026 20:06
@dnicolodi

Copy link
Copy Markdown
Member Author

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

@dnicolodi

Copy link
Copy Markdown
Member Author

@rgommers Unless you have more comments, I'll be merging this soon

We lost these with the demise of Cirrus CI.
@dnicolodi
dnicolodi merged commit cec60cc into mesonbuild:main Aug 21, 2026
35 checks passed
@rgommers

Copy link
Copy Markdown
Contributor

Thanks @dnicolodi! I had an event the week before last, so I had a hard time keeping up with OSS responsibilities. I did some post-hoc review here, this looks great now. I opened gh-882 as a follow-up with a couple of test improvements.

@dnicolodi

Copy link
Copy Markdown
Member Author

Thanks @rgommers. I didn't want to force matters but I think it would be nice to have a release out soon to allow abi3t build of projects using meson-python, thus when I didn't hear from you for a while I went ahead as I felt that this was ready.

@rgommers

Copy link
Copy Markdown
Contributor

Yeah no worries - you did ping me and announced your intention to merge, so all good. I was just so busy I didn't even read the ping in time (which is rare, luckily).

Also agreed that we need to get a release out. Let's try to do that this week?

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