Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / dask-jobqueue / default.nix
blobdc668ea2639ab8691b2461620e737f5aedc90be1
1 { stdenv
2 , lib
3 , buildPythonPackage
4 , cryptography
5 , dask
6 , distributed
7 , docrep
8 , fetchPypi
9 , pytest-asyncio
10 , pytestCheckHook
11 , pythonOlder
14 buildPythonPackage rec {
15   pname = "dask-jobqueue";
16   version = "0.8.5";
17   format = "setuptools";
19   disabled = pythonOlder "3.8";
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-9pI/nX/4lLlu+/cGEYss03/Td1HVZ+kcIt/T4uqpMgI=";
24   };
26   propagatedBuildInputs = [
27     dask
28     distributed
29     docrep
30   ];
32   nativeCheckInputs = [
33     cryptography
34     pytest-asyncio
35     pytestCheckHook
36   ];
38   disabledTests = [
39     # Tests have additional requirements (e.g., sge, etc.)
40     "test_adapt_parameters"
41     "test_adapt"
42     "test_adaptive_cores_mem"
43     "test_adaptive_grouped"
44     "test_adaptive"
45     "test_basic"
46     "test_basic_scale_edge_cases"
47     "test_cluster_error_scheduler_arguments_should_use_scheduler_options"
48     "test_cluster_has_cores_and_memory"
49     "test_cluster"
50     "test_command_template"
51     "test_complex_cancel_command"
52     "test_config"
53     "test_dashboard_link"
54     "test_default_number_of_worker_processes"
55     "test_deprecation_env_extra"
56     "test_deprecation_extra"
57     "test_deprecation_job_extra"
58     "test_different_interfaces_on_scheduler_and_workers"
59     "test_docstring_cluster"
60     "test_extra_args_broken_cancel"
61     "test_forward_ip"
62     "test_import_scheduler_options_from_config"
63     "test_job"
64     "test_log_directory"
65     "test_scale_cores_memory"
66     "test_scale_grouped"
67     "test_scheduler_options_interface"
68     "test_scheduler_options"
69     "test_security"
70     "test_shebang_settings"
71     "test_use_stdin"
72     "test_worker_name_uses_cluster_name"
73     "test_wrong_parameter_error"
74   ];
76   pythonImportsCheck = [
77     "dask_jobqueue"
78   ];
80   meta = with lib; {
81     broken = stdenv.isDarwin;
82     description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE";
83     homepage = "https://github.com/dask/dask-jobqueue";
84     license = licenses.bsd3;
85     maintainers = with maintainers; [ ];
86   };