Skip to content

Build failure with nibabel 5.0 #3537

Closed
@tillea

Description

@tillea

Summary

The Debian package of nipype has errors in build time test since nibabel 5.0 was uploaded.

Actual behavior

There is a build log showing the errors (including all used preconditions and versions). Here is the short test summary info:

=========================== short test summary info ============================
FAILED ../nipype/algorithms/tests/test_ErrorMap.py::test_errormap - 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().
FAILED ../nipype/algorithms/tests/test_metrics.py::test_fuzzy_overlap - 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().
ERROR ../nipype/algorithms/tests/test_TSNR.py::TestTSNR::test_tsnr - 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().
ERROR ../nipype/algorithms/tests/test_TSNR.py::TestTSNR::test_tsnr_withpoly1 - 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().
ERROR ../nipype/algorithms/tests/test_TSNR.py::TestTSNR::test_tsnr_withpoly2 - 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().
ERROR ../nipype/algorithms/tests/test_TSNR.py::TestTSNR::test_tsnr_withpoly3 - 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().
ERROR ../nipype/algorithms/tests/test_TSNR.py::TestTSNR::test_warning - 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().
= 2 failed, 2718 passed, 243 skipped, 1 deselected, 5 xfailed, 229 warnings, 5 errors in 163.84s (0:02:43) =

Expected behavior

Passing all tests also with nibabel 5.0

How to replicate the behavior

Please verify the latest version of nibabel to build nipype.

Platform details:

OS: Debian sid
You can find all information about Python version and nipype version in the full build log

Kind regards, Andreas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions