From patchwork Sat Apr 29 17:08:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Felix Gruber X-Patchwork-Id: 49687 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 B1E7D27BBE2; Sat, 29 Apr 2023 18:11:40 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham 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 E58261796D for ; Sat, 29 Apr 2023 18:11:39 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pso5M-0006oY-GF; Sat, 29 Apr 2023 13:10:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pso5G-0006nN-6Q for guix-patches@gnu.org; Sat, 29 Apr 2023 13:10:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pso5E-0001Fj-Mm for guix-patches@gnu.org; Sat, 29 Apr 2023 13:10:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pso5E-00089t-Hv for guix-patches@gnu.org; Sat, 29 Apr 2023 13:10:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63176] [PATCH 06/10] gnu: python-pytest-doctestplus: Update to 0.12.1. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Apr 2023 17:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63176 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63176@debbugs.gnu.org Cc: Felix Gruber Received: via spool by 63176-submit@debbugs.gnu.org id=B63176.168278816131198 (code B ref 63176); Sat, 29 Apr 2023 17:10:04 +0000 Received: (at 63176) by debbugs.gnu.org; 29 Apr 2023 17:09:21 +0000 Received: from localhost ([127.0.0.1]:36492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pso4W-00086u-3u for submit@debbugs.gnu.org; Sat, 29 Apr 2023 13:09:20 -0400 Received: from mout02.posteo.de ([185.67.36.66]:37165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pso4S-00085z-W5 for 63176@debbugs.gnu.org; Sat, 29 Apr 2023 13:09:17 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 7A094240163 for <63176@debbugs.gnu.org>; Sat, 29 Apr 2023 19:09:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1682788151; bh=+why2zp2ZQBC5ZFtIUL00jca5v4zAtFhyceaV84MeIM=; h=From:To:Cc:Subject:Date:From; b=Tlu6+KrnH7zJlhBZ9kT0AKhalftyLPve1avci7ljD1dbMkKC9ToB5vOlmmgDa/W7u X1K43aJZvZByTYxg4MQUe726EGsXU4GoQ7G3tNDbtf364wTRpCJihJnz8fOCd5pjam VdMidJ0+C7v4ujwb8Thy0oBdM50A8v92Tpekhp8/yT7rliguq+tFAeg9aoG/q4J9/m 11abneMbIPT7lYVjyQncVSX0YSBVMTBKa2dNELB6wFyjedpAmPXyBnlgRp0mRpT0AP EweeeDodxxNlO69E2WZ7jxoVtjcIcKVcl8Nxit9vSyUHIeSu02kFAWrxzvHYwCbE/o cTocMGqg4FYLg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q7wtb0T4pz9rxF; Sat, 29 Apr 2023 19:09:11 +0200 (CEST) From: Felix Gruber Date: Sat, 29 Apr 2023 17:08:36 +0000 Message-Id: <20230429170840.105227-6-felgru@posteo.net> In-Reply-To: <20230429170611.105134-1-felgru@posteo.net> References: <20230429170611.105134-1-felgru@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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-check.scm (python-pytest-doctestplus): Update to 0.12.1. [build-system]: Use pyproject-build-system. [arguments]: Use #:test-flags instead of custom 'check phase. --- gnu/packages/python-check.scm | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index c42cd426b1..f451a5e999 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -14,7 +14,7 @@ ;;; Copyright © 2021, 2022 Guillaume Le Vaillant ;;; Copyright © 2021 Bonface Munyoki Kilyungi ;;; Copyright © 2022 Malte Frank Gerdes -;;; Copyright © 2022 Felix Gruber +;;; Copyright © 2022, 2023 Felix Gruber ;;; Copyright © 2022 Tomasz Jeneralczyk ;;; Copyright © 2022 jgart ;;; @@ -577,30 +577,25 @@ (define-public python-pytest-arraydiff (define-public python-pytest-doctestplus (package (name "python-pytest-doctestplus") - (version "0.11.2") + (version "0.12.1") (source (origin (method url-fetch) (uri (pypi-uri "pytest-doctestplus" version)) (sha256 - (base32 "0j1lvlj3ps975q9hmg8i6rpqm0313j3r18bc3l8mz6khb7vav4zk")))) - (build-system python-build-system) + (base32 "10ciqylgziihxwxryxvxgmkqgws51pqcarn0gbh1d4cxx55rx5vs")))) + (build-system pyproject-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key inputs outputs tests? #:allow-other-keys) - ;; Make the installed plugin discoverable by Pytest. - (when tests? - (add-installed-pythonpath inputs outputs) - (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")))))))) + (list + #:test-flags + '(list "-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 python-setuptools-scm)) (home-page "https://github.com/astropy/pytest-doctestplus")