30 buildPythonPackage rec {
35 src = fetchFromGitHub {
38 rev = "refs/tags/v${version}";
39 hash = "sha256-ZiBpCk3b4Tk0Hwb4uapJLEx+Nb/qHFROCnkBTNGDzoU=";
61 ++ dask.optional-dependencies.array
62 ++ dask.optional-dependencies.dataframe;
64 pythonImportsCheck = [
78 # AttributeError: 'csr_matrix' object has no attribute 'A'
79 # Fixed in https://github.com/dask/dask-ml/pull/996
82 # Tests fail with dask>=0.11.2
83 # RuntimeError: Not enough arguments provided
84 # Reported in https://github.com/dask/dask-ml/issues/1003
85 "tests/model_selection/test_incremental.py"
87 ++ lib.optionals stdenv.isDarwin [
88 # RuntimeError: Not enough arguments provided: missing keys
89 "tests/model_selection/test_hyperband.py"
90 "tests/model_selection/test_incremental.py"
91 "tests/model_selection/test_incremental_warns.py"
92 "tests/model_selection/test_successive_halving.py"
96 # Flaky: `Arrays are not almost equal to 3 decimals` (although values do actually match)
99 # Tests fail with dask>=0.11.2
100 # RuntimeError: Not enough arguments provided
101 # Reported in https://github.com/dask/dask-ml/issues/1003
103 "test_hyperband_patience"
104 "test_same_random_state_same_params"
105 "test_search_patience_infeasible_tol"
106 "test_sha_max_iter_and_metadata"
107 "test_warns_decay_rate"
108 "test_warns_decay_rate_wanted"
111 __darwinAllowLocalNetworking = true;
114 description = "Scalable Machine Learn with Dask";
115 homepage = "https://github.com/dask/dask-ml";
116 license = lib.licenses.bsd3;
117 maintainers = with lib.maintainers; [ GaetanLepage ];