git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #15414 from teh/dask

distributed: init at 1.10.0 (+init and update dependencies)

commit53ffb3fcf11298d1363450f5913898c32f268a89 authorFrederik Rietdijk <freddyrietdijk@fridh.nl> dateThu 12 May 2016, 18:06 (11 years ago) parentf7a06e53c600a4
2 files changed+103−5
lib/maintainers.nix+1 pkgs/top-level/python-packages.nix+102−5
lib/maintainers.nix+1
@@ -355,6 +355,7 @@
355355 tailhook = "Paul Colomiets <paul@colomiets.name>";
356356 taktoa = "Remy Goldschmidt <taktoa@gmail.com>";
357357 tavyc = "Octavian Cerna <octavian.cerna@gmail.com>";
358+ teh = "Tom Hunger <tehunger@gmail.com>";
358359 telotortium = "Robert Irelan <rirelan@gmail.com>";
359360 thall = "Niclas Thall <niclas.thall@gmail.com>";
360361 thammers = "Tobias Hammerschmidt <jawr@gmx.de>";
pkgs/top-level/python-packages.nix+102−5
@@ -3428,11 +3428,11 @@ in modules // {
34283428
34293429 cloudpickle = buildPythonPackage rec {
34303430 name = "cloudpickle-${version}";
3431− version = "0.1.1";
3431+ version = "0.2.1";
34323432
34333433 src = pkgs.fetchurl {
34343434 url = "mirror://pypi/c/cloudpickle/${name}.tar.gz";
3435− sha256 = "3418303f44c6c4daa184f1dc36c8c0b7ff8261c56d1f922ffd8d09e79caa4b74";
3435+ sha256 = "0fsw28nmzrpk0g02y84d7pigkqr64a3x2jhhkfixplxfwravd97f";
34363436 };
34373437
34383438 buildInputs = with self; [ pytest mock ];
@@ -4693,15 +4693,15 @@ in modules // {
46934693
46944694 dask = buildPythonPackage rec {
46954695 name = "dask-${version}";
4696− version = "0.7.6";
4696+ version = "0.9.0";
46974697
46984698 src = pkgs.fetchurl {
46994699 url = "mirror://pypi/d/dask/${name}.tar.gz";
4700− sha256 = "ff27419e059715907afefe6cbcc1f8c748855c7a93be25be211dabcb689cee3b";
4700+ sha256 = "1jm6riz6fbbd554i0dg0w1xfcmx3f9ryp4jrlavsy4zambilm6b3";
47014701 };
47024702
47034703 buildInputs = with self; [ pytest ];
4704− propagatedBuildInputs = with self; [numpy toolz dill pandas ];
4704+ propagatedBuildInputs = with self; [ numpy toolz dill pandas ];
47054705
47064706 checkPhase = ''
47074707 py.test dask
@@ -4718,6 +4718,99 @@ in modules // {
47184718 };
47194719 };
47204720
4721+ distributed = buildPythonPackage rec {
4722+
4723+ name = "distributed-${version}";
4724+ version = "1.10.0";
4725+
4726+ src = pkgs.fetchurl {
4727+ url = "mirror://pypi/d/distributed/${name}.tar.gz";
4728+ sha256 = "11bp2rs52fhcqlgyrlh3cf31ck07mys38mrkf98vjl380lyjj357";
4729+ };
4730+
4731+ buildInputs = with self; [ pytest docutils ];
4732+ propagatedBuildInputs = with self; [
4733+ dask six boto3 s3fs tblib locket msgpack click cloudpickle tornado
4734+ psutil botocore
4735+ ] ++ (if !isPy3k then [ singledispatch ] else []);
4736+
4737+ checkPhase = ''
4738+ py.test -m "not avoid_travis" distributed --verbose
4739+ '';
4740+
4741+ meta = {
4742+ description = "Distributed computation in Python.";
4743+ homepage = "http://distributed.readthedocs.io/en/latest/";
4744+ license = licenses.bsd3;
4745+ maintainers = with maintainers; [ teh ];
4746+ };
4747+ };
4748+
4749+ locket = buildPythonPackage rec {
4750+ name = "locket-${version}";
4751+ version = "0.2.0";
4752+
4753+ src = pkgs.fetchurl {
4754+ url = "mirror://pypi/l/locket/${name}.tar.gz";
4755+ sha256 = "1d4z2zngrpqkrfhnd4yhysh66kjn4mblys2l06sh5dix2p0n7vhz";
4756+ };
4757+
4758+ buildInputs = with self; [ pytest ];
4759+ propagatedBuildInputs = with self; [ ];
4760+
4761+ # weird test requirements (spur.local>=0.3.7,<0.4)
4762+ doCheck = false;
4763+
4764+ meta = {
4765+ description = "Locket implements a lock that can be used by multiple processes provided they use the same path.";
4766+ homepage = "https://github.com/mwilliamson/locket.py";
4767+ license = licenses.bsd2;
4768+ maintainers = with maintainers; [ teh ];
4769+ };
4770+ };
4771+
4772+ tblib = buildPythonPackage rec {
4773+ name = "tblib-${version}";
4774+ version = "1.3.0";
4775+
4776+ src = pkgs.fetchurl {
4777+ url = "mirror://pypi/t/tblib/${name}.tar.gz";
4778+ sha256 = "02iahfkfa927hb4jq2bak36ldihwapzacfiq5lyxg8llwn98a1yi";
4779+ };
4780+
4781+ meta = {
4782+ description = "Traceback fiddling library. Allows you to pickle tracebacks.";
4783+ homepage = "https://github.com/ionelmc/python-tblib";
4784+ license = licenses.bsd2;
4785+ maintainers = with maintainers; [ teh ];
4786+ };
4787+ };
4788+
4789+ s3fs = buildPythonPackage rec {
4790+ name = "s3fs-${version}";
4791+ version = "0.0.4";
4792+
4793+ src = pkgs.fetchurl {
4794+ url = "mirror://pypi/s/s3fs/${name}.tar.gz";
4795+ sha256 = "0gxs9zf0j97liby038i89k5njfrpvdgw0jw34ghzvlp1nzbwxwzl";
4796+ };
4797+
4798+ buildInputs = with self; [ docutils ];
4799+ propagatedBuildInputs = with self; [ boto3 ];
4800+
4801+ # Depends on `moto` which has a long dependency chain with exact
4802+ # version requirements that can't be made to work with current
4803+ # pythonPackages.
4804+ doCheck = false;
4805+
4806+ meta = {
4807+ description = "S3FS builds on boto3 to provide a convenient Python filesystem interface for S3.";
4808+ homepage = "http://github.com/dask/s3fs/";
4809+ license = licenses.bsd3;
4810+ maintainers = with maintainers; [ teh ];
4811+ };
4812+ };
4813+
47214814 datashape = buildPythonPackage rec {
47224815 name = "datashape-${version}";
47234816 version = "0.5.1";
@@ -24061,6 +24154,10 @@ in modules // {
2406124154
2406224155 propagatedBuildInputs = with self; [ backports_ssl_match_hostname_3_4_0_2 certifi ];
2406324156
24157+ # Tests fail:
24158+ # ValueError: _type_ 'v' not supported
24159+ # See https://github.com/NixOS/nixpkgs/issues/14634
24160+ doCheck = false;
2406424161 src = pkgs.fetchurl {
2406524162 url = "mirror://pypi/t/tornado/${name}.tar.gz";
2406624163 sha256 = "a16fcdc4f76b184cb82f4f9eaeeacef6113b524b26a2cb331222e4a7fa6f2969";