From ed459276f68b0e784d550ad52d80ab31755b5336 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 28 May 2022 09:19:26 +0000 Subject: [PATCH 1/2] python310Packages.dask-ml: 2022.1.22 -> 2022.5.27 --- pkgs/development/python-modules/dask-ml/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dask-ml/default.nix b/pkgs/development/python-modules/dask-ml/default.nix index 31be98f45912..634abe06b062 100644 --- a/pkgs/development/python-modules/dask-ml/default.nix +++ b/pkgs/development/python-modules/dask-ml/default.nix @@ -17,13 +17,13 @@ }: buildPythonPackage rec { - version = "2022.1.22"; + version = "2022.5.27"; pname = "dask-ml"; disabled = pythonOlder "3.6"; # >= 3.6 src = fetchPypi { inherit pname version; - sha256 = "21a128e9f4f10e3b39cf82b36266eae28b17d16f2f6aa351bd73eb361e49326a"; + sha256 = "sha256-Y2nTk0GSvMGSP87oTD+4+8zsoQITeQEHC6Px2eOGzOQ="; }; nativeBuildInputs = [ From f94c658564363eae55c375d2e043308ab3c1cdbd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 28 May 2022 12:05:36 +0200 Subject: [PATCH 2/2] python310Packages.dask-ml: update meta --- .../python-modules/dask-ml/default.nix | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/dask-ml/default.nix b/pkgs/development/python-modules/dask-ml/default.nix index 634abe06b062..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.5.27"; 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 = "sha256-Y2nTk0GSvMGSP87oTD+4+8zsoQITeQEHC6Px2eOGzOQ="; + 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 ]; }; }