Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1270799

Bug#1121007: nibabel: FTBFS with Python 3.14

Path csiph.com!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Graham Inggs <ginggs@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1121007: nibabel: FTBFS with Python 3.14
Date Wed, 19 Nov 2025 14:50:01 +0100
Message-ID <LSQJj-e8KA-3@gated-at.bofh.it> (permalink)
X-Original-To Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Wed Nov 19 13:49:08 2025
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -2.399
Reply-To Graham Inggs <ginggs@debian.org>, 1121007@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc debian-med-packaging@lists.alioth.debian.org
X-Debian-Pr-Message report 1121007
X-Debian-Pr-Package src:nibabel
X-Debian-Pr-Keywords ftbfs
X-Debian-Pr-Source nibabel
X-Gm-Message-State AOJu0YwgtUrKTgy7t5upCVDFQOxcf3LcTgNrVmjk6lGzmxiM14X+WsRf TC5ADeiLo7LL13Om7Lc+h8ZFXnvhWQgBLTuR0h3cDNpbVLetxIvjF7ap+BT5bIb4uP1Qem750Xk IaoO+TvQN/AISmHPQpiZVQddSwKBWxiE=
X-Google-SMTP-Source AGHT+IEyhcZRs2WyMoQM7c0SikE4wGFcrCq9PV4ArXs5gj+tYtb0V8GxyJLekO2yQ/RR+ETTphNP+xX9jDem+q8i/aE=
X-Received by 2002:a05:6122:1cc:b0:559:c342:b246 with SMTP id 71dfb90a1353d-55b1be574e8mr2693613e0c.2.1763560057320; Wed, 19 Nov 2025 05:47:37 -0800 (PST)
MIME-Version 1.0
X-Gmail-Original-Message-ID <CAM8zJQsmapiW6tfz-PFrripW4E2amJ6pvT0mbWpYnG8HwXOEUw@mail.gmail.com>
X-Gm-Features AWmQ_bn5fPWGKk0KbCKGlQUItFrFmLMy9UdBZxcN4dF9jdJ7Pn6Hc9KwIDZ5uO0
Content-Type text/plain; charset="UTF-8"
X-Debian-User ginggs
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1937573
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 57
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 19 Nov 2025 12:47:25 -0100
X-Original-Message-ID <CAM8zJQsmapiW6tfz-PFrripW4E2amJ6pvT0mbWpYnG8HwXOEUw@mail.gmail.com>
Xref csiph.com linux.debian.bugs.dist:1270799

Show key headers only | View raw


Source: nibabel
Version: 5.3.2-3
Severity: important
Tags: ftbfs
User: debian-python@lists.debian.org
Usertags: python3.14

Hi Maintainer

nibabel will FTBFS once Python 3.14 is added as a supported version in Debian.
I've copied what I hope is the relevant part of the log below, seen in Ubuntu,

TestDeprecatorMaker.test_deprecator_maker has already been fixed upstream [1].

test_entrypoint is failing because the captured output 'usage:
python3.14 -m pytest' does not match the expected output 'usage:
nib-roi', but only when tested with python3.14, yet the --help text is
correct.  It is not yet clear to me whether this would be a bug in
nibabel or elsewhere.

Regards
Graham


[1] https://github.com/nipy/nibabel/commit/bc216da7c35267f18bf3da4ae3122d56052cc168


__________________ TestDeprecatorMaker.test_deprecator_maker ___________________

self = <nibabel.tests.test_deprecator.TestDeprecatorMaker object at
0x76384d582d50>

    def test_deprecator_maker(self):
>       dec = self.dep_maker(warn_class=UserWarning)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       TypeError: Deprecator.__init__() got multiple values for
argument 'warn_class'

nibabel/tests/test_deprecator.py:167: TypeError

_______________________________ test_entrypoint ________________________________

capsys = <_pytest.capture.CaptureFixture object at 0x76384b117230>

    def test_entrypoint(capsys):
        # Check that we handle missing args as expected
        with mock.patch('sys.argv', ['nib-roi', '--help']):
            with pytest.raises(SystemExit):
                main()
        captured = capsys.readouterr()
>       assert captured.out.startswith('usage: nib-roi')
E       assert False
E        +  where False = <built-in method startswith of str object at
0x35bbc9f0>('usage: nib-roi')
E        +    where <built-in method startswith of str object at
0x35bbc9f0> = "usage: python3.14 -m pytest [-h] [--version] [-i
I1:I2[:-1]] [-j J1:J2[:-1]]\n

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1121007: nibabel: FTBFS with Python 3.14 Graham Inggs <ginggs@debian.org> - 2025-11-19 14:50 +0100

csiph-web