From patchwork Thu Jul 23 18:23:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 23333 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 E7B9127BD72; Thu, 23 Jul 2020 19:25:13 +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 E45AB27BD71 for ; Thu, 23 Jul 2020 19:25:10 +0100 (BST) Received: from localhost ([::1]:36428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyfu2-0002uT-E5 for patchwork@mira.cbaines.net; Thu, 23 Jul 2020 14:25:10 -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 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-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/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") From patchwork Thu Jul 23 18:23:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 23335 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 7625C27BD70; Thu, 23 Jul 2020 19:25:18 +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 03D0A27BD6F for ; Thu, 23 Jul 2020 19:25:18 +0100 (BST) Received: from localhost ([::1]:37012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyfu9-00039r-Ih for patchwork@mira.cbaines.net; Thu, 23 Jul 2020 14:25:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyftv-0002t2-1I for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyftu-0000eo-OG 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-0008SS-L9 for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42069] [PATCH v2 2/6] gnu: Add python-pytest-doctestplus. 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.159552865532391 (code B ref -1); Thu, 23 Jul 2020 18:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jul 2020 18:24:15 +0000 Received: from localhost ([127.0.0.1]:45991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyft8-0008QM-PG for submit@debbugs.gnu.org; Thu, 23 Jul 2020 14:24:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:51314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyft6-0008QE-GT for submit@debbugs.gnu.org; Thu, 23 Jul 2020 14:24:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyft6-0002YC-BO for guix-patches@gnu.org; Thu, 23 Jul 2020 14:24:12 -0400 Received: from mout02.posteo.de ([185.67.36.66]:34205) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyft4-0000YI-NL for guix-patches@gnu.org; Thu, 23 Jul 2020 14:24:12 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id E5EDD2400FC for ; Thu, 23 Jul 2020 20:24:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1595528647; bh=exZGS9ODiAhFbzbYIDtGcT8WXJnFb/mHyS9JDjoscm8=; h=From:To:Cc:Subject:Date:From; b=M3Q10UXZcZqIL72nmYV1r2I2t8W4JajUZJI3o19aoXJa8U/P7B3lwEqPMQCZMzeUx 79JW8LK3l2jzulBDU5+zWnTdqaVjsttn6tQ9gvRxRm22Y+ZUpN2Zgk3Ore+8nGjVGr tIUCWwBdd9lPOIR48R8R/Mvb44LEujDEDpHtpGKHCifa/zAOpgrKsYr47TXR06n8Cq hOyItUmQf0R6qb6k/vec7KdM0/pifN7zT/mFkq30gGaHCvK+JExVEDKMX9cZwWyEau ZwibAZIasG3dsti+ozDa0pd4EC6dhHZy4ZXsp1dzGcsKBcc0ePX+KjbQAX7ypCeDiP ydOyT1jK8puMw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BCLMB1Bv1z6tmQ; Thu, 23 Jul 2020 20:24:05 +0200 (CEST) From: Vinicius Monego Date: Thu, 23 Jul 2020 15:23:24 -0300 Message-Id: <20200723182328.49525-2-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200723182328.49525-1-monego@posteo.net> References: <20200626221542.22604-1-monego@posteo.net> <20200723182328.49525-1-monego@posteo.net> 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/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-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/python-check.scm (python-pytest-doctestplus): New variable. --- gnu/packages/python-check.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index bc0da40cbd..bdcfce7c82 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -152,6 +152,34 @@ 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-doctestplus + (package + (name "python-pytest-doctestplus") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-doctestplus" version)) + (sha256 + (base32 "1ai9kvd7xbq2jg2h8gmkb8lqzyrxvdh4zg3vxndg149iwd1hyi7d")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; Make the installed plugin discoverable by Pytest. + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "https://github.com/astropy/pytest-doctestplus") + (synopsis "Pytest plugin with advanced doctest features") + (description + "This package contains a plugin for the Pytest framework that provides +advanced doctest support and enables the testing of reStructuredText files.") + (license license:bsd-3))) + (define-public python-pytest-vcr (package (name "python-pytest-vcr") From patchwork Thu Jul 23 18:23:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 23332 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 643FD27BD72; Thu, 23 Jul 2020 19:25:11 +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 8ACAA27BD6F for ; Thu, 23 Jul 2020 19:25:10 +0100 (BST) Received: from localhost ([::1]:36408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyfu1-0002tM-V2 for patchwork@mira.cbaines.net; Thu, 23 Jul 2020 14:25:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyftv-0002t8-FT for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34463) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyftv-0000ex-5s for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyftv-0008SZ-2k for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42069] [PATCH v2 3/6] gnu: Add python-pytest-filter-subpackage. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Jul 2020 18:25:03 +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.159552865732406 (code B ref -1); Thu, 23 Jul 2020 18:25:03 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jul 2020 18:24:17 +0000 Received: from localhost ([127.0.0.1]:45995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyftB-0008Qb-Au for submit@debbugs.gnu.org; Thu, 23 Jul 2020 14:24:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:51322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyftA-0008QU-3I for submit@debbugs.gnu.org; Thu, 23 Jul 2020 14:24:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyft9-0002YU-U8 for guix-patches@gnu.org; Thu, 23 Jul 2020 14:24:15 -0400 Received: from mout01.posteo.de ([185.67.36.65]:43499) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyft8-0000Yg-5z for guix-patches@gnu.org; Thu, 23 Jul 2020 14:24:15 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 5D93016005F for ; Thu, 23 Jul 2020 20:24:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1595528652; bh=17z0nx3GkXhHdeV8wuH1iLwrW+6hSvRRh7kEVuGxg9s=; h=From:To:Cc:Subject:Date:From; b=X4lyD6D7cc/edWeCCqXiRtNPUUCKwOpR72LusjXg5kzHdAsDMFQMvX0Y8Vhra4yyv uKCXh5SKxvpGXAOzTJwNwyeoEVuMQoqKe6Gu2ai/Ocu+LywzR7PFxL3LlPc2V3N12d 4UhVtL5S40THKV6Nk8QgXpsgBQa6V08uf6Kg6PrUVXFzh2PGgOB+8eL1nhiwis0ALu unKISpMWqDSkM2oLVY6b5cLz3oaEr6wpfhNzS/iP+KZue26dSnvXzaWNh/ATBMlCcF TdiyIZ16L4HTI1yuF1xRygqRplAcrH1GyxENb/M/WLPsjZa4VJbCGt9pIbWsh6bybo Oa7fdDm/f0kow== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BCLMG6c9wz6tmG; Thu, 23 Jul 2020 20:24:10 +0200 (CEST) From: Vinicius Monego Date: Thu, 23 Jul 2020 15:23:25 -0300 Message-Id: <20200723182328.49525-3-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200723182328.49525-1-monego@posteo.net> References: <20200626221542.22604-1-monego@posteo.net> <20200723182328.49525-1-monego@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/23 11:56:06 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=ham autolearn_force=no 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/python-check.scm (python-pytest-filter-subpackage): New variable. --- gnu/packages/python-check.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index bdcfce7c82..b21fa995c6 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -180,6 +180,41 @@ are too large to conveniently hard-code them in the tests.") advanced doctest support and enables the testing of reStructuredText files.") (license license:bsd-3))) +(define-public python-pytest-filter-subpackage + (package + (name "python-pytest-filter-subpackage") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-filter-subpackage" version)) + (sha256 + (base32 "1s4s2kd31yc65rfvl4xhy8xx806xhy59kc7668h6b6wq88xgrn5p")))) + (build-system python-build-system) + (arguments + '(;; One test is failing. There's an issue reported upstream. See + ;; https://github.com/astropy/pytest-filter-subpackage/issues/3. + ;; Disable it for now. + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; Make the installed plugin discoverable by Pytest. + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "-k" "not test_with_rst")))))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-doctestplus" + ,python-pytest-doctestplus))) + (home-page "https://github.com/astropy/pytest-filter-subpackage") + (synopsis "Pytest plugin for filtering based on sub-packages") + (description + "This package contains a simple plugin for the pytest framework that +provides a shortcut to testing all code and documentation for a given +sub-package.") + (license license:bsd-3))) + (define-public python-pytest-vcr (package (name "python-pytest-vcr") From patchwork Thu Jul 23 18:23:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 23334 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 8194C27BD71; Thu, 23 Jul 2020 19:25:14 +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 4072127BD6F for ; Thu, 23 Jul 2020 19:25:12 +0100 (BST) Received: from localhost ([::1]:36508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyfu3-0002wt-Of for patchwork@mira.cbaines.net; Thu, 23 Jul 2020 14:25:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyftv-0002tE-TD for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyftv-0000f7-JX for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyftv-0008Sh-Gj for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42069] [PATCH v2 4/6] gnu: Add python-pytest-openfiles. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Jul 2020 18:25:03 +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.159552866232426 (code B ref -1); Thu, 23 Jul 2020 18:25:03 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jul 2020 18:24:22 +0000 Received: from localhost ([127.0.0.1]:45999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyftF-0008Qv-IO for submit@debbugs.gnu.org; Thu, 23 Jul 2020 14:24:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:51328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyftD-0008Qm-Uk for submit@debbugs.gnu.org; Thu, 23 Jul 2020 14:24:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyftD-0002Z2-PS for guix-patches@gnu.org; Thu, 23 Jul 2020 14:24:19 -0400 Received: from mout01.posteo.de ([185.67.36.65]:54450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyftC-0000Yv-67 for guix-patches@gnu.org; Thu, 23 Jul 2020 14:24:19 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 91ABB16005F for ; Thu, 23 Jul 2020 20:24:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1595528656; bh=mCj55RTh43jyKFepvyAUEHFpHxefby6oMyvIH8hyduY=; h=From:To:Cc:Subject:Date:From; b=jGsi+8woj9+GTgdHD/f2yW+nEIv8qh1cmQPMTfYvVITWE3lAQsKHpjqa7P5DaHJls jnlowAHD78gRD1Q+hBSJJhBujw00AaIPTXtqw0JUXnR75tXXLh8XQ92hmDD4Hmrbhc 8j9+oLThCkcGf5ZXzgy3BoSjxGjsKvqrGOeZOrA9K8iw3/MeaNh5V5XrLrjPY/3+Yl ay63RtKfcIs7RJO+HdQ/C8y4DiIpzevikEveSM7uf7yeY5UvOO/ciVUygNVcZlR3Rt W3ENd4jvKBYWu9kTxI8ZCMUh/tlbJ16/QdHodTfxhTk4ZmN12KArnKC9XGbS5I5zMM uzpph3pTHTONQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BCLMM2ntBz6tmG; Thu, 23 Jul 2020 20:24:15 +0200 (CEST) From: Vinicius Monego Date: Thu, 23 Jul 2020 15:23:26 -0300 Message-Id: <20200723182328.49525-4-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200723182328.49525-1-monego@posteo.net> References: <20200626221542.22604-1-monego@posteo.net> <20200723182328.49525-1-monego@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/23 11:56:06 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=ham autolearn_force=no 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/python-check.scm (python-pytest-openfiles): New variable. --- gnu/packages/python-check.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index b21fa995c6..de8cb09c48 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -215,6 +215,38 @@ provides a shortcut to testing all code and documentation for a given sub-package.") (license license:bsd-3))) +(define-public python-pytest-openfiles + (package + (name "python-pytest-openfiles") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-openfiles" version)) + (sha256 + (base32 "0n0a7fdc9m86360y96l23fvdmd6rw04bl6h5xqgl9qxfv08jk70p")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; Make the installed plugin discoverable by Pytest. + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-setuptools-scm" ,python-setuptools-scm) + ("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-psutil" ,python-psutil))) + (home-page "https://github.com/astropy/pytest-openfiles") + (synopsis "Pytest plugin for detecting inadvertent open file handles") + (description + "This package provides a plugin for the pytest framework that allows +developers to detect whether any file handles or other file-like objects +were inadvertently left open at the end of a unit test.") + (license license:bsd-3))) + (define-public python-pytest-vcr (package (name "python-pytest-vcr") From patchwork Thu Jul 23 18:23:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 23337 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 006C727BD70; Thu, 23 Jul 2020 19:25:24 +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 7C20727BD6F for ; Thu, 23 Jul 2020 19:25:24 +0100 (BST) Received: from localhost ([::1]:37432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyfuG-0003K9-1q for patchwork@mira.cbaines.net; Thu, 23 Jul 2020 14:25:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyftw-0002tO-9i for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34465) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyftw-0000fE-0J for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyftv-0008Sq-Ta for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42069] [PATCH v2 5/6] gnu: Add python-pytest-remotedata. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Jul 2020 18:25:03 +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.159552866532443 (code B ref -1); Thu, 23 Jul 2020 18:25:03 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jul 2020 18:24:25 +0000 Received: from localhost ([127.0.0.1]:46003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyftJ-0008RC-7A for submit@debbugs.gnu.org; Thu, 23 Jul 2020 14:24:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:51332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyftH-0008R5-MS for submit@debbugs.gnu.org; Thu, 23 Jul 2020 14:24:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyftH-0002Z7-Go for guix-patches@gnu.org; Thu, 23 Jul 2020 14:24:23 -0400 Received: from mout02.posteo.de ([185.67.36.66]:57897) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyftF-0000ZL-T6 for guix-patches@gnu.org; Thu, 23 Jul 2020 14:24:23 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 85F8B2400FD for ; Thu, 23 Jul 2020 20:24:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1595528660; bh=qlMiu8cgeRFdqtFS3xUWN+u0mBTzZI88JAfxqj3YMtE=; h=From:To:Cc:Subject:Date:From; b=RBG5cVj83sLP+Ni5a47IYluVP7eOx/LFkS9KgO7ScZVJ8Miek52gm4nycMK0NHoFL VLhvRHWj8ugNKPEcMUnL6fhDfpNk3bF2QtIl2dXLEma/CT22svq2GIj1RHzFvox5hp TBttG5IrpHhtWjGli+LpB826dfQ6VlscDjhKjKL8ydAkRlId1qtl+msZWllZyjuZQ1 KrIsrz2i7GphDX0GdT9S9MgNKcv0po80acSm04Fdr5dCMquAzUVpRmn5xqkl4OZ9Z4 ASG1JVsnaL6arCoGogsT2HMNLcwdPRhqvKeCK82n94uoJL4MP7urqXM3Aog2NTBI1/ 5/srZZ5yvIqew== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BCLMR1z0jz6tmD; Thu, 23 Jul 2020 20:24:19 +0200 (CEST) From: Vinicius Monego Date: Thu, 23 Jul 2020 15:23:27 -0300 Message-Id: <20200723182328.49525-5-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200723182328.49525-1-monego@posteo.net> References: <20200626221542.22604-1-monego@posteo.net> <20200723182328.49525-1-monego@posteo.net> 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/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-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/python-check.scm (python-pytest-remotedata): New variable. --- gnu/packages/python-check.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index de8cb09c48..507d9cf468 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -247,6 +247,41 @@ developers to detect whether any file handles or other file-like objects were inadvertently left open at the end of a unit test.") (license license:bsd-3))) +(define-public python-pytest-remotedata + (package + (name "python-pytest-remotedata") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-remotedata" version)) + (sha256 + (base32 "1h6g6shib6z07azf12rnsa053470ggbd7hy3bnbw8nf3nza5h372")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; Make ;TODO: he installed plugin discoverable by Pytest. + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "-k" + (string-append + ;; These tests require internet access. Disable them. + "not test_default_behavior" + " and not test_strict_with_decorator"))))))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-six" ,python-six))) + (home-page "https://github.com/astropy/pytest-remotedata") + (synopsis "Pytest plugin for controlling remote data access") + (description + "This package provides a plugin for the Pytest framework that allows +developers to control unit tests that require access to data from the +internet.") + (license license:bsd-3))) + (define-public python-pytest-vcr (package (name "python-pytest-vcr") From patchwork Thu Jul 23 18:23:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 23336 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 EAE2927BD70; Thu, 23 Jul 2020 19:25:19 +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 347B827BD6F for ; Thu, 23 Jul 2020 19:25:19 +0100 (BST) Received: from localhost ([::1]:37074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyfuA-0003BX-QG for patchwork@mira.cbaines.net; Thu, 23 Jul 2020 14:25:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyftw-0002uV-QJ for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34466) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyftw-0000fK-G4 for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyftw-0008Sy-Bj for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42069] [PATCH v2 6/6] gnu: Add python-pytest-mpl. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Jul 2020 18:25:04 +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.159552867132462 (code B ref -1); Thu, 23 Jul 2020 18:25:04 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jul 2020 18:24:31 +0000 Received: from localhost ([127.0.0.1]:46007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyftP-0008RW-F5 for submit@debbugs.gnu.org; Thu, 23 Jul 2020 14:24:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:51336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyftO-0008RO-6u for submit@debbugs.gnu.org; Thu, 23 Jul 2020 14:24:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyftO-0002ZC-15 for guix-patches@gnu.org; Thu, 23 Jul 2020 14:24:30 -0400 Received: from mout01.posteo.de ([185.67.36.65]:55624) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyftM-0000b6-BB for guix-patches@gnu.org; Thu, 23 Jul 2020 14:24:29 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 18F4F16005C for ; Thu, 23 Jul 2020 20:24:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1595528667; bh=5zFt3M6J4guYeSOy16p5igLeFrshmbKrzgnL8tKuxsA=; h=From:To:Cc:Subject:Date:From; b=RQYzSOBq1vV8e0ctI8MEZmYIvAF7tzajhhCfaQTy1dnnxsFiHfsD8MBaI2/a/QDli YE8AQKNrYxJVNlWmxYA7KjFoY7vwkMjYVdX14GZSCeQ6r3+B6E2+Kn+mvIOoRW/G59 G+6ipMGccI8Spjm6CqwGfmDD0F9Gp6kyT43wd64d7FOwjCahPVUzalmPFl1DuPqhVW +Np6m5vGw1Rwy2uMj4WG9RV3UyAXXZVVtf3k55PHB0hXFuJ89gk23emb1Y6Z6Uwd95 3quD1/MuqOT5BfqsJK1hP8ijoB5p4NzoYC/NhfUCdkR8kRJC9MfWKB5RetfUfuThVy /f6yvNtwRjoBw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BCLMY5tc6z6tmK; Thu, 23 Jul 2020 20:24:25 +0200 (CEST) From: Vinicius Monego Date: Thu, 23 Jul 2020 15:23:28 -0300 Message-Id: <20200723182328.49525-6-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200723182328.49525-1-monego@posteo.net> References: <20200626221542.22604-1-monego@posteo.net> <20200723182328.49525-1-monego@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/23 11:56:06 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=ham autolearn_force=no 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/python-check.scm (python-pytest-mpl): New variable. --- gnu/packages/python-check.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 507d9cf468..617e474bf0 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -282,6 +282,35 @@ developers to control unit tests that require access to data from the internet.") (license license:bsd-3))) +(define-public python-pytest-mpl + (package + (name "python-pytest-mpl") + (version "0.11") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-mpl" version)) + (sha256 + (base32 "1km202c1s5kcn52fx0266p06qb34va3warcby594dh6vixxa9i96")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-matplotlib" ,python-matplotlib) + ("python-pillow" ,python-pillow))) + (home-page "https://github.com/matplotlib/pytest-mpl") + (synopsis "Pytest plugin to help with testing figures output from Matplotlib") + (description + "This is a plugin to facilitate image comparison for Matplotlib figures +in Pytest.") + (license license:bsd-3))) + (define-public python-pytest-vcr (package (name "python-pytest-vcr")