unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: 32642@debbugs.gnu.org
Cc: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Subject: [bug#32642] [PATCH 10/16] gnu: Add python-dask.
Date: Wed, 5 Sep 2018 16:00:00 +0200	[thread overview]
Message-ID: <20180905140006.10783-5-ricardo.wurmus@mdc-berlin.de> (raw)
In-Reply-To: <20180905140006.10783-1-ricardo.wurmus@mdc-berlin.de>

* gnu/packages/python.scm (python-dask): New variable.
---
 gnu/packages/python.scm | 45 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 8429ad32f..6e06125d9 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14246,3 +14246,48 @@ This Python package wraps the Blosc library.")
     (description "Partd stores key-value pairs.  Values are raw bytes.  We
 append on old values.  Partd excels at shuffling operations.")
     (license license:bsd-3)))
+
+(define-public python-dask
+  (package
+    (name "python-dask")
+    (version "0.19.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "dask" version))
+       (sha256
+        (base32
+         "1pm1163qb6s22p8fnvj0zlfazihvs7hxjn8l2n52bzs7shw6kdz3"))))
+    (build-system python-build-system)
+    ;; A single test out of 5000+ fails.  This test is marked as xfail when
+    ;; pytest-xdist is used.
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'disable-broken-test
+           (lambda _
+             (substitute* "dask/tests/test_threaded.py"
+               (("def test_interrupt\\(\\)" m)
+                (string-append "@pytest.mark.skip(reason=\"Disabled by Guix\")\n"
+                               m)))
+             #t)))))
+    (propagated-inputs
+     `(("python-cloudpickle" ,python-cloudpickle)
+       ("python-numpy" ,python-numpy)
+       ("python-pandas" ,python-pandas)
+       ("python-partd" ,python-partd)
+       ("python-toolz" ,python-toolz)
+       ("python-pyyaml" ,python-pyyaml)))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-runner" ,python-pytest-runner)))
+    (home-page "https://github.com/dask/dask/")
+    (synopsis "Parallel computing with task scheduling")
+    (description
+     "Dask is a flexible parallel computing library for analytics.  It
+consists of two components: dynamic task scheduling optimized for computation,
+and large data collections like parallel arrays, dataframes, and lists that
+extend common interfaces like NumPy, Pandas, or Python iterators to
+larger-than-memory or distributed environments.  These parallel collections
+run on top of the dynamic task schedulers. ")
+    (license license:bsd-3)))
-- 
2.18.0

  parent reply	other threads:[~2018-09-05 14:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-05 13:46 [bug#32642] [PATCH 00/16] gnu: Add python-pygenometracks Ricardo Wurmus
2018-09-05 13:54 ` [bug#32642] [PATCH 01/16] gnu: Add python-dill Ricardo Wurmus
2018-09-05 13:54   ` [bug#32642] [PATCH 02/16] gnu: Add python-multiprocess Ricardo Wurmus
2018-09-05 13:54   ` [bug#32642] [PATCH 03/16] gnu: Add python-toolz Ricardo Wurmus
2018-09-05 13:54   ` [bug#32642] [PATCH 04/16] gnu: Add python-cytoolz Ricardo Wurmus
2018-09-05 13:54   ` [bug#32642] [PATCH 05/16] gnu: Add python-sortedcontainers Ricardo Wurmus
2018-09-05 13:59 ` [bug#32642] [PATCH 06/16] gnu: Add python-cloudpickle Ricardo Wurmus
2018-09-05 13:59   ` [bug#32642] [PATCH 07/16] gnu: Add python-locket Ricardo Wurmus
2018-09-05 13:59   ` [bug#32642] [PATCH 08/16] gnu: Add python-blosc Ricardo Wurmus
2018-09-05 13:59   ` [bug#32642] [PATCH 09/16] gnu: Add python-partd Ricardo Wurmus
2018-09-05 14:00   ` Ricardo Wurmus [this message]
2018-09-05 14:00   ` [bug#32642] [PATCH 11/16] gnu: Add python-intervaltree Ricardo Wurmus
2018-09-05 14:00   ` [bug#32642] [PATCH 12/16] gnu: Add python-pypairix Ricardo Wurmus
2018-09-05 14:00   ` [bug#32642] [PATCH 13/16] gnu: Add python-pyfaidx Ricardo Wurmus
2018-09-05 14:00   ` [bug#32642] [PATCH 14/16] gnu: Add python-cooler Ricardo Wurmus
2018-09-05 14:07     ` [bug#32642] [PATCH 15/16] gnu: Add python-hicexplorer Ricardo Wurmus
2018-09-05 14:07       ` [bug#32642] [PATCH 16/16] gnu: Add python-pygenometracks Ricardo Wurmus
2018-09-10 14:52         ` bug#32642: " Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180905140006.10783-5-ricardo.wurmus@mdc-berlin.de \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=32642@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).