Skip to content

Commit 2b6b4f2

Browse files
committed
REF: Require Pandas for tests
Ref nipy#3290 (comment)
1 parent 19078a4 commit 2b6b4f2

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

nipype/info.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,12 @@ def get_nipype_gitversion():
9999
"""
100100

101101
# versions
102-
NIBABEL_MIN_VERSION = "3.0"
103-
NETWORKX_MIN_VERSION = "2.5"
104-
NUMPY_MIN_VERSION = "1.21"
105-
SCIPY_MIN_VERSION = "1.8"
106-
TRAITS_MIN_VERSION = "6.2"
102+
NIBABEL_MIN_VERSION = "2.1.0"
103+
NETWORKX_MIN_VERSION = "2.0"
104+
NUMPY_MIN_VERSION = "1.17"
105+
NUMPY_MAX_VERSION = "2.0"
106+
SCIPY_MIN_VERSION = "0.14"
107+
TRAITS_MIN_VERSION = "4.6"
107108
DATEUTIL_MIN_VERSION = "2.2"
108109
SIMPLEJSON_MIN_VERSION = "3.8.0"
109110
PROV_MIN_VERSION = "1.5.2"

nipype/pipeline/plugins/tests/test_callback.py

-8
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@
88
import nipype.interfaces.utility as niu
99
import nipype.pipeline.engine as pe
1010

11-
try:
12-
import pandas
13-
14-
has_pandas = True
15-
except ImportError:
16-
has_pandas = False
17-
1811

1912
def func():
2013
return
@@ -71,7 +64,6 @@ def test_callback_exception(tmpdir, plugin, stop_on_first_crash):
7164

7265

7366
@pytest.mark.parametrize("plugin", ["Linear", "MultiProc", "LegacyMultiProc"])
74-
@pytest.mark.skipif(not has_pandas, reason="Test requires pandas")
7567
def test_callback_gantt(tmp_path: Path, plugin: str) -> None:
7668
import logging
7769

0 commit comments

Comments
 (0)