spack/var/spack/repos/builtin/packages/py-dask-ml/xgboost_dependency.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
727 B
Diff
Raw Normal View History

diff --git a/dask_ml/xgboost.py b/dask_ml/xgboost.py
index 86e841db..70551df7 100644
--- a/dask_ml/xgboost.py
+++ b/dask_ml/xgboost.py
@@ -4,4 +4,4 @@ This may be used for training an XGBoost model on a cluster. XGBoost
will be setup in distributed mode alongside your existing
``dask.distributed`` cluster.
"""
-from dask_xgboost import * # noqa
+from xgboost import * # noqa
diff --git a/setup.py b/setup.py
index 857f6911..fb280973 100644
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,7 @@ test_requires = [
"pytest-mock",
]
dev_requires = doc_requires + test_requires
-xgboost_requires = ["dask-xgboost", "xgboost"]
+xgboost_requires = ["xgboost[dask]"]
complete_requires = xgboost_requires
extras_require = {