diff options
author | Ben Darwin <bcdarwin@gmail.com> | 2020-10-07 14:02:26 -0400 |
---|---|---|
committer | Ben Darwin <bcdarwin@gmail.com> | 2020-10-07 14:02:26 -0400 |
commit | f31be2ec2576f787811ae1ddd900c322b84a5ab2 (patch) | |
tree | 4de720aa7f3cfe590e38e09a6dda32a2401bfb53 /pkgs/development/python-modules/nipype | |
parent | 921b15efe75dbde8b6f2e3bb85fe648cba73f0db (diff) | |
download | nixpkgs-f31be2ec2576f787811ae1ddd900c322b84a5ab2.tar nixpkgs-f31be2ec2576f787811ae1ddd900c322b84a5ab2.tar.gz nixpkgs-f31be2ec2576f787811ae1ddd900c322b84a5ab2.tar.bz2 nixpkgs-f31be2ec2576f787811ae1ddd900c322b84a5ab2.tar.lz nixpkgs-f31be2ec2576f787811ae1ddd900c322b84a5ab2.tar.xz nixpkgs-f31be2ec2576f787811ae1ddd900c322b84a5ab2.tar.zst nixpkgs-f31be2ec2576f787811ae1ddd900c322b84a5ab2.zip |
python3Packages.nipype: avoid use of neurdflib by default since it causes a package collision when rdflib is in the closure
Diffstat (limited to 'pkgs/development/python-modules/nipype')
-rw-r--r-- | pkgs/development/python-modules/nipype/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/nipype/default.nix b/pkgs/development/python-modules/nipype/default.nix index c621341b2f8..2d8eaecf775 100644 --- a/pkgs/development/python-modules/nipype/default.nix +++ b/pkgs/development/python-modules/nipype/default.nix @@ -21,6 +21,7 @@ , pytest , pytest_xdist , pytest-forked +, rdflib , scipy , simplejson , traits @@ -33,6 +34,10 @@ , bash , glibcLocales , 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 @@ -69,7 +74,6 @@ buildPythonPackage rec { funcsigs future networkx - neurdflib nibabel numpy packaging @@ -80,7 +84,7 @@ buildPythonPackage rec { simplejson traits xvfbwrapper - ]; + ] ++ [ (if useNeurdflib then neurdflib else rdflib) ]; checkInputs = [ pybids |