From patchwork Fri Dec 24 05:47:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 35627 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 CD32327BBEA; Fri, 24 Dec 2021 05:50:08 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 57DB327BBE9 for ; Fri, 24 Dec 2021 05:50:08 +0000 (GMT) Received: from localhost ([::1]:57000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0dSv-0007Jw-Ln for patchwork@mira.cbaines.net; Fri, 24 Dec 2021 00:50:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0dRv-0007HP-14 for guix-patches@gnu.org; Fri, 24 Dec 2021 00:49:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52166) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0dRu-0007pW-Nl for guix-patches@gnu.org; Fri, 24 Dec 2021 00:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n0dRu-0007Ax-Mj for guix-patches@gnu.org; Fri, 24 Dec 2021 00:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52768] [PATCH 2/5] gnu: python-pytest-doctestplus: Update to 0.11.2. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Dec 2021 05:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52768 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52768@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 52768-submit@debbugs.gnu.org id=B52768.164032489227477 (code B ref 52768); Fri, 24 Dec 2021 05:49:02 +0000 Received: (at 52768) by debbugs.gnu.org; 24 Dec 2021 05:48:12 +0000 Received: from localhost ([127.0.0.1]:35470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0dR6-000796-Db for submit@debbugs.gnu.org; Fri, 24 Dec 2021 00:48:12 -0500 Received: from mout01.posteo.de ([185.67.36.65]:55295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0dR4-00078f-F7 for 52768@debbugs.gnu.org; Fri, 24 Dec 2021 00:48:10 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D0B57240026 for <52768@debbugs.gnu.org>; Fri, 24 Dec 2021 06:48:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1640324884; bh=7OmU/Ul4nUXndVpI+7zsy0U5+olR4fR1nhXqoy4ATc8=; h=From:To:Cc:Subject:Date:From; b=XIKMpki3bSOmYniHQyiYGH6KG8z6M06iqyL0hbt0sPCFDFnQiLLAghTcgAfS7sQ/Q GksnL7/yqbpTmrsABvCIaYtzJCkf28CdOvwIiucaI9wGnKTImio7sszVOkidTqLyF8 wazaNpS1OIQZC39A4j/397lFXuX5fIjLtU7DQgcHFjN/NypWqfTez/Jc54F2ORaZ53 U5l7btJe/BSuIuWBpyxh4b11dBeIpymyCCBdzr2atgzpIVkVJfCRuJB1Nm0LKMH87T Vb29QgPrFErpLqu7GQ3iOHSa6WQV2HYReVrnkDvwgLg/SSM8Oou0KIVSJ5oW5wsDm1 reSiVY1QaQycQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JKx1J059Vz6tmF; Fri, 24 Dec 2021 06:48:03 +0100 (CET) From: Vinicius Monego Date: Fri, 24 Dec 2021 05:47:30 +0000 Message-Id: <20211224054733.1009894-2-monego@posteo.net> In-Reply-To: <20211224054733.1009894-1-monego@posteo.net> References: <20211224054733.1009894-1-monego@posteo.net> MIME-Version: 1.0 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): Update to 0.11.2. [arguments]<#:phases>: In the custom 'check phase, skip tests that require remote data. [native-inputs]: Add python-setuptools-scm. --- gnu/packages/python-check.scm | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index e6cf2a4f85..a745e735db 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -402,13 +402,13 @@ are too large to conveniently hard-code them in the tests.") (define-public python-pytest-doctestplus (package (name "python-pytest-doctestplus") - (version "0.7.0") + (version "0.11.2") (source (origin (method url-fetch) (uri (pypi-uri "pytest-doctestplus" version)) (sha256 - (base32 "1ai9kvd7xbq2jg2h8gmkb8lqzyrxvdh4zg3vxndg149iwd1hyi7d")))) + (base32 "0j1lvlj3ps975q9hmg8i6rpqm0313j3r18bc3l8mz6khb7vav4zk")))) (build-system python-build-system) (arguments '(#:phases @@ -417,9 +417,16 @@ are too large to conveniently hard-code them in the tests.") (lambda* (#:key inputs outputs #:allow-other-keys) ;; Make the installed plugin discoverable by Pytest. (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-vv")))))) + (invoke "python" "-m" "pytest" "-k" + (string-append ; skip tests that require remote data + "not test_remote_data_url" + " and not test_remote_data_float_cmp" + " and not test_remote_data_ignore_whitespace" + " and not test_remote_data_ellipsis" + " and not test_remote_data_requires" + " and not test_remote_data_ignore_warnings"))))))) (native-inputs - (list python-pytest)) + (list python-pytest python-setuptools-scm)) (home-page "https://github.com/astropy/pytest-doctestplus") (synopsis "Pytest plugin with advanced doctest features") (description