mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 03:23:17 +00:00
python310Packages.dask: 2022.05.0 -> 2022.05.2
This commit is contained in:
parent
e3873e7f7e
commit
e18f93caed
@ -21,11 +21,12 @@
|
|||||||
, pyyaml
|
, pyyaml
|
||||||
, scipy
|
, scipy
|
||||||
, toolz
|
, toolz
|
||||||
|
, zarr
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dask";
|
pname = "dask";
|
||||||
version = "2022.05.0";
|
version = "2022.05.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -34,7 +35,7 @@ buildPythonPackage rec {
|
|||||||
owner = "dask";
|
owner = "dask";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-HFRi08RujlwatCPIRaVr9aBZRq9wBx5JRZrELB3hZks=";
|
hash = "sha256-8M70Pf31PhYnBPRhSG55eWg6gK0lxsIFKF+cRCsf0/U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -50,6 +51,9 @@ buildPythonPackage rec {
|
|||||||
array = [
|
array = [
|
||||||
numpy
|
numpy
|
||||||
];
|
];
|
||||||
|
complete = [
|
||||||
|
distributed
|
||||||
|
];
|
||||||
dataframe = [
|
dataframe = [
|
||||||
numpy
|
numpy
|
||||||
pandas
|
pandas
|
||||||
@ -70,6 +74,7 @@ buildPythonPackage rec {
|
|||||||
pytest-rerunfailures
|
pytest-rerunfailures
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
scipy
|
scipy
|
||||||
|
zarr
|
||||||
];
|
];
|
||||||
|
|
||||||
dontUseSetuptoolsCheck = true;
|
dontUseSetuptoolsCheck = true;
|
||||||
@ -92,12 +97,19 @@ buildPythonPackage rec {
|
|||||||
"--reruns 3"
|
"--reruns 3"
|
||||||
# Don't run tests that require network access
|
# Don't run tests that require network access
|
||||||
"-m 'not network'"
|
"-m 'not network'"
|
||||||
|
# Ignore warning about pyarrow 5.0.0 feautres
|
||||||
|
"-W"
|
||||||
|
"ignore::FutureWarning"
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = lib.optionals stdenv.isDarwin [
|
disabledTests = lib.optionals stdenv.isDarwin [
|
||||||
# Test requires features of python3Packages.psutil that are
|
# Test requires features of python3Packages.psutil that are
|
||||||
# blocked in sandboxed-builds
|
# blocked in sandboxed-builds
|
||||||
"test_auto_blocksize_csv"
|
"test_auto_blocksize_csv"
|
||||||
|
# AttributeError: 'str' object has no attribute 'decode'
|
||||||
|
"test_read_dir_nometa"
|
||||||
|
] ++ [
|
||||||
|
"test_chunksize_files"
|
||||||
];
|
];
|
||||||
|
|
||||||
__darwinAllowLocalNetworking = true;
|
__darwinAllowLocalNetworking = true;
|
||||||
@ -113,10 +125,6 @@ buildPythonPackage rec {
|
|||||||
"dask.diagnostics"
|
"dask.diagnostics"
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.optional-dependencies = {
|
|
||||||
complete = [ distributed ];
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Minimal task scheduling abstraction";
|
description = "Minimal task scheduling abstraction";
|
||||||
homepage = "https://dask.org/";
|
homepage = "https://dask.org/";
|
||||||
|
Loading…
Reference in New Issue
Block a user