20 buildPythonPackage rec {
21 pname = "dask-jobqueue";
25 src = fetchFromGitHub {
27 repo = "dask-jobqueue";
28 rev = "refs/tags/${version}";
29 hash = "sha256-YujfhjOJzl4xsjjsyrQkEu/CBR04RwJ79c1iSTcMIgw=";
32 build-system = [ setuptools ];
47 # Require some unavailable pytest fixtures
50 "test_adaptive_cores_mem"
51 "test_adaptive_grouped"
52 "test_adapt_parameters"
54 "test_basic_scale_edge_cases"
56 "test_cluster_error_scheduler_arguments_should_use_scheduler_options"
57 "test_cluster_has_cores_and_memory"
58 "test_command_template"
59 "test_complex_cancel_command"
62 "test_default_number_of_worker_processes"
63 "test_deprecation_env_extra"
64 "test_deprecation_extra"
65 "test_deprecation_job_extra"
66 "test_different_interfaces_on_scheduler_and_workers"
67 "test_docstring_cluster"
68 "test_extra_args_broken_cancel"
70 "test_import_scheduler_options_from_config"
72 "test_jobqueue_job_call"
74 "test_scale_cores_memory"
76 "test_scheduler_options"
77 "test_scheduler_options_interface"
79 "test_security_temporary"
80 "test_security_temporary_defaults"
81 "test_shebang_settings"
83 "test_worker_name_uses_cluster_name"
84 "test_wrong_parameter_error"
86 ++ lib.optionals stdenv.hostPlatform.isDarwin [
87 # ValueError: invalid operation on non-started TCPListener
89 "test_lsf_unit_detection"
90 "test_lsf_unit_detection_without_file"
94 pythonImportsCheck = [ "dask_jobqueue" ];
96 __darwinAllowLocalNetworking = true;
99 description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE";
100 homepage = "https://github.com/dask/dask-jobqueue";
101 license = lib.licenses.bsd3;
102 maintainers = with lib.maintainers; [ GaetanLepage ];