#1146750 meson-python: FTBFS against python 3.15rc1

Package:
src:meson-python
Source:
src:meson-python
Submitter:
Maximiliano Curia
Date:
2026-09-09 06:21: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/

#1146750#8
Date:
2026-09-09 05:57:45 UTC
From:
To:
Hello,

Bug #1146750 in meson-python reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/meson-python/-/commit/bcb2f8f65f5d84b99f6d0499ad5e62488d2b07d1
------------------------------------------------------------------------
Add patch to handle multiarch tagged ABI3 extensions

With thanks to Maximiliano Curia for forwarding the patch

Closes: #1146750
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1146750

#1146750#15
Date:
2026-09-09 06:19:26 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
meson-python, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1146750@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stuart Prescott <stuart@debian.org> (supplier of updated meson-python package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 09 Sep 2026 15:52:27 +1000
Source: meson-python
Architecture: source
Version: 0.19.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Stuart Prescott <stuart@debian.org>
Closes: 1146750
Changes:
 meson-python (0.19.0-3) unstable; urgency=medium
 .
   * Team upload.
   * Add upstream patch for compatibility with Python 3.15
     multiarch-tuple-tagged ABI3 extensions, with thanks to Maximiliano Curia
     for forwarding the patch (Closes: #1146750).
Checksums-Sha1:
 4018d4f866db7128ab07efaaad728186da2a5fa4 2897 meson-python_0.19.0-3.dsc
 e8935b16149c1f366396d3e763eb81d696e94135 5460 meson-python_0.19.0-3.debian.tar.xz
 003ce47dc4709462f33bcac52e8c6639b65c7223 261516 meson-python_0.19.0-3.git.tar.xz
 17d4d42eb6ec648b4a6c13bd06edf8b4d1b776df 17692 meson-python_0.19.0-3_source.buildinfo
Checksums-Sha256:
 1a90e7cb37db77b8cd5bcac363cab1c03bc0f65ed20ad4b8f36410cfb67d5b3e 2897 meson-python_0.19.0-3.dsc
 25e75a924e6d4a06e12eec1ed27f5ed34e8289fe14a6eca0805f0b915b291582 5460 meson-python_0.19.0-3.debian.tar.xz
 cbe43513ebec3f936c42ded21555043fbaf1c331a197a9dbd744a0e080bbd8f8 261516 meson-python_0.19.0-3.git.tar.xz
 8f9ea33b9025d723bf3037849b59ce4030a7852b23f5d06a32cbb6372ea2a4e9 17692 meson-python_0.19.0-3_source.buildinfo
Files:
 1ca3cdb31533dad22586837c18b9adad 2897 python optional meson-python_0.19.0-3.dsc
 cea40837923e7d5b53b3620e615b4055 5460 python optional meson-python_0.19.0-3.debian.tar.xz
 fca2dd9790388e2e02dba06174f89d6b 261516 python None meson-python_0.19.0-3.git.tar.xz
 343885c9d91e768e6aa13289319f1aab 17692 python optional meson-python_0.19.0-3_source.buildinfo
Git-Tag-Info: tag=f6f0d68340308d2f46a20e735fc2fbfe889eb118 fp=90e2d2c1ad146a1b7ebb891dbbc17ebb1396f2f7
Git-Tag-Tagger: Stuart Prescott <stuart@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqg9ZcACgkQYG0ITkaD
wHnooQ//eV0nNKgeepvGHiPNGM33ex/5SLdsu94tH6vy6xyvo/w+iONKunwFKf3V
Oaw9q23H7wGMRxHBFR2Gca542Fp4hyNq63VL1WFJRDv9tTQ7FdvOhB0gC78nyC9b
dJMzRsulgQP6q6p6Zkr8OpnXW2aKwMQSyejHj4qmIESJPjkcGKw0zkGcinCo2X67
+eoa23rQEBV9FwfnKety0E/gBuTCpRQr5nFqBu9WEfISBHqu5hIIBN4S84fY1uDO
N4r1x/oWCVPTZPxH9oL1zQeJ0pi9T081YRl9EHsUr9kosaPej8OCfan9lFH2Zxhs
G7CnHZ+ZSGivklvvQ9Bp5Jq+LztltWJtqZWTrd1t+xiP4AuMYAIkwbMHOL4Bcs/O
Zey3+/xmAEOFWQPHWf0r3yiAJAC7s0G1tJauqlYZhH1skzav9B8h/a8qMLoH31ey
UrdFJCapE51ABIgKg3wa1VKHfCNQcZig25NwRudPjRdrMxaErPS5KxdiK+vT9qcE
HNRWv8OM6eMbyiPllLJaEDQgKAxbkeLZN9TsJEECGxwOxcFeYEJdWhgTjhRd46X2
thyKIjnsaSbUsC5a/xsCU5tjpG6y0ougZFoclN+9So8UIIoQahXcHl0rtulj59j9
N5mpWvg2AjPfaj9Du9EOY+zJ8VQk3R/l6CN9L1wtMxFejfly1fM=
=Qw33
-----END PGP SIGNATURE-----