python310Packages.dask-jobqueue: 0.8.0 -> 0.8.1

This commit is contained in:
Fabian Affolter 2022-10-19 15:02:56 +02:00
parent fb52eefbe3
commit d66de449fc

View File

@ -1,6 +1,7 @@
{ stdenv
, lib
, buildPythonPackage
, cryptography
, dask
, distributed
, docrep
@ -12,14 +13,14 @@
buildPythonPackage rec {
pname = "dask-jobqueue";
version = "0.8.0";
version = "0.8.1";
format = "setuptools";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-VCD6Oos9aSkbrzymQnqm2RV5uFzTj05VgPuhJ5PpyAk=";
hash = "sha256-Fv0bZGoHOtPedd3hKg3+UpuDbyGjvbzuKoi+8k6REqc=";
};
propagatedBuildInputs = [
@ -29,18 +30,47 @@ buildPythonPackage rec {
];
checkInputs = [
cryptography
pytest-asyncio
pytestCheckHook
];
pytestFlagsArray = [
# Do not run entire tests suite (requires slurm, sge, etc.)
"dask_jobqueue/tests/test_jobqueue_core.py"
];
disabledTests = [
# Tests have additional requirements (e.g., sge, etc.)
"test_adapt_parameters"
"test_adapt"
"test_adaptive_cores_mem"
"test_adaptive_grouped"
"test_adaptive"
"test_basic"
"test_basic_scale_edge_cases"
"test_cluster_error_scheduler_arguments_should_use_scheduler_options"
"test_cluster_has_cores_and_memory"
"test_cluster"
"test_command_template"
"test_complex_cancel_command"
"test_config"
"test_dashboard_link"
"test_default_number_of_worker_processes"
"test_deprecation_env_extra"
"test_deprecation_extra"
"test_deprecation_job_extra"
"test_different_interfaces_on_scheduler_and_workers"
"test_docstring_cluster"
"test_extra_args_broken_cancel"
"test_forward_ip"
"test_import_scheduler_options_from_config"
"test_job"
"test_log_directory"
"test_scale_cores_memory"
"test_scale_grouped"
"test_scheduler_options_interface"
"test_scheduler_options"
"test_security"
"test_shebang_settings"
"test_use_stdin"
"test_worker_name_uses_cluster_name"
"test_wrong_parameter_error"
];
pythonImportsCheck = [