From c8f81c08c734614b6c7dc3073dc9091e3dd1f5cc Mon Sep 17 00:00:00 2001 From: Tom Hunger Date: Tue, 31 May 2016 15:52:48 +0100 Subject: [PATCH] pythonPackages.dask: Add dependencies, closes #15901 --- pkgs/top-level/python-packages.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 48aef6da2228..c5ea75dd72f2 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3472,11 +3472,12 @@ in modules // { buildInputs = with self; [ pytest mock ]; + # See README for tests invocation checkPhase = '' - py.test tests + PYTHONPATH=$PYTHONPATH:'.:tests' py.test ''; - # ImportError of test suite + # TypeError: cannot serialize '_io.FileIO' object doCheck = false; meta = { @@ -4748,13 +4749,13 @@ in modules // { }; buildInputs = with self; [ pytest ]; - propagatedBuildInputs = with self; [ numpy toolz dill pandas ]; + propagatedBuildInputs = with self; [ cloudpickle numpy toolz dill pandas partd ]; checkPhase = '' py.test dask ''; - # Segfault, likely in numpy + # URLError doCheck = false; meta = {