2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, dask
|
|
|
|
, distributed
|
|
|
|
, docrep
|
2021-10-07 14:46:35 +00:00
|
|
|
, fetchPypi
|
|
|
|
, pytest-asyncio
|
|
|
|
, pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "0.7.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "dask-jobqueue";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "682d7cc0e6b319b6ab83a7a898680c12e9c77ddc77df380b40041290f55d4e79";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-10-07 14:46:35 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
dask
|
|
|
|
distributed
|
|
|
|
docrep
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest-asyncio
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pytestFlagsArray = [
|
|
|
|
# Do not run entire tests suite (requires slurm, sge, etc.)
|
|
|
|
"dask_jobqueue/tests/test_jobqueue_core.py"
|
|
|
|
];
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
"test_import_scheduler_options_from_config"
|
|
|
|
"test_security"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-10-07 14:46:35 +00:00
|
|
|
pythonImportsCheck = [ "dask_jobqueue" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/dask/dask-jobqueue";
|
|
|
|
description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE";
|
|
|
|
license = licenses.bsd3;
|
2021-10-07 14:46:35 +00:00
|
|
|
maintainers = with maintainers; [ costrouc ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|