pythonPackages.dask-mpi: cleanup, add imports check

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

View file

@ -4,8 +4,6 @@
, dask
, distributed
, mpi4py
, pytest
, requests
}:
buildPythonPackage rec {
@ -17,15 +15,11 @@ buildPythonPackage rec {
sha256 = "76e153fc8c58047d898970b33ede0ab1990bd4e69cc130c6627a96f11b12a1a7";
};
checkInputs = [ pytest requests ];
propagatedBuildInputs = [ dask distributed mpi4py ];
checkPhase = ''
py.test dask_mpi
'';
# hardcoded mpirun path in tests
doCheck = false;
pythonImportsCheck = [ "dask_mpi" ];
meta = with lib; {
homepage = "https://github.com/dask/dask-mpi";