From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 9nqrCgbWGV8GUAAA0tVLHw (envelope-from ) for ; Thu, 23 Jul 2020 18:25:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YITtBQbWGV/tGwAAbx9fmQ (envelope-from ) for ; Thu, 23 Jul 2020 18:25:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7BC5094013C for ; Thu, 23 Jul 2020 18:25:09 +0000 (UTC) Received: from localhost ([::1]:36428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyftz-0002uT-Pv for larch@yhetil.org; Thu, 23 Jul 2020 14:25:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyftu-0002sw-J1 for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34461) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyftu-0000eh-9k for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyftu-0008SL-6E for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42069] [PATCH v2 1/6] gnu: Add python-pytest-arraydiff. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Jul 2020 18:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 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.159552864932373 (code B ref -1); Thu, 23 Jul 2020 18:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jul 2020 18:24:09 +0000 Received: from localhost ([127.0.0.1]:45987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyft3-0008Q4-Gq for submit@debbugs.gnu.org; Thu, 23 Jul 2020 14:24:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:51310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyft1-0008Pw-7r for submit@debbugs.gnu.org; Thu, 23 Jul 2020 14:24:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyft0-0002Y1-Pc for guix-patches@gnu.org; Thu, 23 Jul 2020 14:24:07 -0400 Received: from mout02.posteo.de ([185.67.36.66]:42661) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyfsy-0000WP-Lw for guix-patches@gnu.org; Thu, 23 Jul 2020 14:24:06 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id BC3D62400FD for ; Thu, 23 Jul 2020 20:24:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1595528640; bh=wFR9+d/OYoAPalTrXgD6EEsKM0dtNsYA/mJvmdycelI=; h=From:To:Cc:Subject:Date:From; b=D+8/WPXYUMZ5FxWVkbIzFxOlxbS/LFydLmbDk71zUhwGCXL0Im+d+D+sBgQk9vBua pCm2SqAXwG5pPqTaN60mWRfH8q1WZ8DMEr6OVECsqwYbEL3urw09iAK7uaUEeXvZ06 qxDWtwtI/7IeqXa7GcoIDG0kCtUt/yoPMS2i/e77B+rpPvpqnJnzHsUAW8AwR+dm+o JC3oiL/g+qmxXTQpDft8t2U95kYcaNPnU2GgOBFoy9epURUkA7zpTYHl20apbWz+Qz Fs8FaqNoq9Ij8NWNLRUC73xKF4sNcoYT6aU9BS7dso47ubKmDov9L37G062J/NU4Iu IgdZuHwP6PGiw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BCLM309MBz6tmN; Thu, 23 Jul 2020 20:23:58 +0200 (CEST) From: Vinicius Monego Date: Thu, 23 Jul 2020 15:23:23 -0300 Message-Id: <20200723182328.49525-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200626221542.22604-1-monego@posteo.net> References: <20200626221542.22604-1-monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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/07/23 14:24:01 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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=D+8/WPXY; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.09 X-TUID: SyZCWJHa/men * gnu/packages/python-check.scm (python-pytest-arraydiff): New variable. --- gnu/packages/python-check.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 200bce6ced..bc0da40cbd 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2020 Julien Lepiller ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Edouard Klein +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -125,6 +126,32 @@ detect the absence of a cassette file and once again record all HTTP interactions, which will update them to correspond to the new API.") (license license:expat))) +(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-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-pytest-vcr (package (name "python-pytest-vcr") -- 2.20.1