mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
Merge pull request #175720 from fabaff/dask-mpi-older
python310Packages.dask-mpi: disable on older Python releases
This commit is contained in:
commit
9c80c5568f
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue