From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 2GqBLHtbPWbePQEAqHPOHw:P1 (envelope-from ) for ; Fri, 10 May 2024 01:25:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2GqBLHtbPWbePQEAqHPOHw (envelope-from ) for ; Fri, 10 May 2024 01:25:47 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715297147; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=s1R65nGtSgmuE5nvKmTVqvdc6tiZ0ipNxWeqkHTzBHQ=; b=JyoudUUwI5zjPnHXlZP5b03nrJn+yXe648ZQvicSYHbIgQ+g8jgMw5CP6V7+Rphs6sCgcd P5xkE4OXqxGuwHgtkSsZrdTKcmdaOq3f9eGt50zqULZy47VCQKtg4cX4lo0frYo9nvLqG/ F4oHVs99raoZNfqXPO3OvLt3L0tKWMo0ZT51FCdT1JjqfR8bVewJlPgsXZS0XB7d+QSOyx H+7zGVb0cozyKKWmdVAt3Gvl3g+fSj44/p4WYYw1263Oo3NT0Rqnca59DZqfe+Sz5JKPs5 ied3U52YTUFnVrwMOBIaazc7Gsvw4u2F/1nYiQKOehTyPBuc5kBSd/kkPZWmmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715297147; a=rsa-sha256; cv=none; b=UX2zI2vd2N3LHRB+7noFuyYeWPKA/IzJo/Vdoq3JPjBr1fL3m/OM8ppKGKVX2KJCAH3Vrh 83CCMqMIkAVd2osGuZ/USMva152hM9eF/HMPmDzQM8gfAXYg6qsRMoi5TMjwYNPmG+yHra G1At62lOZKO98iSQVvxt7XQX9gwRxMtZD+usa4MPCfzOL0GCUYKXu1g/CX74EZcgtR0D5L hhsOXHGHtgun3zEc65FlfenZIBzR4K2sDrDuOrAcvcA+rYNtwHbUbd0t8P11wEaSVSXTVM 56f+wpkeUaJhtPsQesdyvjRY6+njbNE7Os4AzLjfnHvK44TVecu/s2nylHSHgQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8FD0A72A26 for ; Fri, 10 May 2024 01:25:47 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5Chm-00067L-GF; Thu, 09 May 2024 18:57:38 -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 1s5ChW-0005z6-4e for guix-patches@gnu.org; Thu, 09 May 2024 18:57:23 -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 1s5ChT-0006UV-0e for guix-patches@gnu.org; Thu, 09 May 2024 18:57:20 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5ChR-0002iM-As for guix-patches@gnu.org; Thu, 09 May 2024 18:57:17 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70855] [PATCH 33/92] gnu: python-pytest-runner: Improve package style. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 May 2024 22:57:17 +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.171529542910270 (code B ref 70855); Thu, 09 May 2024 22:57:17 +0000 Received: (at 70855) by debbugs.gnu.org; 9 May 2024 22:57:09 +0000 Received: from localhost ([127.0.0.1]:41145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5ChI-0002fN-Fd for submit@debbugs.gnu.org; Thu, 09 May 2024 18:57:08 -0400 Received: from 12.mo581.mail-out.ovh.net ([178.33.107.167]:50819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5Ch8-0002cL-5Z for 70855@debbugs.gnu.org; Thu, 09 May 2024 18:56:59 -0400 Received: from director3.ghost.mail-out.ovh.net (unknown [10.109.176.103]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4Vb6pL4kJ3z1FS2 for <70855@debbugs.gnu.org>; Thu, 9 May 2024 22:56:58 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-zvffc (unknown [10.111.182.153]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 529231FE05; Thu, 9 May 2024 22:56:58 +0000 (UTC) Received: from ngraves.fr ([37.59.142.109]) by ghost-submission-6684bf9d7b-zvffc with ESMTPSA id 69izCrpUPWasrAsArqBaEA (envelope-from ); Thu, 09 May 2024 22:56:58 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Fri, 10 May 2024 00:53:28 +0200 Message-ID: <20240509225530.24649-33-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 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 6105192248312193762 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdeffedgudehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtleenucevlhhushhtvghrufhiiigvpeegnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjedtkeehheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht 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 From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -6.39 X-Migadu-Queue-Id: 8FD0A72A26 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.39 X-TUID: hRhJ/k3cgUiG * gnu/packages/check.scm (python-pytest-runner): [build-system]: Move to pyproject-build-system. [arguments]<#:phases>: Remove check phase replacement. Update <#:tests?> refusal comment. [native-inputs]: Add python-pip, python-pypa-build, python-setuptools and python-wheel. Change-Id: Id36e7ed4a3cec6098f0877f48f3fbcbd8007f3c3 --- gnu/packages/check.scm | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 15d2910603b..5708fa91acd 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1640,10 +1640,10 @@ (define-public python-pytest-runner (sha256 (base32 "11dnhxnjmh4nf1j8rnvx944ha3wg8ggrgrwdcx4c7d19xmi57n5l")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list - ;; FIXME: The test suite requires 'python-flake8' and 'python-black', + ;; FIXME: The test suite requires 'python-pytest-virtualenv', ;; but that introduces a circular dependency. #:tests? #f #:phases @@ -1657,14 +1657,10 @@ (define-public python-pytest-runner (lambda _ (let ((whl (car (find-files "dist" "\\.whl$")))) (invoke "pip" "--no-cache-dir" "--no-input" - "install" "--no-deps" "--prefix" #$output whl)))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (if tests? - (invoke "pytest" "-vv") - (format #t "test suite not run~%"))))))) + "install" "--no-deps" "--prefix" #$output whl))))))) (native-inputs - (list python-pypa-build python-setuptools-scm python-wheel)) + (list python-pip python-pypa-build python-pytest + python-setuptools python-setuptools-scm python-wheel)) (home-page "https://github.com/pytest-dev/pytest-runner") (synopsis "Invoke py.test as a distutils command") (description -- 2.41.0