git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.dask-ml: 1.0.0 -> 1.1.1

Also fix dependency issues

commit430dc3b590b1952a22835468c24f1fa1c949a3fd authorJonathan Ringer <jonringer117@gmail.com> dateTue 10 Dec 2019, 00:18 (7 years ago) parentb2b2330
1 file changed+27−6
pkgs/development/python-modules/dask-ml/default.nix+27−6
pkgs/development/python-modules/dask-ml/default.nix+27−6
@@ -1,6 +1,7 @@
11{ stdenv
22, buildPythonPackage
33, fetchPypi
4+, pythonOlder
45, dask
56, numpy, toolz # dask[array]
67, numba
@@ -19,21 +20,41 @@
1920}:
2021
2122buildPythonPackage rec {
22− version = "1.0.0";
23+ version = "1.1.1";
2324 pname = "dask-ml";
25+ disabled = pythonOlder "3.6"; # >= 3.6
2426
2527 src = fetchPypi {
2628 inherit pname version;
27− sha256 = "dde926478653bd03a3fbc501d3873a1534836608217b94d04320d1e1c07e59dc";
29+ sha256 = "1yad9b9hd02rbdf6m1gfj74cjgcbyp7lxdj22d5h5rhv7xa3127x";
2830 };
2931
30− checkInputs = [ pytest xgboost tensorflow joblib distributed ];
31− propagatedBuildInputs = [ dask numpy toolz numba pandas scikitlearn scipy dask-glm six multipledispatch packaging ];
32+ propagatedBuildInputs = [
33+ dask
34+ dask-glm
35+ distributed
36+ multipledispatch
37+ numba
38+ numpy
39+ packaging
40+ pandas
41+ scikitlearn
42+ scipy
43+ six
44+ toolz
45+ ];
3246
33− # dask-ml has some heavy test requirements
34− # and requires some very new packages
47+ # has non-standard build from source, and pypi doesn't include tests
3548 doCheck = false;
3649
50+ # in lieu of proper tests
51+ pythonImportsCheck = [
52+ "dask_ml"
53+ "dask_ml.naive_bayes"
54+ "dask_ml.wrappers"
55+ "dask_ml.utils"
56+ ];
57+
3758 meta = with stdenv.lib; {
3859 homepage = https://github.com/dask/dask-ml;
3960 description = "Scalable Machine Learn with Dask";