python310Packages.dask-ml: handle optional dependencies

This commit is contained in:
Fabian Affolter 2022-06-03 14:26:38 +02:00 committed by Jonathan Ringer
parent fc78ec9679
commit e3873e7f7e
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -13,7 +13,6 @@
, scikit-learn , scikit-learn
, scipy , scipy
, setuptools-scm , setuptools-scm
, toolz
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -33,7 +32,6 @@ buildPythonPackage rec {
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
dask
dask-glm dask-glm
distributed distributed
multipledispatch multipledispatch
@ -43,8 +41,8 @@ buildPythonPackage rec {
pandas pandas
scikit-learn scikit-learn
scipy scipy
toolz ] ++ dask.optional-dependencies.array
]; ++ dask.optional-dependencies.dataframe;
# has non-standard build from source, and pypi doesn't include tests # has non-standard build from source, and pypi doesn't include tests
doCheck = false; doCheck = false;