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 06/16] gnu: Add python-cloudpickle.
Date: Wed, 5 Sep 2018 15:59:56 +0200 [thread overview]
Message-ID: <20180905140006.10783-1-ricardo.wurmus@mdc-berlin.de> (raw)
In-Reply-To: <idj5zzk2h0t.fsf@bimsb-sys02.mdc-berlin.net>
* gnu/packages/python.scm (python-cloudpickle): New variable.
---
gnu/packages/python.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0eceefdc6..501387c02 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14137,3 +14137,37 @@ that is accessible to other projects developed in Cython.")
"This package provides a sorted collections library, written in
pure-Python.")
(license license:asl2.0)))
+
+(define-public python-cloudpickle
+ (package
+ (name "python-cloudpickle")
+ (version "0.5.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "cloudpickle" version))
+ (sha256
+ (base32
+ "0gdg5n025v4wqmdg65rm0n6fvp6731ip30ji0rmn2kqsyr4bb93f"))))
+ (build-system python-build-system)
+ ;; FIXME: there are 5 errors in 122 tests:
+ ;; ERROR: test_function_pickle_compat_0_4_0 (tests.cloudpickle_test.CloudPickleTest)
+ ;; ERROR: test_function_pickle_compat_0_4_1 (tests.cloudpickle_test.CloudPickleTest)
+ ;; ERROR: test_function_pickle_compat_0_4_0 (tests.cloudpickle_test.Protocol2CloudPickleTest)
+ ;; ERROR: test_function_pickle_compat_0_4_1 (tests.cloudpickle_test.Protocol2CloudPickleTest)
+ ;; ERROR: test_temp_file (tests.cloudpickle_file_test.CloudPickleFileTests)
+ ;; TypeError: cannot serialize '_io.BufferedRandom' object
+ (arguments '(#:tests? #f))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-mock" ,python-mock)
+ ("python-tornado" ,python-tornado)))
+ (home-page "https://github.com/cloudpipe/cloudpickle")
+ (synopsis "Extended pickling support for Python objects")
+ (description
+ "Cloudpickle makes it possible to serialize Python constructs not
+supported by the default pickle module from the Python standard library. It
+is especially useful for cluster computing where Python expressions are
+shipped over the network to execute on remote hosts, possibly close to the
+data.")
+ (license license:bsd-3)))
--
2.18.0
next prev 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 ` Ricardo Wurmus [this message]
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 ` [bug#32642] [PATCH 10/16] gnu: Add python-dask Ricardo Wurmus
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-1-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).