Hi!
While rebuilding the python related packages against the Python 3.15rc2
version we found that refnx fails to build from source [1].
The error is: meson-python: error: The package declares compatibility
with Python limited API but extension module
'refnx/_lib/_cutil.abi3-x86_64-linux-gnu.so' is tagged for a specific
Python version.
Also matplotlib complains that it can't use DISPLAY when running the
tests.
To fix it, I had to make two changes to address those two issues:
- Avoid claiming limited api
- Use a headless backend for the build tests
I've applied these fixes in the sandbox [2] to verify that it builds
successfully, please consider applying the patch to support the upcoming
3.15 version.
Setting the severity to important for now. Once Python 3.15 is released,
it will be added to python3-defaults and this bug will become release
critical.
Happy hacking,
[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4387111/
[2]: https://debusine.debian.net/debian/r-python-python3.15/