pythonPackages.nipype: 1.1.5 -> 1.1.7

Fix build by dropping a patch for an issue that is already fixed.
See: https://github.com/nipy/nipype/pull/2701

Also had to disable tests.
See: https://github.com/nipy/nipype/issues/2839
This commit is contained in:
worldofpeace
2019-01-02 19:39:57 -05:00
parent 0d75d67c3d
commit 9619e6a7f6
4 changed files with 95 additions and 27 deletions

View File

@@ -30,21 +30,28 @@
, which
, bash
, glibcLocales
, callPackage
}:
assert !isPy3k -> configparser != null;
let
# This is a temporary convenience package for changes waiting to be merged into the primary rdflib repo.
neurdflib = callPackage ./neurdflib.nix { };
in
buildPythonPackage rec {
pname = "nipype";
version = "1.1.5";
version = "1.1.7";
src = fetchPypi {
inherit pname version;
sha256 = "d49bbe531cdbf0a049f1581e4d3c63231ff5978445cb380aa6e7f8f1d256a29c";
sha256 = "0iyi5w2h42bpssqj52ixm2kxp56yxfxdacb6xv5r24yv3hmwd4yn";
};
# see https://github.com/nipy/nipype/issues/2240
patches = [ ./prov-version.patch ];
patches = [ ./move-uneeded-requires.patch ];
postPatch = ''
substituteInPlace nipype/interfaces/base/tests/test_core.py \
@@ -57,6 +64,7 @@ buildPythonPackage rec {
funcsigs
future
networkx
neurdflib
nibabel
numpy
packaging
@@ -72,12 +80,24 @@ buildPythonPackage rec {
futures
];
checkInputs = [ pytest mock pytestcov pytest_xdist pytest-forked codecov which glibcLocales ];
checkInputs = [
codecov
glibcLocales
mock
pytest
pytest-forked
pytest_xdist
pytestcov
which
];
checkPhase = ''
LC_ALL="en_US.UTF-8" py.test -v --doctest-modules nipype
LC_ALL="en_US.UTF-8" pytest -v --doctest-modules nipype
'';
# See: https://github.com/nipy/nipype/issues/2839
doCheck = false;
meta = with stdenv.lib; {
homepage = http://nipy.org/nipype/;
description = "Neuroimaging in Python: Pipelines and Interfaces";