python3Packages.nipype: avoid use of neurdflib by default since it causes a package collision when rdflib is in the closure
This commit is contained in:
parent
921b15efe7
commit
f31be2ec25
@ -21,6 +21,7 @@
|
|||||||
, pytest
|
, pytest
|
||||||
, pytest_xdist
|
, pytest_xdist
|
||||||
, pytest-forked
|
, pytest-forked
|
||||||
|
, rdflib
|
||||||
, scipy
|
, scipy
|
||||||
, simplejson
|
, simplejson
|
||||||
, traits
|
, traits
|
||||||
@ -33,6 +34,10 @@
|
|||||||
, bash
|
, bash
|
||||||
, glibcLocales
|
, glibcLocales
|
||||||
, callPackage
|
, callPackage
|
||||||
|
# causes Python packaging conflict with any package requiring rdflib,
|
||||||
|
# so use the unpatched rdflib by default (disables Nipype provenance tracking);
|
||||||
|
# see https://github.com/nipy/nipype/issues/2888:
|
||||||
|
, useNeurdflib ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -69,7 +74,6 @@ buildPythonPackage rec {
|
|||||||
funcsigs
|
funcsigs
|
||||||
future
|
future
|
||||||
networkx
|
networkx
|
||||||
neurdflib
|
|
||||||
nibabel
|
nibabel
|
||||||
numpy
|
numpy
|
||||||
packaging
|
packaging
|
||||||
@ -80,7 +84,7 @@ buildPythonPackage rec {
|
|||||||
simplejson
|
simplejson
|
||||||
traits
|
traits
|
||||||
xvfbwrapper
|
xvfbwrapper
|
||||||
];
|
] ++ [ (if useNeurdflib then neurdflib else rdflib) ];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pybids
|
pybids
|
||||||
|
Loading…
x
Reference in New Issue
Block a user