From c68fdc1fbeca63d4028ec82c0fb9dca12cf83332 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 30 Nov 2020 18:02:17 -0800 Subject: [PATCH] python3Packages.dask: fix tests Tests cannot be ran concurrently --- pkgs/development/python-modules/dask/default.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/dask/default.nix b/pkgs/development/python-modules/dask/default.nix index 59ea588851e..19c6962c575 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"