aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-11-30 18:02:17 -0800
committerFrederik Rietdijk <fridh@fridh.nl>2020-12-01 14:44:26 +0100
commitc68fdc1fbeca63d4028ec82c0fb9dca12cf83332 (patch)
tree99ad6360996377dbe644be77e3b30f7e10e20267
parent9cb62449f62b447a1cb4be093bcd002d6b99b76b (diff)
python3Packages.dask: fix tests
Tests cannot be ran concurrently
-rw-r--r--pkgs/development/python-modules/dask/default.nix9
1 files changed, 1 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/dask/default.nix b/pkgs/development/python-modules/dask/default.nix
index 59ea588851ec..19c6962c5759 100644
--- a/pkgs/development/python-modules/dask/default.nix
+++ b/pkgs/development/python-modules/dask/default.nix
@@ -11,7 +11,6 @@
, dill
, pandas
, partd
-, pytest_xdist
}:
buildPythonPackage rec {
@@ -29,7 +28,6 @@ buildPythonPackage rec {
checkInputs = [
pytestCheckHook
- pytest_xdist # takes >10mins to run single-threaded
];
dontUseSetuptoolsCheck = true;
@@ -54,12 +52,7 @@ buildPythonPackage rec {
--replace "cmdclass=versioneer.get_cmdclass()," ""
'';
- # dask test suite with consistently fail when using high core counts
- preCheck = ''
- NIX_BUILD_CORES=$((NIX_BUILD_CORES > 8 ? 8 : NIX_BUILD_CORES))
- '';
-
- pytestFlagsArray = [ "-n $NIX_BUILD_CORES" ];
+ #pytestFlagsArray = [ "-n $NIX_BUILD_CORES" ];
disabledTests = [
"test_argwhere_str"