From e18f93caedc2946ea3d5b4973a5d7574a8617290 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 3 Jun 2022 20:25:55 +0200 Subject: [PATCH] python310Packages.dask: 2022.05.0 -> 2022.05.2 --- .../python-modules/dask/default.nix | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/dask/default.nix b/pkgs/development/python-modules/dask/default.nix index 0eba754f1d3b..3aec3e25228c 100644 --- a/pkgs/development/python-modules/dask/default.nix +++ b/pkgs/development/python-modules/dask/default.nix @@ -21,11 +21,12 @@ , pyyaml , scipy , toolz +, zarr }: buildPythonPackage rec { pname = "dask"; - version = "2022.05.0"; + version = "2022.05.2"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -34,7 +35,7 @@ buildPythonPackage rec { owner = "dask"; repo = pname; rev = version; - hash = "sha256-HFRi08RujlwatCPIRaVr9aBZRq9wBx5JRZrELB3hZks="; + hash = "sha256-8M70Pf31PhYnBPRhSG55eWg6gK0lxsIFKF+cRCsf0/U="; }; propagatedBuildInputs = [ @@ -50,6 +51,9 @@ buildPythonPackage rec { array = [ numpy ]; + complete = [ + distributed + ]; dataframe = [ numpy pandas @@ -70,6 +74,7 @@ buildPythonPackage rec { pytest-rerunfailures pytest-xdist scipy + zarr ]; dontUseSetuptoolsCheck = true; @@ -92,12 +97,19 @@ buildPythonPackage rec { "--reruns 3" # Don't run tests that require network access "-m 'not network'" + # Ignore warning about pyarrow 5.0.0 feautres + "-W" + "ignore::FutureWarning" ]; disabledTests = lib.optionals stdenv.isDarwin [ # Test requires features of python3Packages.psutil that are # blocked in sandboxed-builds "test_auto_blocksize_csv" + # AttributeError: 'str' object has no attribute 'decode' + "test_read_dir_nometa" + ] ++ [ + "test_chunksize_files" ]; __darwinAllowLocalNetworking = true; @@ -113,10 +125,6 @@ buildPythonPackage rec { "dask.diagnostics" ]; - passthru.optional-dependencies = { - complete = [ distributed ]; - }; - meta = with lib; { description = "Minimal task scheduling abstraction"; homepage = "https://dask.org/";