From patchwork Thu May 9 22:54:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 27330 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 5199327BBED; Thu, 9 May 2024 23:59:43 +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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 EF63A27BBE2 for ; Thu, 9 May 2024 23:59:36 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5CjL-00012J-5i; Thu, 09 May 2024 18:59: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 1s5CjF-0000iH-Qx for guix-patches@gnu.org; Thu, 09 May 2024 18:59:09 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s5CjF-0007J2-He for guix-patches@gnu.org; Thu, 09 May 2024 18:59:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5CjD-000309-SA for guix-patches@gnu.org; Thu, 09 May 2024 18:59:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70855] [PATCH 85/92] gnu: python-warcio: Move to pyproject-build-system. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 May 2024 22:59:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70855 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70855@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 70855-submit@debbugs.gnu.org id=B70855.171529551711377 (code B ref 70855); Thu, 09 May 2024 22:59:07 +0000 Received: (at 70855) by debbugs.gnu.org; 9 May 2024 22:58:37 +0000 Received: from localhost ([127.0.0.1]:41356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5Cij-0002xL-5d for submit@debbugs.gnu.org; Thu, 09 May 2024 18:58:37 -0400 Received: from 6.mo576.mail-out.ovh.net ([46.105.50.107]:58149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5Cib-0002uY-E2 for 70855@debbugs.gnu.org; Thu, 09 May 2024 18:58:31 -0400 Received: from director10.ghost.mail-out.ovh.net (unknown [10.108.2.211]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4Vb6r5690Qz1hPF for <70855@debbugs.gnu.org>; Thu, 9 May 2024 22:58:29 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-n8mvk (unknown [10.110.96.237]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id ADB771FD3A; Thu, 9 May 2024 22:58:29 +0000 (UTC) Received: from ngraves.fr ([37.59.142.96]) by ghost-submission-6684bf9d7b-n8mvk with ESMTPSA id v+5TKRVVPWY5TgAAcUNGSQ (envelope-from ); Thu, 09 May 2024 22:58:29 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-96R001b9426dc8-833a-48ad-a9f0-95c2818711fb, E63BAB6C0A71DD4DA934779D5D345DF804807214) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Fri, 10 May 2024 00:54:20 +0200 Message-ID: <20240509225530.24649-85-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240509225530.24649-1-ngraves@ngraves.fr> References: <20240509225530.24649-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 6130806469194343138 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdeffedgudeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrdelieenucevlhhushhtvghrufhiiigvpeejnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjedtkeehheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiedpmhhouggvpehsmhhtphhouhht 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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-web.scm (python-warcio): [build-system]: Move to pyproject-build-system. [arguments]: Use <#:test-flags> instead of check phase replacement. Change-Id: I7fd1ad51cddcbeb42c6aeeda552eb1a7bcd6e712 --- gnu/packages/python-web.scm | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index c24a3daa2e1..5f07b3cfc50 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6631,24 +6631,18 @@ (define-public python-warcio (sha256 (base32 "11afr6zy3r6rda81010iq496dazg4xid0izg3smg6ighpmvsnzf2")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list - #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-vv" - ;; These tests fail due to networking requirements. - "-k" (format #f "not ~a" - (string-join - '("test_post_chunked" - "test_remote" - "test_capture_http_proxy" - "test_capture_https_proxy" - "test_capture_https_proxy_same_session") - " and not "))))))))) + #:test-flags ; These tests fail due to networking requirements. + '(list "-k" (format #f "not ~a" + (string-join + '("test_post_chunked" + "test_remote" + "test_capture_http_proxy" + "test_capture_https_proxy" + "test_capture_https_proxy_same_session") + " and not "))))) (native-inputs ;; These inputs are required for the test suite. (list python-httpbin python-pytest-cov python-requests