From patchwork Tue May 2 21:45:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Gruber X-Patchwork-Id: 49753 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 99DD527BBE2; Tue, 2 May 2023 22:47:38 +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=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 10B3F27BBE9 for ; Tue, 2 May 2023 22:47:36 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptxq7-0007JQ-JN; Tue, 02 May 2023 17:47:15 -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-0007I3-Bg 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-0002m2-W1 for guix-patches@gnu.org; Tue, 02 May 2023 17:47:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ptxpw-0004op-Qt for guix-patches@gnu.org; Tue, 02 May 2023 17:47:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63176] [PATCH v3 6/8] gnu: python-pytest-remotedata: Update to 0.4.0. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 May 2023 21:47: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.168306397718393 (code B ref 63176); Tue, 02 May 2023 21:47:04 +0000 Received: (at 63176) by debbugs.gnu.org; 2 May 2023 21:46:17 +0000 Received: from localhost ([127.0.0.1]:45195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptxpA-0004mV-W1 for submit@debbugs.gnu.org; Tue, 02 May 2023 17:46:17 -0400 Received: from mout02.posteo.de ([185.67.36.66]:55067) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptxp9-0004lQ-3w for 63176@debbugs.gnu.org; Tue, 02 May 2023 17:46:15 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 974A5240480 for <63176@debbugs.gnu.org>; Tue, 2 May 2023 23:46:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1683063969; bh=koPywAKI/AiPIfK0Xs2oCZXKfrZNtzo1xDt7rUGAwwI=; h=From:To:Cc:Subject:Date:From; b=caIYMLeYOYhDKm2u9C1Q46Y7Q/Oo2W4YMKtddc8gcBNcUSKIbR5ATyFpRz7EgqEIA pLeCDQpG6KH95ZzwuyzUewthn8MQW9Iw59SGL2g2tlNz3RgUsNsyvH+NU63VrUkbAr pyAk6Yskdam0eFmmXuUuBv3Wlq5kZHNxAZv8Yd81TC00CLdEsgUmSS2OgllXL6JF/h +4JMOriQPL5EcovtP3dXAjSnk1UK+swv2JFx4b00AUdMas6TfDOX2IHi1g2ImR5TnG rklqN0fPbbXg776/L6u/aPYCZXjz6Ha7HLLgPXt6l16QQNNx05uIf1qtJACTNUkN1B f6jAy8X2oikYg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q9ttn1bZyz9rxB; Tue, 2 May 2023 23:46:09 +0200 (CEST) From: Felix Gruber Date: Tue, 2 May 2023 21:45:40 +0000 Message-Id: <20230502214542.24461-7-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-remotedata): Update to 0.4.0. [build-system]: Use pyproject-build-system. [arguments]: Use #:test-flags instead of custom 'check phase. [propagated-inputs]: Remove python-six. --- gnu/packages/python-check.scm | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 10731178e3..160d30179b 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -754,30 +754,24 @@ (define-public python-pytest-openfiles (define-public python-pytest-remotedata (package (name "python-pytest-remotedata") - (version "0.3.2") + (version "0.4.0") (source (origin (method url-fetch) (uri (pypi-uri "pytest-remotedata" version)) (sha256 - (base32 "1h6g6shib6z07azf12rnsa053470ggbd7hy3bnbw8nf3nza5h372")))) - (build-system python-build-system) + (base32 "1j5106j331cfdyfcwzrbs3yby84mq1b0kddfysq12z2dwdcca8dy")))) + (build-system pyproject-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" "-k" - (string-append - ;; These tests require internet access. Disable them. - "not test_default_behavior" - " and not test_strict_with_decorator"))))))) + (list + #:test-flags + '(list "-k" + (string-append + ;; These tests require internet access. Disable them. + "not test_default_behavior" + " and not test_strict_with_decorator")))) (native-inputs (list python-pytest)) - (propagated-inputs - (list python-six)) (home-page "https://github.com/astropy/pytest-remotedata") (synopsis "Pytest plugin for controlling remote data access") (description