From patchwork Sun Apr 6 12:37:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41348 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 C721727BBE9; Sun, 6 Apr 2025 13:38:55 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 0E29A27BBE2 for ; Sun, 6 Apr 2025 13:38:55 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u1PGL-0005bH-LS; Sun, 06 Apr 2025 08:38:09 -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 1u1PGG-0005aI-Ck for guix-patches@gnu.org; Sun, 06 Apr 2025 08:38:04 -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 1u1PGG-00054c-3a for guix-patches@gnu.org; Sun, 06 Apr 2025 08:38:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=TPntg7bpPk8sfAjQdhHbUFww0mB8faJBaWbq/WCx7eM=; b=Pcp0BgJRo/n/+mV1DWmZ9x/rgFVt79QTJoMS5p9tVrGlA6oVa8fz57CZgddBKVk2gThmvysSZ1tOnmKYh/22ecLIK4NlEXgRnnOI2qacI2TLMWLPQx/Ac0HCQhkSKcoKf2t7L+GOe7h+mmVa4vhFnx1Rop5zETFQi97i6Osw6zpt69X0f5q7lJkGvvzNqYnsIEHXI72Bi8vSgnslS92PAc/cAeEmYH7pjcbyidQyb5vYfucH4cEhe6Y6nTb7JMHPy/d5Ichqa+tOl7lLic5muPgmVfXO8Ry9E056ZBYA7wval/D3m78XbeczndgJFrY2jf2xN2+SoOoucjQkxlcDRA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u1PGF-0001Tg-MO; Sun, 06 Apr 2025 08:38:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77575] [PATCH 04/21] gnu: python-lazr-config: Update to 3.1. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, guix-patches@gnu.org Resent-Date: Sun, 06 Apr 2025 12:38:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77575 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77575@debbugs.gnu.org Cc: Nicolas Graves , lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org X-Debbugs-Original-Xcc: lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org Received: via spool by 77575-submit@debbugs.gnu.org id=B77575.17439430715486 (code B ref 77575); Sun, 06 Apr 2025 12:38:03 +0000 Received: (at 77575) by debbugs.gnu.org; 6 Apr 2025 12:37:51 +0000 Received: from localhost ([127.0.0.1]:46346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u1PG2-0001Q8-CS for submit@debbugs.gnu.org; Sun, 06 Apr 2025 08:37:51 -0400 Received: from 8.mo563.mail-out.ovh.net ([46.105.60.197]:43637) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u1PFw-0001Os-UT for 77575@debbugs.gnu.org; Sun, 06 Apr 2025 08:37:47 -0400 Received: from director1.derp.mail-out.ovh.net (director1.derp.mail-out.ovh.net [51.68.80.175]) by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4ZVsLb3sf8z1dFV; Sun, 6 Apr 2025 12:37:43 +0000 (UTC) Received: from director1.derp.mail-out.ovh.net (director1.derp.mail-out.ovh.net. [127.0.0.1]) by director1.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77575@debbugs.gnu.org>; Sun, 6 Apr 2025 12:37:43 +0000 (UTC) Received: from mta10.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.101.222]) by director1.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZVsLb2BC0zHZcS; Sun, 6 Apr 2025 12:37:43 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.3]) by mta10.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id CA2AEDA397D; Sun, 6 Apr 2025 12:37:42 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-108S002ccdd64e9-045e-4791-aad0-530f88f2c4fa, C919729AFBE9AB1136EE71DE75FB1B1DBE8A85BF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Sun, 6 Apr 2025 14:37:06 +0200 Message-ID: <20250406123732.31301-4-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250406123732.31301-1-ngraves@ngraves.fr> References: <20250406123732.31301-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 8473241224695046882 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduleejvdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepgedvieefffelvefgfeeihedvueelhfegieeitddvvdettdeivdfgffeijeffgedvnecuffhomhgrihhnpehlrghunhgthhhprggurdhnvghtnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejjeehjeehseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehieefmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=TPntg7bpPk8sfAjQdhHbUFww0mB8faJBaWbq/WCx7eM=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1743943063; v=1; b=MW2mu+DiHHRevDE7FROa0MAeOadqBJwoo6ACQAJio7AGSf5O2aX1Q+4rdGE3QIBM3JY0otuP K9kxuAPab59Q+NELffQJ14qf5mIGbCCIQowqlA9vhNtsa2ca1WcV3w4G5fR+AJVfyogVdbX8H/I aQtpP7HWH8zFNpemCf4JB526mA3oCPSBQ82NWvVic7hhVy2RWs59b2x36JROqF8ZNDpx8BhNUNK hI3Uy8HrxWvwXR+R5Br4oZXOq2vfCp3nTm/e9+V17u5LTQt9FB563CHH/G5hn22u9QQ52ymBdHB E8H2EblmaLkBEb56qe9KtVerSN8kAh2OdLg344+RwqGAw== 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-xyz.scm (python-lazr-config): Update to 3.1. [build-system]: Switch to pyproject. [arguments]{test-flags}: Run tests in output. {phases}: Add a 'check-cleanup phase to remove tests from output. [native-inputs]: Remove python-nose. Add python-pytest, python-setuptools, python-wheel. --- gnu/packages/python-xyz.scm | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0cc189ce15..168ee456f0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -34656,23 +34656,31 @@ (define-public python-lazr-delegates (define-public python-lazr-config (package (name "python-lazr-config") - (version "2.2.3") + (version "3.1") (source (origin (method url-fetch) - (uri (pypi-uri "lazr.config" version)) + (uri (pypi-uri "lazr_config" version)) (sha256 - (base32 - "1qdbrzl61q7cjhbnxvw9y3frcr935y7diwy15xrwcv9ynvw76jmp")))) - (build-system python-build-system) + (base32 "02xb4fs9rm6bf3f00qkq8pihgqvrvn2wfnvydn2vg9p73ddhcmvw")))) + (build-system pyproject-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "python" "-s" "-m" "nose" "-P" "lazr")))))) + (list + #:test-flags #~(list "-v" #$output) + #:phases + #~(modify-phases %standard-phases + (add-after 'check 'check-cleanup + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (for-each + delete-file-recursively + (find-files #$output + (lambda (file stat) + (or (member (basename file) + '("tests" ".pytest_cache")))) + #:directories? #t)))))))) (native-inputs - (list python-nose)) + (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-lazr-delegates python-zope-interface)) (home-page "https://launchpad.net/lazr.config")