python3Packages.dask: fix tests
Tests cannot be ran concurrently
This commit is contained in:
parent
9cb62449f6
commit
c68fdc1fbe
|
@ -11,7 +11,6 @@
|
||||||
, dill
|
, dill
|
||||||
, pandas
|
, pandas
|
||||||
, partd
|
, partd
|
||||||
, pytest_xdist
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -29,7 +28,6 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest_xdist # takes >10mins to run single-threaded
|
|
||||||
];
|
];
|
||||||
|
|
||||||
dontUseSetuptoolsCheck = true;
|
dontUseSetuptoolsCheck = true;
|
||||||
|
@ -54,12 +52,7 @@ buildPythonPackage rec {
|
||||||
--replace "cmdclass=versioneer.get_cmdclass()," ""
|
--replace "cmdclass=versioneer.get_cmdclass()," ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# dask test suite with consistently fail when using high core counts
|
#pytestFlagsArray = [ "-n $NIX_BUILD_CORES" ];
|
||||||
preCheck = ''
|
|
||||||
NIX_BUILD_CORES=$((NIX_BUILD_CORES > 8 ? 8 : NIX_BUILD_CORES))
|
|
||||||
'';
|
|
||||||
|
|
||||||
pytestFlagsArray = [ "-n $NIX_BUILD_CORES" ];
|
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
"test_argwhere_str"
|
"test_argwhere_str"
|
||||||
|
|
Loading…
Reference in a new issue