From patchwork Tue Mar 3 09:22:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 20501 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2ECEA27BBE4; Tue, 3 Mar 2020 09:23:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id A6C6327BBEA for ; Tue, 3 Mar 2020 09:23:14 +0000 (GMT) Received: from localhost ([::1]:44048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j93li-0004qc-7D for patchwork@mira.cbaines.net; Tue, 03 Mar 2020 04:23:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45236) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j93lZ-0004qJ-40 for guix-patches@gnu.org; Tue, 03 Mar 2020 04:23:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j93lW-0000Fy-TP for guix-patches@gnu.org; Tue, 03 Mar 2020 04:23:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j93lW-0000Fi-Qu for guix-patches@gnu.org; Tue, 03 Mar 2020 04:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j93lW-00059K-Lg for guix-patches@gnu.org; Tue, 03 Mar 2020 04:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39880] [PATCH] gnu: python-keras: Fix tests. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Mar 2020 09:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39880 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39880@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158322735419746 (code B ref -1); Tue, 03 Mar 2020 09:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Mar 2020 09:22:34 +0000 Received: from localhost ([127.0.0.1]:38672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j93l2-00058N-HC for submit@debbugs.gnu.org; Tue, 03 Mar 2020 04:22:34 -0500 Received: from lists.gnu.org ([209.51.188.17]:38889) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j93kz-00058F-BI for submit@debbugs.gnu.org; Tue, 03 Mar 2020 04:22:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45187) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j93kx-0004nH-Ij for guix-patches@gnu.org; Tue, 03 Mar 2020 04:22:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j93kt-0008OI-DO for guix-patches@gnu.org; Tue, 03 Mar 2020 04:22:27 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:37425) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j93kt-0008N5-85 for guix-patches@gnu.org; Tue, 03 Mar 2020 04:22:23 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa.home (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id E6504E0027 for ; Tue, 3 Mar 2020 09:22:01 +0000 (UTC) From: Pierre Neidhardt Date: Tue, 3 Mar 2020 10:22:01 +0100 Message-Id: <20200303092201.7174-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/machine-learning.scm (python-keras)[origin]: Add patch to remove unstable selu test. * gnu/local.mk: Include patch. --- gnu/local.mk | 1 + gnu/packages/machine-learning.scm | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/local.mk b/gnu/local.mk index 857345cfad..e5922aae54 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1329,6 +1329,7 @@ dist_patch_DATA = \ %D%/packages/patches/python-configobj-setuptools.patch \ %D%/packages/patches/python-faker-fix-build-32bit.patch \ %D%/packages/patches/python-keras-integration-test.patch \ + %D%/packages/patches/python-keras-selu-test.patch \ %D%/packages/patches/python-pep8-stdlib-tokenize-compat.patch \ %D%/packages/patches/python-pyfakefs-remove-bad-test.patch \ %D%/packages/patches/python-flint-includes.patch \ diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 8262a418cc..7fbdef0163 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1863,7 +1863,9 @@ with image data, text data, and sequence data.") (origin (method url-fetch) (uri (pypi-uri "Keras" version)) - (patches (search-patches "python-keras-integration-test.patch")) + (patches + (search-patches "python-keras-selu-test.patch" ; Numerically unstable? + "python-keras-integration-test.patch")) (sha256 (base32 "1j8bsqzh49vjdxy6l1k4iwax5vpjzniynyd041xjavdzvfii1dlh"))))