11{
22 lib ,
3+ stdenv ,
34 buildPythonPackage ,
4- pythonOlder ,
5- pythonAtLeast ,
65 fetchFromGitHub ,
76
87 # build-system
2019
2120buildPythonPackage rec {
2221 pname = "dask-jobqueue" ;
23- version = "0.8.5 " ;
22+ version = "0.9.0 " ;
2423 pyproject = true ;
2524
26- # Python 3.12 support should be added in 0.8.6
27- disabled = pythonOlder "3.8" || pythonAtLeast "3.12" ;
28-
2925 src = fetchFromGitHub {
3026 owner = "dask" ;
3127 repo = "dask-jobqueue" ;
3228 rev = "refs/tags/${ version } " ;
33- hash = "sha256-NBFfPTNIXezwv7f1P3VRnkBYlOutD30+8rdiBBssHDE =" ;
29+ hash = "sha256-YujfhjOJzl4xsjjsyrQkEu/CBR04RwJ79c1iSTcMIgw =" ;
3430 } ;
3531
3632 build-system = [ setuptools ] ;
@@ -46,46 +42,54 @@ buildPythonPackage rec {
4642 pytestCheckHook
4743 ] ;
4844
49- disabledTests = [
50- # Require some unavailable pytest fixtures
51- "test_adapt"
52- "test_adaptive"
53- "test_adaptive_cores_mem"
54- "test_adaptive_grouped"
55- "test_adapt_parameters"
56- "test_basic"
57- "test_basic_scale_edge_cases"
58- "test_cluster"
59- "test_cluster_error_scheduler_arguments_should_use_scheduler_options"
60- "test_cluster_has_cores_and_memory"
61- "test_command_template"
62- "test_complex_cancel_command"
63- "test_config"
64- "test_dashboard_link"
65- "test_default_number_of_worker_processes"
66- "test_deprecation_env_extra"
67- "test_deprecation_extra"
68- "test_deprecation_job_extra"
69- "test_different_interfaces_on_scheduler_and_workers"
70- "test_docstring_cluster"
71- "test_extra_args_broken_cancel"
72- "test_forward_ip"
73- "test_import_scheduler_options_from_config"
74- "test_job"
75- "test_jobqueue_job_call"
76- "test_log_directory"
77- "test_scale_cores_memory"
78- "test_scale_grouped"
79- "test_scheduler_options"
80- "test_scheduler_options_interface"
81- "test_security"
82- "test_security_temporary"
83- "test_security_temporary_defaults"
84- "test_shebang_settings"
85- "test_use_stdin"
86- "test_worker_name_uses_cluster_name"
87- "test_wrong_parameter_error"
88- ] ;
45+ disabledTests =
46+ [
47+ # Require some unavailable pytest fixtures
48+ "test_adapt"
49+ "test_adaptive"
50+ "test_adaptive_cores_mem"
51+ "test_adaptive_grouped"
52+ "test_adapt_parameters"
53+ "test_basic"
54+ "test_basic_scale_edge_cases"
55+ "test_cluster"
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"
60+ "test_config"
61+ "test_dashboard_link"
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"
69+ "test_forward_ip"
70+ "test_import_scheduler_options_from_config"
71+ "test_job"
72+ "test_jobqueue_job_call"
73+ "test_log_directory"
74+ "test_scale_cores_memory"
75+ "test_scale_grouped"
76+ "test_scheduler_options"
77+ "test_scheduler_options_interface"
78+ "test_security"
79+ "test_security_temporary"
80+ "test_security_temporary_defaults"
81+ "test_shebang_settings"
82+ "test_use_stdin"
83+ "test_worker_name_uses_cluster_name"
84+ "test_wrong_parameter_error"
85+ ]
86+ ++ lib . optionals stdenv . isDarwin [
87+ # ValueError: invalid operation on non-started TCPListener
88+ "test_header"
89+ "test_lsf_unit_detection"
90+ "test_lsf_unit_detection_without_file"
91+ "test_runner"
92+ ] ;
8993
9094 pythonImportsCheck = [ "dask_jobqueue" ] ;
9195
0 commit comments