From patchwork Tue May 2 21:45:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Gruber X-Patchwork-Id: 49759 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 5039427BBEB; Tue, 2 May 2023 22:48:15 +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 7838F27BBE9 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 1ptxq8-0007JV-SL; Tue, 02 May 2023 17:47:16 -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-0007I5-B8 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 1ptxpx-0002m7-Af 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 1ptxpx-0004ox-5t for guix-patches@gnu.org; Tue, 02 May 2023 17:47:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63176] [PATCH v3 7/8] gnu: python-pytest-astropy: Fix build. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 May 2023 21:47:05 +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.168306397818406 (code B ref 63176); Tue, 02 May 2023 21:47:05 +0000 Received: (at 63176) by debbugs.gnu.org; 2 May 2023 21:46:18 +0000 Received: from localhost ([127.0.0.1]:45199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptxpC-0004mo-Bv for submit@debbugs.gnu.org; Tue, 02 May 2023 17:46:18 -0400 Received: from mout02.posteo.de ([185.67.36.66]:43201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptxpA-0004lm-DL for 63176@debbugs.gnu.org; Tue, 02 May 2023 17:46:16 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E05EA240480 for <63176@debbugs.gnu.org>; Tue, 2 May 2023 23:46:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1683063970; bh=DPJRcqCIgqTOv9W+3NlXfR4eoqCnRtenOg1/YBEqAPM=; h=From:To:Cc:Subject:Date:From; b=UfMj++OG+zxBkhtc6CDH3h2E/ZijJmpHVxi+1GKb82D43dmuTVFTDTR/S0WR847Zq z+1/On17r8QqFB2MMVdjmdDefHKZJJsVGqz3yQ5uFi6GNMUq9buiQWWmttnih58P6Q RtH87BgpakyQOxKxrX/X/Slpu5ewcVQuk5RfJ992j5EmT6tbAjZ8vggNT5pfWj8SpE MZ3k0Cj1vDoX7gHcaZAlVnHZ7HSF57oRc7DkJmKgoGY0H+iqbuVUuqfgYJ+gsMIqux DCPc4FryJ6kYNtTkEif1iOkKwti3wFfAPGUObwjy0n0LUyOEDKmB28izDM/k+TcE6W AX5/0PVD0aBoA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q9ttp3wc8z6tm4; Tue, 2 May 2023 23:46:10 +0200 (CEST) From: Felix Gruber Date: Tue, 2 May 2023 21:45:41 +0000 Message-Id: <20230502214542.24461-8-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-astropy): Fix build against updated python-pytest-remotedata. [build-system]: Use pyproject-build-system. [arguments]: Remove broken version check for pytest-remotedata. --- gnu/packages/python-check.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 160d30179b..84d968e061 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -517,17 +517,19 @@ (define-public python-pytest-astropy (uri (pypi-uri "pytest-astropy" version)) (sha256 (base32 "04g2rh261s3s6ym8mwi4iv2a6anbgwvwzcvkyilfck6yxrncdqw5")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments `(#:tests? #f ; there are no tests #:phases (modify-phases %standard-phases - ;; There is a bug somewhere that makes pytest-filter-subpackage appear - ;; as version 0.0.0 to setup.py. Remove it from the requirements. + ;; There is a bug somewhere that makes pytest-filter-subpackage + ;; and pytest-remotedata appear as version 0.0.0 to setup.py. + ;; Remove them from the requirements. (add-after 'unpack 'remove-requirement (lambda _ (substitute* "setup.cfg" - ((".*pytest-filter-subpackage.*") ""))))))) + ((".*pytest-filter-subpackage.*") "") + ((".*pytest-remotedata.*") ""))))))) (native-inputs (list python-attrs python-pytest-mock python-setuptools-scm)) (propagated-inputs