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