diff options
author | Robert Schütz <dev@schuetz-co.de> | 2021-05-07 09:55:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-07 09:55:06 +0200 |
commit | 1c16013bd6e94da748b41cc123c6b509a23eb440 (patch) | |
tree | 661ee8633d0fb14a413eb0e374fcf2a86e110c66 /pkgs/development | |
parent | f24368660b732e94e5b36c6b8be98bcd637678f6 (diff) | |
parent | acffa671a949ae68296b48785112272ec8a772cc (diff) |
Merge pull request #120318 from dotlambda/dask-glm-fix
python3Packages.dask*: various improvements
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/dask-glm/default.nix | 8 | ||||
-rw-r--r-- | pkgs/development/python-modules/dask-ml/default.nix | 5 | ||||
-rw-r--r-- | pkgs/development/python-modules/dask/default.nix | 5 |
3 files changed, 8 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/dask-glm/default.nix b/pkgs/development/python-modules/dask-glm/default.nix index ca25e05bb1ed3..d091785db112b 100644 --- a/pkgs/development/python-modules/dask-glm/default.nix +++ b/pkgs/development/python-modules/dask-glm/default.nix @@ -8,7 +8,7 @@ , setuptools-scm , scipy , scikitlearn -, pytest +, pytestCheckHook }: buildPythonPackage rec { @@ -21,13 +21,9 @@ buildPythonPackage rec { }; nativeBuildInputs = [ setuptools-scm ]; - checkInputs = [ pytest ]; + checkInputs = [ pytestCheckHook ]; propagatedBuildInputs = [ cloudpickle dask numpy toolz multipledispatch scipy scikitlearn ]; - checkPhase = '' - py.test dask_glm - ''; - meta = with lib; { homepage = "https://github.com/dask/dask-glm/"; description = "Generalized Linear Models with Dask"; diff --git a/pkgs/development/python-modules/dask-ml/default.nix b/pkgs/development/python-modules/dask-ml/default.nix index 517056866bb43..b02c9a71a6bdd 100644 --- a/pkgs/development/python-modules/dask-ml/default.nix +++ b/pkgs/development/python-modules/dask-ml/default.nix @@ -26,6 +26,10 @@ buildPythonPackage rec { sha256 = "8fc4ac3ec1915e382fb8cae9ff1ec9b5ac1bee0b6f4c6975d6e6cb7191a4a815"; }; + nativeBuildInputs = [ + setuptools-scm + ]; + propagatedBuildInputs = [ dask dask-glm @@ -39,7 +43,6 @@ buildPythonPackage rec { scipy six toolz - setuptools-scm ]; # has non-standard build from source, and pypi doesn't include tests diff --git a/pkgs/development/python-modules/dask/default.nix b/pkgs/development/python-modules/dask/default.nix index 1c6d37681a683..55ba3ad6ba7fc 100644 --- a/pkgs/development/python-modules/dask/default.nix +++ b/pkgs/development/python-modules/dask/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , bokeh , buildPythonPackage , fetchpatch @@ -77,9 +78,7 @@ buildPythonPackage rec { "-m 'not network'" ]; - disabledTests = [ - "test_annotation_pack_unpack" - "test_annotations_blockwise_unpack" + disabledTests = lib.optionals stdenv.isDarwin [ # this test requires features of python3Packages.psutil that are # blocked in sandboxed-builds "test_auto_blocksize_csv" |