depot/third_party/nixpkgs/pkgs/development/python-modules/dask-jobqueue/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

57 lines
1 KiB
Nix

{ stdenv
, lib
, buildPythonPackage
, dask
, distributed
, docrep
, fetchPypi
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "dask-jobqueue";
version = "0.7.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-aC18wOazGbarg6eomGgMEunHfdx33zgLQAQSkPVdTnk=";
};
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"
];
pythonImportsCheck = [
"dask_jobqueue"
];
meta = with lib; {
broken = stdenv.isDarwin;
description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE";
homepage = "https://github.com/dask/dask-jobqueue";
license = licenses.bsd3;
maintainers = with maintainers; [ costrouc ];
};
}