[Debian-med-packaging] Bug#1146887: nibabel: FTBFS against python 3.15rc2

Maximiliano Curia maxy at debian.org
Sun Sep 6 19:10:18 BST 2026


Package: src:nibabel
Version: 5.4.2-4
User: debian-python at lists.debian.org
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Severity: important

Hi!

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

The failure happens because test_DeterministicGzipFile and
test_DeterministicGzipFile_fileobj fail due to a discrepancy in the
default compression levels of gzip files, python 3.15 uses now
compresslevel=6

To fix this, I've made a patch to use None as the default compresslevel,
and let Python set it, instead of forcing it to 9.

I applied the fix in the sandbox [2] to be able to build the packages
that depend on nibabel, 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/4478755/
[2]: https://debusine.debian.net/debian/r-python-python3.15/

-- 
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python3.15.patch
Type: text/x-diff
Size: 1702 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20260906/0933cd06/attachment.patch>


More information about the Debian-med-packaging mailing list