Skip to content

Commit 59833da

Browse files
authored
MNT: Pin traits < 6.4
This basically sets a lifetime on nipype 1.x. Refactoring to work with breaking changes in traits seems more work than it's worth (and would presumably break with older traits).
1 parent 1dee939 commit 59833da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: nipype/info.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ def get_nipype_gitversion():
104104
NUMPY_MIN_VERSION = "1.17"
105105
SCIPY_MIN_VERSION = "0.14"
106106
TRAITS_MIN_VERSION = "4.6"
107+
TRAITS_MAX_VERSION = "6.4"
107108
DATEUTIL_MIN_VERSION = "2.2"
108109
SIMPLEJSON_MIN_VERSION = "3.8.0"
109110
PROV_MIN_VERSION = "1.5.2"
@@ -143,7 +144,7 @@ def get_nipype_gitversion():
143144
"rdflib>=%s" % RDFLIB_MIN_VERSION,
144145
"scipy>=%s" % SCIPY_MIN_VERSION,
145146
"simplejson>=%s" % SIMPLEJSON_MIN_VERSION,
146-
"traits>=%s,!=5.0" % TRAITS_MIN_VERSION,
147+
"traits>=%s,<%s,!=5.0" % (TRAITS_MIN_VERSION, TRAITS_MAX_VERSION),
147148
"filelock>=3.0.0",
148149
"etelemetry>=0.2.0",
149150
"looseversion",

0 commit comments

Comments
 (0)