Merge pull request #66348 from pierothebear/dask_2_2_0

pythonPackages.dask: 1.2.2 -> 2.2.0
This commit is contained in:
Wael Nasreddine 2019-08-09 17:52:19 -07:00 committed by GitHub
commit 77eaa86e1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 3 deletions

View File

@ -1,7 +1,10 @@
{ lib { lib
, bokeh
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, fsspec
, pytest , pytest
, pythonOlder
, cloudpickle , cloudpickle
, numpy , numpy
, toolz , toolz
@ -12,15 +15,18 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dask"; pname = "dask";
version = "1.2.2"; version = "2.2.0";
disabled = pythonOlder "3.5";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "5e7876bae2a01b355d1969b73aeafa23310febd8c353163910b73e93dc7e492c"; sha256 = "0wkiqkckwy7fv6m86cs3m3g6jdikkkw84ki9hiwp60xpk5xngnf0";
}; };
checkInputs = [ pytest ]; checkInputs = [ pytest ];
propagatedBuildInputs = [ cloudpickle numpy toolz dill pandas partd ]; propagatedBuildInputs = [
bokeh cloudpickle dill fsspec numpy pandas partd toolz ];
checkPhase = '' checkPhase = ''
py.test dask py.test dask

View File

@ -0,0 +1,26 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "fsspec";
version = "0.4.1";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "0fvm1kdnnbf0pppv23mlfdqh220gcldmv72w2rdxp6ks1rcphzg3";
};
# no tests
doCheck = false;
meta = with lib; {
description = "A specification that python filesystems should adhere to.";
homepage = "https://github.com/intake/filesystem_spec";
license = licenses.bsd3;
};
}

View File

@ -579,6 +579,8 @@ in {
filemagic = callPackage ../development/python-modules/filemagic { }; filemagic = callPackage ../development/python-modules/filemagic { };
fsspec = callPackage ../development/python-modules/fsspec { };
fuse = callPackage ../development/python-modules/fuse-python { fuse = callPackage ../development/python-modules/fuse-python {
inherit (pkgs) fuse pkgconfig; inherit (pkgs) fuse pkgconfig;
}; };