diff --git a/pkgs/development/python-modules/dask-ml/default.nix b/pkgs/development/python-modules/dask-ml/default.nix index 31be98f45912..d069532cffad 100644 --- a/pkgs/development/python-modules/dask-ml/default.nix +++ b/pkgs/development/python-modules/dask-ml/default.nix @@ -1,29 +1,31 @@ { lib , buildPythonPackage -, fetchPypi -, pythonOlder , dask -, numpy, toolz # dask[array] +, dask-glm +, distributed +, fetchPypi +, multipledispatch , numba +, numpy +, packaging , pandas +, pythonOlder , scikit-learn , scipy -, dask-glm -, six -, multipledispatch -, packaging -, distributed , setuptools-scm +, toolz }: buildPythonPackage rec { - version = "2022.1.22"; pname = "dask-ml"; - disabled = pythonOlder "3.6"; # >= 3.6 + version = "2022.5.27"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "21a128e9f4f10e3b39cf82b36266eae28b17d16f2f6aa351bd73eb361e49326a"; + hash = "sha256-Y2nTk0GSvMGSP87oTD+4+8zsoQITeQEHC6Px2eOGzOQ="; }; nativeBuildInputs = [ @@ -41,14 +43,12 @@ buildPythonPackage rec { pandas scikit-learn scipy - six toolz ]; # has non-standard build from source, and pypi doesn't include tests doCheck = false; - # in lieu of proper tests pythonImportsCheck = [ "dask_ml" "dask_ml.naive_bayes" @@ -57,9 +57,9 @@ buildPythonPackage rec { ]; meta = with lib; { - homepage = "https://github.com/dask/dask-ml"; description = "Scalable Machine Learn with Dask"; + homepage = "https://github.com/dask/dask-ml"; license = licenses.bsd3; - maintainers = [ maintainers.costrouc ]; + maintainers = with maintainers; [ costrouc ]; }; }