Source: nibabel Version: 5.3.2-3 Severity: important Tags: ftbfs User: [email protected] 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

