Merge pull request #175720 from fabaff/dask-mpi-older

python310Packages.dask-mpi: disable on older Python releases
This commit is contained in:
Fabian Affolter 2022-06-01 15:37:57 +02:00 committed by GitHub
commit 9c80c5568f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,27 +4,38 @@
, dask
, distributed
, mpi4py
, pythonOlder
}:
buildPythonPackage rec {
version = "2022.4.0";
pname = "dask-mpi";
version = "2022.4.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-CgTx19NaBs3/UGWTMw1EFOokLJFySYzhkfV0LqxJnhc=";
hash = "sha256-CgTx19NaBs3/UGWTMw1EFOokLJFySYzhkfV0LqxJnhc=";
};
propagatedBuildInputs = [ dask distributed mpi4py ];
propagatedBuildInputs = [
dask
distributed
mpi4py
];
# hardcoded mpirun path in tests
# Hardcoded mpirun path in tests
doCheck = false;
pythonImportsCheck = [ "dask_mpi" ];
pythonImportsCheck = [
"dask_mpi"
];
meta = with lib; {
homepage = "https://github.com/dask/dask-mpi";
description = "Deploy Dask using mpi4py";
homepage = "https://github.com/dask/dask-mpi";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
maintainers = with maintainers; [ costrouc ];
};
}