python3Packages.dask-jobqueue: fix build
This commit is contained in:
parent
5791d8184f
commit
4c5d2704f1
@ -1,10 +1,11 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, dask
|
||||
, distributed
|
||||
, docrep
|
||||
, pytest
|
||||
, fetchPypi
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -16,19 +17,33 @@ buildPythonPackage rec {
|
||||
sha256 = "682d7cc0e6b319b6ab83a7a898680c12e9c77ddc77df380b40041290f55d4e79";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ dask distributed docrep ];
|
||||
propagatedBuildInputs = [
|
||||
dask
|
||||
distributed
|
||||
docrep
|
||||
];
|
||||
|
||||
# do not run entire tests suite (requires slurm, sge, etc.)
|
||||
checkPhase = ''
|
||||
py.test dask_jobqueue/tests/test_jobqueue_core.py
|
||||
'';
|
||||
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"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "dask_jobqueue" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/dask/dask-jobqueue";
|
||||
description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
broken = true;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user