[Debian-med-packaging] Bug#1030138: nipy: FTBFS in unstable

Graham Inggs ginggs at debian.org
Tue Jan 31 14:36:52 GMT 2023


Source: nipy
Version: 0.5.0-6
Severity: serious
Tags: ftbfs

Hi Maintainer

While rebuilding nipy for the removal of Python 3.10, it FTBFS [1].

I've copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://buildd.debian.org/status/package.php?p=nipy


======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'nibabel.py3k')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/usr/lib/python3/dist-packages/nose/loader.py", line 416, in
loadTestsFromName
    module = self.importer.importFromPath(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in
importFromPath
    return self.importFromDir(dir_path, fqname)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in
importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/imp.py", line 235, in load_module
    return load_source(name, filename, file)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/imp.py", line 172, in load_source
    module = _load(spec)
             ^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 721, in _load
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_nipy/build/nipy/algorithms/statistics/formula/tests/test_formula.py",
line 21, in <module>
    from nibabel.py3k import asbytes
ModuleNotFoundError: No module named 'nibabel.py3k'

======================================================================
ERROR: nipy.core.image.tests.test_image_spaces.test_image_xyz_affine
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_nipy/build/nipy/core/image/tests/test_image_spaces.py",
line 37, in test_image_xyz_affine
    nimg = nib.Nifti1Image(arr, aff)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/nibabel/nifti1.py", line 1838,
in __init__
    alert_future_error(
  File "/usr/lib/python3/dist-packages/nibabel/deprecated.py", line
118, in alert_future_error
    raise error_class(f'{msg} {error_rec}'.strip())
ValueError: Image data has type int64, which may cause
incompatibilities with other tools. To use this type, pass an explicit
header or dtype argument to Nifti1Image().



More information about the Debian-med-packaging mailing list