Skip to content

Commit 0ac149e

Browse files
committed
enh: make sure neurdflib comes after prov
see #2961 (comment)
1 parent f7de5db commit 0ac149e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nipype/info.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ def get_nipype_gitversion():
142142
'futures; python_version == "2.7"',
143143
'networkx>=%s ; python_version >= "3.0"' % NETWORKX_MIN_VERSION,
144144
'networkx>=%s,<=%s ; python_version < "3.0"' % (NETWORKX_MIN_VERSION, NETWORKX_MAX_VERSION_27),
145-
'neurdflib',
146145
'nibabel>=%s' % NIBABEL_MIN_VERSION,
147146
'numpy>=%s ; python_version > "3.0" and python_version < "3.7"' % NUMPY_MIN_VERSION,
148147
'numpy>=%s ; python_version >= "3.7"' % NUMPY_MIN_VERSION_37,
@@ -157,6 +156,10 @@ def get_nipype_gitversion():
157156
'traits>=%s,!=5.0' % TRAITS_MIN_VERSION,
158157
]
159158

159+
# neurdflib has to come after prov
160+
# https://github.com/nipy/nipype/pull/2961#issuecomment-512035484
161+
REQUIRES += ['neurdflib']
162+
160163
TESTS_REQUIRES = [
161164
'codecov',
162165
'coverage<5',

0 commit comments

Comments
 (0)