Skip to content

Tests on =nipype-1.8.6 fail with #3626

Closed
@TheChymera

Description

@TheChymera

This is a snippet from running the tests (full build log here):

______________________________________ ERROR collecting nipype/interfaces/nitime/tests/test_nitime.py ______________________________________
ImportError while importing test module '/var/tmp/portage/sci-libs/nipype-1.8.6/work/nipype-1.8.6/nipype/interfaces/nitime/tests/test_nitime.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/usr/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
/usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
nipype/interfaces/nitime/tests/test_nitime.py:10: in <module>
    from nipype.testing import example_data
nipype/testing/__init__.py:19: in <module>
    from . import decorators
nipype/testing/decorators.py:7: in <module>
    from numpy.testing import dec
E   ImportError: cannot import name 'dec' from 'numpy.testing' (/usr/lib/python3.11/site-packages/numpy/testing/__init__.py)

Any idea what this could be about, couldn't find anything via a quick web search...

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