pythonPackages.dask-xgboot: cleanup, add imports check

This commit is contained in:
Sandro Jäckel 2021-02-15 23:52:19 +01:00
parent eadea3e9d0
commit 499ce18520
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -4,8 +4,6 @@
, xgboost
, dask
, distributed
, pytest
, scikitlearn
}:
buildPythonPackage rec {
@ -17,14 +15,10 @@ buildPythonPackage rec {
sha256 = "3fbe1bf4344dc74edfbe9f928c7e3e6acc26dc57cefd8da8ae56a15469c6941c";
};
checkInputs = [ pytest scikitlearn ];
propagatedBuildInputs = [ xgboost dask distributed ];
checkPhase = ''
py.test dask_xgboost/tests/test_core.py
'';
doCheck = false;
pythonImportsCheck = [ "dask-xdgboost" ];
meta = with lib; {
homepage = "https://github.com/dask/dask-xgboost";