1{ stdenv 2, lib 3, buildPythonPackage 4, cryptography 5, dask 6, distributed 7, docrep 8, fetchPypi 9, pytest-asyncio 10, pytestCheckHook 11, pythonOlder 12}: 13 14buildPythonPackage rec { 15 pname = "dask-jobqueue"; 16 version = "0.8.1"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.8"; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-Fv0bZGoHOtPedd3hKg3+UpuDbyGjvbzuKoi+8k6REqc="; 24 }; 25 26 propagatedBuildInputs = [ 27 dask 28 distributed 29 docrep 30 ]; 31 32 checkInputs = [ 33 cryptography 34 pytest-asyncio 35 pytestCheckHook 36 ]; 37 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 ]; 75 76 pythonImportsCheck = [ 77 "dask_jobqueue" 78 ]; 79 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; [ costrouc ]; 86 }; 87}