#1146750 meson-python: FTBFS against python 3.15rc1

Package:
src:meson-python
Source:
src:meson-python
Submitter:
Maximiliano Curia
Date:
2026-09-05 11:01:02 UTC
Severity:
normal
Tags:
#1146750#5
Date:
2026-09-05 10:58:14 UTC
From:
To:
Hi!

While rebuilding the python related packages against the Python 3.15rc2
version we found that meson-python fails to build from source [1].

The error encountered is: mesonpy.BuildError: The package declares
compatibility with Python limited API but extension module
'extension.abi3-x86_64-linux-gnu.so' is tagged for a specific Python
version.

The issue can be fixed by applying the upstream commit
865aa6138ab5522b3bee540b64d78ca87c4cec2a [2] BUG: adjust regexp to
extract ABI from extension filename

I applied the upstream fix in the sandbox [3] to be able to build the
packages that depend on meson-python, please consider applying the patch
to support the upcoming 3.15 version.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4483856/
[2]: https://github.com/mesonbuild/meson-python/commit/865aa6138ab5522b3bee540b64d78ca87c4cec2a
[3]: https://debusine.debian.net/debian/r-python-python3.15/