pythonPackages.dask: add optional extra "complete"
This commit is contained in:
parent
c34a2136cf
commit
83f2ece678
@ -12,6 +12,9 @@
|
|||||||
, dill
|
, dill
|
||||||
, pandas
|
, pandas
|
||||||
, partd
|
, partd
|
||||||
|
, pytest-xdist
|
||||||
|
, withExtraComplete ? false
|
||||||
|
, distributed
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -26,13 +29,6 @@ buildPythonPackage rec {
|
|||||||
sha256 = "LACv7lWpQULQknNGX/9vH9ckLsypbqKDGnsNBgKT1eI=";
|
sha256 = "LACv7lWpQULQknNGX/9vH9ckLsypbqKDGnsNBgKT1eI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
|
||||||
pytestCheckHook
|
|
||||||
pytest-rerunfailures
|
|
||||||
];
|
|
||||||
|
|
||||||
dontUseSetuptoolsCheck = true;
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
bokeh
|
bokeh
|
||||||
cloudpickle
|
cloudpickle
|
||||||
@ -42,8 +38,20 @@ buildPythonPackage rec {
|
|||||||
pandas
|
pandas
|
||||||
partd
|
partd
|
||||||
toolz
|
toolz
|
||||||
|
] ++ lib.optionals withExtraComplete [
|
||||||
|
distributed
|
||||||
];
|
];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-rerunfailures
|
||||||
|
pytest-xdist
|
||||||
|
];
|
||||||
|
|
||||||
|
dontUseSetuptoolsCheck = true;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# versioneer hack to set version of github package
|
# versioneer hack to set version of github package
|
||||||
echo "def get_versions(): return {'dirty': False, 'error': None, 'full-revisionid': None, 'version': '${version}'}" > dask/_version.py
|
echo "def get_versions(): return {'dirty': False, 'error': None, 'full-revisionid': None, 'version': '${version}'}" > dask/_version.py
|
||||||
@ -53,14 +61,11 @@ buildPythonPackage rec {
|
|||||||
--replace "cmdclass=versioneer.get_cmdclass()," ""
|
--replace "cmdclass=versioneer.get_cmdclass()," ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
#pytestFlagsArray = [ "-n $NIX_BUILD_CORES" ];
|
pytestFlagsArray = [ "-n $NIX_BUILD_CORES" ];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
"test_argwhere_str"
|
"test_annotation_pack_unpack"
|
||||||
"test_count_nonzero_str"
|
"test_annotations_blockwise_unpack"
|
||||||
"rolling_methods" # floating percision error ~0.1*10^8 small
|
|
||||||
"num_workers_config" # flaky
|
|
||||||
"test_2args_with_array[pandas1-darray1-ldexp]" # flaky
|
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user