From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:41981) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihGbj-0007PY-EG for guix-patches@gnu.org; Tue, 17 Dec 2019 12:26:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihGbi-0006ka-6b for guix-patches@gnu.org; Tue, 17 Dec 2019 12:26:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36388) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihGbi-0006kT-3Z for guix-patches@gnu.org; Tue, 17 Dec 2019 12:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ihGbi-0004Um-1K for guix-patches@gnu.org; Tue, 17 Dec 2019 12:26:02 -0500 Subject: [bug#38652] [PATCH 1/5] gnu: python-dill: Update to 0.3.1.1. References: <95665076-db11-fa3e-2d65-853bc061f6b8@mdc-berlin.de> In-Reply-To: <95665076-db11-fa3e-2d65-853bc061f6b8@mdc-berlin.de> Resent-Message-ID: From: =?UTF-8?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= Date: Tue, 17 Dec 2019 18:24:33 +0100 Message-ID: <20191217172437.21217-1-madalinionel.patrascu@mdc-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38652@debbugs.gnu.org Cc: =?UTF-8?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= * gnu/packages/python-xyz.scm (python-dill): Update to 0.3.1.1. --- gnu/packages/python-xyz.scm | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f0490f248c..9075dfeb49 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15651,17 +15651,25 @@ object-oriented library such as @code{scikit-learn}.") (define-public python-dill (package (name "python-dill") - (version "0.2.9") + (version "0.3.1.1") (source (origin (method url-fetch) (uri (pypi-uri "dill" version)) (sha256 - (base32 "0vwqyi6hyz2r29zydc78dqymkbc5y7gia16xcdh215cikxph9mpn")))) + (base32 "1704g8z70d210ksgbccs2v545v9w0wc6lx15m296alb7jf0yzn22")))) (build-system python-build-system) - ;; FIXME: The check phase fails with "don't know how to make test from: …". - (arguments '(#:tests? #f)) - (home-page "https://pypi.org/project/dill") + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (with-directory-excursion "/tmp" + (invoke "nosetests" "-v")) + #t))))) + (native-inputs + `(("python-nose" ,python-nose))) + (home-page "https://pypi.org/project/dill/") (synopsis "Serialize all of Python") (description "Dill extends Python's @code{pickle} module for serializing and de-serializing Python objects to the majority of the built-in Python -- 2.24.1