From patchwork Tue May 2 21:45:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Felix Gruber X-Patchwork-Id: 49758 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 145F727BBE2; Tue, 2 May 2023 22:48:14 +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 BBF6927BBEA for ; Tue, 2 May 2023 22:48:12 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptxq9-0007KT-73; Tue, 02 May 2023 17:47:17 -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 1ptxpz-0007I1-0z for guix-patches@gnu.org; Tue, 02 May 2023 17:47:08 -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 1ptxpw-0002kP-4v for guix-patches@gnu.org; Tue, 02 May 2023 17:47:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ptxpv-0004oa-Vz for guix-patches@gnu.org; Tue, 02 May 2023 17:47:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63176] [PATCH v3 4/8] 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: Tue, 02 May 2023 21:47:03 +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.168306397418365 (code B ref 63176); Tue, 02 May 2023 21:47:03 +0000 Received: (at 63176) by debbugs.gnu.org; 2 May 2023 21:46:14 +0000 Received: from localhost ([127.0.0.1]:45187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptxp8-0004m4-5C for submit@debbugs.gnu.org; Tue, 02 May 2023 17:46:14 -0400 Received: from mout02.posteo.de ([185.67.36.66]:42493) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptxp6-0004l2-9u for 63176@debbugs.gnu.org; Tue, 02 May 2023 17:46:13 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C55752404C4 for <63176@debbugs.gnu.org>; Tue, 2 May 2023 23:46:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1683063966; bh=+why2zp2ZQBC5ZFtIUL00jca5v4zAtFhyceaV84MeIM=; h=From:To:Cc:Subject:Date:From; b=Nfuumm7MKcf/L7vxzxP4BJPZfU1ANdq/3jEYaGUMzwnF4IPoBkkPt5yOLkmBUBHYr E+dAojgo3tpaaK3WLtb50hnByENygH8P4SB7PAqMlLzmE/StB+OfAD+iRsy/PIypsK Bztp67uALOz9YDlEtuJWaV/eayFoj3rT5ScgJhDTfsvGi6YMYhDRzCiJch1DL+RALI 0BbrnRQy4rDvQMmoC6PL8DkbrRBkMb98bmIAgw2so0YhZp3F2PjOTL2BzVjzyROzQn jcfRJy/AyMYkHpRz7T5NgEqQvnL7HXio26iQaOGxAINKzuqLU42uZa7/vR3QH6+Ne+ 9HGMS2ey0cRbQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q9ttk31Y0z9rxB; Tue, 2 May 2023 23:46:06 +0200 (CEST) From: Felix Gruber Date: Tue, 2 May 2023 21:45:38 +0000 Message-Id: <20230502214542.24461-5-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")