From patchwork Fri Jun 26 22:15:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 22885 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 D6E0E27BBE3; Fri, 26 Jun 2020 23:23:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, 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 689EE27BBE1 for ; Fri, 26 Jun 2020 23:23:52 +0100 (BST) Received: from localhost ([::1]:33450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jowlD-00029K-UJ for patchwork@mira.cbaines.net; Fri, 26 Jun 2020 18:23:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jowed-00085a-2L for guix-patches@gnu.org; Fri, 26 Jun 2020 18:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59955) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jowec-0007Uu-OC for guix-patches@gnu.org; Fri, 26 Jun 2020 18:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jowec-0008Jn-KM for guix-patches@gnu.org; Fri, 26 Jun 2020 18:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42069] [PATCH 1/6] gnu: Add python-pytest-arraydiff. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Jun 2020 22:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42069 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42069@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159320980031884 (code B ref -1); Fri, 26 Jun 2020 22:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jun 2020 22:16:40 +0000 Received: from localhost ([127.0.0.1]:43256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joweG-0008IC-F6 for submit@debbugs.gnu.org; Fri, 26 Jun 2020 18:16:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:60272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joweC-0008Hi-M1 for submit@debbugs.gnu.org; Fri, 26 Jun 2020 18:16:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1joweB-0007JP-W7 for guix-patches@gnu.org; Fri, 26 Jun 2020 18:16:36 -0400 Received: from mout02.posteo.de ([185.67.36.66]:40663) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jowe9-0006Fs-Nl for guix-patches@gnu.org; Fri, 26 Jun 2020 18:16:35 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id CFF532400FB for ; Sat, 27 Jun 2020 00:16:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1593209787; bh=irBU8EqVvKALQZlukLKkaiRTwolwtT+ytPpJUxprZMI=; h=From:To:Cc:Subject:Date:From; b=J5cnCiXIGK6ZV9HQ6pjx5HY9s079dDFFl8qWbFPe+Fa356JR6dc9Ecbx7lRnziIN5 VNtcWGTMIO5UMoldI8fkAAOOnOItVzIHMRRx2RwVxY+tb8VcNo99i2Ly1AofqtIFfr MrHyw6Kc6LwNByYpe386eqqaVOLWaKR0WY4gJf2vx9VBJXqHIA2t+YGf5N6p1l+74a IVzTP0vtxiTxQ421j3xQ9ST1bKJqfb4lbSFdNKrw3h7yfygf2yTMW+U96OY/W3dT03 fzvbUdX43Tgpuw3DBiXaUgPmZ3uYx3Jlpvb9v4bg/mknnXQiQ/oi1GjMrr0kHq6LJ8 YoCjMx6ziicCA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49trnk22hYz9rxS; Sat, 27 Jun 2020 00:16:25 +0200 (CEST) From: Vinicius Monego Date: Fri, 26 Jun 2020 19:15:37 -0300 Message-Id: <20200626221542.22604-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/26 16:25:15 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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/check.scm (python-pytest-arraydiff): New variable. --- gnu/packages/check.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index df9d380f71..ccf74cfb46 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1750,6 +1750,33 @@ look and feel of py.test, using a progress bar and showing failures and errors instantly.") (license license:bsd-3))) +(define-public python-pytest-arraydiff + (package + (name "python-pytest-arraydiff") + (version "0.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-arraydiff" version)) + (sha256 + (base32 "05bcvhh2ycxa35znl8b3l9vkcmx7vwm5c3fpakbpw46c7vsn4bfy")))) + (build-system python-build-system) + (arguments + ;; Tests require python-astropy, which itself requires this package. + ;; Disable tests to avoid the circular dependency problem. + '(#:tests? #f)) + (propagated-inputs + `(("python-numpy" ,python-numpy) + ("python-pytest" ,python-pytest) + ("python-six" ,python-six))) + (home-page "https://github.com/astropy/pytest-arraydiff") + (synopsis "Pytest plugin to help with comparing array output from tests") + (description + "This is a py.test plugin to facilitate the generation and comparison of +data arrays produced during tests, in particular in cases where the arrays +are too large to conveniently hard-code them in the tests.") + (license license:bsd-3))) + (define-public python-hypothesis (package (name "python-hypothesis")