Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3Packages.dask*: various improvements #120318

Merged
merged 3 commits into from May 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 2 additions & 6 deletions pkgs/development/python-modules/dask-glm/default.nix
Expand Up @@ -8,7 +8,7 @@
, setuptools-scm
, scipy
, scikitlearn
, pytest
, pytestCheckHook
}:

buildPythonPackage rec {
Expand All @@ -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";
Expand Down
5 changes: 4 additions & 1 deletion pkgs/development/python-modules/dask-ml/default.nix
Expand Up @@ -26,6 +26,10 @@ buildPythonPackage rec {
sha256 = "8fc4ac3ec1915e382fb8cae9ff1ec9b5ac1bee0b6f4c6975d6e6cb7191a4a815";
};

nativeBuildInputs = [
setuptools-scm
];

propagatedBuildInputs = [
dask
dask-glm
Expand All @@ -39,7 +43,6 @@ buildPythonPackage rec {
scipy
six
toolz
setuptools-scm
];

# has non-standard build from source, and pypi doesn't include tests
Expand Down
5 changes: 2 additions & 3 deletions pkgs/development/python-modules/dask/default.nix
@@ -1,4 +1,5 @@
{ lib
, stdenv
, bokeh
, buildPythonPackage
, fetchpatch
Expand Down Expand Up @@ -77,9 +78,7 @@ buildPythonPackage rec {
"-m 'not network'"
];

disabledTests = [
"test_annotation_pack_unpack"
"test_annotations_blockwise_unpack"
dotlambda marked this conversation as resolved.
Show resolved Hide resolved
disabledTests = lib.optionals stdenv.isDarwin [
# this test requires features of python3Packages.psutil that are
# blocked in sandboxed-builds
"test_auto_blocksize_csv"
dotlambda marked this conversation as resolved.
Show resolved Hide resolved
Expand Down