Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pythonPackages.dask: 1.2.2 -> 2.2.0 #66348

Merged
merged 3 commits into from Aug 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 9 additions & 3 deletions pkgs/development/python-modules/dask/default.nix
@@ -1,7 +1,10 @@
{ lib
, bokeh
, buildPythonPackage
, fetchPypi
, fsspec
, pytest
, pythonOlder
, cloudpickle
, numpy
, toolz
Expand All @@ -12,15 +15,18 @@

buildPythonPackage rec {
pname = "dask";
version = "1.2.2";
version = "2.2.0";

disabled = pythonOlder "3.5";

src = fetchPypi {
inherit pname version;
sha256 = "5e7876bae2a01b355d1969b73aeafa23310febd8c353163910b73e93dc7e492c";
sha256 = "0wkiqkckwy7fv6m86cs3m3g6jdikkkw84ki9hiwp60xpk5xngnf0";
};

checkInputs = [ pytest ];
propagatedBuildInputs = [ cloudpickle numpy toolz dill pandas partd ];
propagatedBuildInputs = [
bokeh cloudpickle dill fsspec numpy pandas partd toolz ];

checkPhase = ''
py.test dask
Expand Down
26 changes: 26 additions & 0 deletions pkgs/development/python-modules/fsspec/default.nix
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -579,6 +579,8 @@ in {

filemagic = callPackage ../development/python-modules/filemagic { };

fsspec = callPackage ../development/python-modules/fsspec { };

fuse = callPackage ../development/python-modules/fuse-python {
inherit (pkgs) fuse pkgconfig;
};
Expand Down