python3Packages.dask: 2021.06.2 -> 2021.08.1
This commit is contained in:
parent
070e765d0a
commit
b68026b52b
@ -2,44 +2,51 @@
|
||||
, stdenv
|
||||
, bokeh
|
||||
, buildPythonPackage
|
||||
, cloudpickle
|
||||
, distributed
|
||||
, fetchFromGitHub
|
||||
, fsspec
|
||||
, pytestCheckHook
|
||||
, pytest-rerunfailures
|
||||
, pythonOlder
|
||||
, cloudpickle
|
||||
, jinja2
|
||||
, numpy
|
||||
, toolz
|
||||
, dill
|
||||
, packaging
|
||||
, pandas
|
||||
, partd
|
||||
, pytest-rerunfailures
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, toolz
|
||||
, withExtraComplete ? false
|
||||
, distributed
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dask";
|
||||
version = "2021.06.2";
|
||||
disabled = pythonOlder "3.5";
|
||||
version = "2021.08.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dask";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-qvfjdijzlqaJQrDztRAVr5PudTaVd3WOTBid2ElZQgg=";
|
||||
sha256 = "sha256-HnrHOp3Y/iLYaK3KVp6NJrK68BMqX8lTl/wLosiGc7k=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bokeh
|
||||
cloudpickle
|
||||
dill
|
||||
fsspec
|
||||
numpy
|
||||
pandas
|
||||
packaging
|
||||
partd
|
||||
pyyaml
|
||||
toolz
|
||||
] ++ lib.optionals withExtraComplete [
|
||||
pandas
|
||||
jinja2
|
||||
bokeh
|
||||
numpy
|
||||
] ++ lib.optionals (withExtraComplete) [
|
||||
# infinite recursion between distributed and dask
|
||||
distributed
|
||||
];
|
||||
|
||||
@ -63,7 +70,11 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
pytestFlagsArray = [
|
||||
"-n $NIX_BUILD_CORES"
|
||||
# parallelize
|
||||
"--numprocesses auto"
|
||||
# rerun failed tests up to three times
|
||||
"--reruns 3"
|
||||
# don't run tests that require network access
|
||||
"-m 'not network'"
|
||||
];
|
||||
|
||||
@ -81,7 +92,16 @@ buildPythonPackage rec {
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
pythonImportsCheck = [ "dask.dataframe" "dask" "dask.array" ];
|
||||
pythonImportsCheck = [
|
||||
"dask"
|
||||
"dask.array"
|
||||
"dask.bag"
|
||||
"dask.bytes"
|
||||
"dask.dataframe"
|
||||
"dask.dataframe.io"
|
||||
"dask.dataframe.tseries"
|
||||
"dask.diagnostics"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Minimal task scheduling abstraction";
|
||||
|
Loading…
Reference in New Issue
Block a user