Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests on =nipype-1.8.6 fail with #3626

Closed
TheChymera opened this issue Jan 22, 2024 · 3 comments
Closed

Tests on =nipype-1.8.6 fail with #3626

TheChymera opened this issue Jan 22, 2024 · 3 comments

Comments

@TheChymera
Copy link
Collaborator

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...

@effigies
Copy link
Member

Numpy deprecated numpy.testing.dec a long time ago. I suppose I'm surprised that we still have it.

@effigies
Copy link
Member

Oh, looks like I removed it in #3587.

I suppose we should release.

@effigies
Copy link
Member

Release prep in progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants