Merge pull request #328611 from GaetanLepage/dask

python311Packages.dask: 2024.7.0 -> 2024.7.1
This commit is contained in:
Gaétan Lepage 2024-07-22 15:46:24 +02:00 committed by GitHub
commit 300280bbcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 44 additions and 30 deletions

View File

@ -3,12 +3,17 @@
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
# build-system
setuptools,
versioneer,
wheel,
# dependencies
dask,
pandas,
pyarrow,
# checks
distributed,
pytestCheckHook,
xarray
@ -16,7 +21,7 @@
buildPythonPackage rec {
pname = "dask-expr";
version = "1.1.7";
version = "1.1.9";
pyproject = true;
disabled = pythonOlder "3.9";
@ -25,7 +30,7 @@ buildPythonPackage rec {
owner = "dask";
repo = "dask-expr";
rev = "refs/tags/v${version}";
hash = "sha256-3wQhADDS05soZq+oy75eBXIK0JQhochrRmtIqykuvOA=";
hash = "sha256-DfXGQ5/aOIWcM9qcALMr3T6qi/l9gMF9HLaQwbzPdE4=";
};
postPatch = ''
@ -36,7 +41,6 @@ buildPythonPackage rec {
build-system = [
setuptools
versioneer
wheel
];
dependencies = [

View File

@ -1,34 +1,43 @@
{
lib,
buildPythonPackage,
cryptography,
pythonOlder,
pythonAtLeast,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
dask,
distributed,
docrep,
fetchPypi,
# checks
cryptography,
pytest-asyncio,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
}:
buildPythonPackage rec {
pname = "dask-jobqueue";
version = "0.8.5";
format = "setuptools";
pyproject = true;
# Python 3.12 support should be added in 0.8.6
disabled = pythonOlder "3.8" || pythonAtLeast "3.12";
src = fetchPypi {
inherit pname version;
hash = "sha256-9pI/nX/4lLlu+/cGEYss03/Td1HVZ+kcIt/T4uqpMgI=";
src = fetchFromGitHub {
owner = "dask";
repo = "dask-jobqueue";
rev = "refs/tags/${version}";
hash = "sha256-NBFfPTNIXezwv7f1P3VRnkBYlOutD30+8rdiBBssHDE=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
dask
distributed
docrep
];
nativeCheckInputs = [
@ -38,17 +47,17 @@ buildPythonPackage rec {
];
disabledTests = [
# Tests have additional requirements (e.g., sge, etc.)
"test_adapt_parameters"
# Require some unavailable pytest fixtures
"test_adapt"
"test_adaptive"
"test_adaptive_cores_mem"
"test_adaptive_grouped"
"test_adaptive"
"test_adapt_parameters"
"test_basic"
"test_basic_scale_edge_cases"
"test_cluster"
"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"
@ -63,12 +72,15 @@ buildPythonPackage rec {
"test_forward_ip"
"test_import_scheduler_options_from_config"
"test_job"
"test_jobqueue_job_call"
"test_log_directory"
"test_scale_cores_memory"
"test_scale_grouped"
"test_scheduler_options_interface"
"test_scheduler_options"
"test_scheduler_options_interface"
"test_security"
"test_security_temporary"
"test_security_temporary_defaults"
"test_shebang_settings"
"test_use_stdin"
"test_worker_name_uses_cluster_name"
@ -77,10 +89,12 @@ buildPythonPackage rec {
pythonImportsCheck = [ "dask_jobqueue" ];
meta = with lib; {
__darwinAllowLocalNetworking = true;
meta = {
description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE";
homepage = "https://github.com/dask/dask-jobqueue";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}

View File

@ -6,7 +6,6 @@
# build-system
setuptools,
wheel,
# dependencies
click,
@ -41,7 +40,7 @@
let
self = buildPythonPackage rec {
pname = "dask";
version = "2024.7.0";
version = "2024.7.1";
pyproject = true;
disabled = pythonOlder "3.9";
@ -50,13 +49,10 @@ let
owner = "dask";
repo = "dask";
rev = "refs/tags/${version}";
hash = "sha256-EvDn7i4GOEHYwhptYF+2yKUb3VDWjR7/WCUGKEJi/H4=";
hash = "sha256-aHira3GKtw674VQ5bc5lFEWyuLf4ZWexKQP6eaGwbzg=";
};
build-system = [
setuptools
wheel
];
build-system = [ setuptools ];
dependencies = [
click