From patchwork Tue Apr 22 14:00:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41930 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 68A1227BC4B; Tue, 22 Apr 2025 15:02:53 +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 E35A327BC49 for ; Tue, 22 Apr 2025 15:02:52 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u7ECU-00081H-2K; Tue, 22 Apr 2025 10:02:14 -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 1u7ECI-0007tU-Vg for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:03 -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 1u7ECI-0006gn-LX for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:02 -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:Date:From:To:In-Reply-To:References:Subject; bh=oomAr9rZGP1XL5qQS9Za8aJhprV2cvztFVD6eI7l07E=; b=aEfVEylJ5LDE246Aokqy4AOyl0I+zpQOBttO9SHrYE4F4CktUrP1tE8dqT6Kz+5z9y2jlW2s79DVt5umRFGvCxvugakiTHRt43NeVa/iOC6qeqGjSIH9b8nInfQWVqjC6ZqK06uH02SjgTjSy2IuOEOalK4AmzKZCGcSj+yJXSfy97R4pCsKqUfSPSzW4/8xEobH2yDSfZwd4JSYkkiD10xHefQzGspKL3R9uNy3PATYUx0jwz3bI2edEsugscA/Uk0KMDYuTpFNOFHWK2dqnpBr9z0AlGsOj9RUkYNG0W+7iVqmZxWtrn9Csuj4egqV8RjpQv50NthxZMUC1zONMg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u7ECI-0005Ez-Ed for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77895] [PATCH v2 01/10] gnu: Add python-lark. References: <20250418095337.339-1-ngraves@ngraves.fr> In-Reply-To: <20250418095337.339-1-ngraves@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Apr 2025 14:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77895 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77895@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77895-submit@debbugs.gnu.org id=B77895.174533047219995 (code B ref 77895); Tue, 22 Apr 2025 14:02:02 +0000 Received: (at 77895) by debbugs.gnu.org; 22 Apr 2025 14:01:12 +0000 Received: from localhost ([127.0.0.1]:49092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7EBT-0005CR-KM for submit@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:11 -0400 Received: from 9.mo562.mail-out.ovh.net ([46.105.72.114]:55009) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7EBI-0005Ar-HM for 77895@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:05 -0400 Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net [152.228.215.222]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRG1GN5z1YWW; Tue, 22 Apr 2025 14:00:57 +0000 (UTC) Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net. [127.0.0.1]) by director3.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77895@debbugs.gnu.org>; Tue, 22 Apr 2025 14:00:57 +0000 (UTC) Received: from mta3.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.108.9.134]) by director3.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRF612nz86KG; Tue, 22 Apr 2025 14:00:57 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.2]) by mta3.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 647133A3F75; Tue, 22 Apr 2025 14:00:57 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-109S0031680d871-b364-41aa-a50c-63c4aadab326, 0A1BC1951B487096A19EF2AF6351B65704E5605C) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Tue, 22 Apr 2025 16:00:28 +0200 Message-ID: <20250422140051.2273-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-Ovh-Tracer-Id: 11608309515943273186 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeefleduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepteeffefhfffhjeevleeuvdehgffgveekheeuhfekhfehuefgheffhedugfegleeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejkeelheesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeivdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=oomAr9rZGP1XL5qQS9Za8aJhprV2cvztFVD6eI7l07E=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1745330458; v=1; b=ZSLWu7T6W5xEAJrXhdTYCuy+EiRuPsca6A/7T482TMlPkQu0z/UJpxUofL4zv0lW+yqMZ7sZ Q3b0VE3EJv3e54ng7hv53hGH7WVa5s+EqlvFMUiRm57O7i9Y8gTxkpB/ajUvK2kj2hxsW+brqUz zYv4KkFh3FQ/rvWOZ5FwAs7VVcI0Zip1+u6oojsV73eUGJLs6V8Eop9RyD6PAhLunpkggMjduMs FLQo8GcFHyIU7arTevvlYD5uUIolnUUUtJB+1TpkCHw4cr37+eL4exOcond49xzXa+X4DlkqBJQ 5VeGU/qSE8dYSq24jgglLchbC5k6A7G1bbcK590Zu3XNQ== 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-lark): New variable. (python-lark-parser): Inherit from python-lark and update to 0.12.0. --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7f539634d1..53647516e3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23652,17 +23652,18 @@ (define-public python-pyproject-hooks write tooling that generates distribution files from Python projects.") (license license:expat))) -(define-public python-lark-parser +(define-public python-lark (package - (name "python-lark-parser") - (version "0.9.0") - (source (origin - (method url-fetch) - (uri (pypi-uri "lark-parser" version)) - (sha256 - (base32 - "1kd61asrb3h9spgsj4bslfbgp8q4271sw3hblk6f2vbbblv8jxcy")))) - (build-system python-build-system) + (name "python-lark") + (version "1.2.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "lark" version)) + (sha256 + (base32 "107d1w24b3ln4zwsw4yvkfhff6bk5n3cpvlgbbqww5ndc80pv06a")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/lark-parser/lark") (synopsis "Multi-language parser for Python") (description @@ -23672,6 +23673,18 @@ (define-public python-lark-parser some degree most natural languages too.") (license license:expat))) +;; XXX: lark was renamed from lark_parser with major release 1 +(define-public python-lark-parser + (package/inherit python-lark + (name "python-lark-parser") + (version "0.12.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "lark-parser" version)) + (sha256 + (base32 + "0f51jr7dvnd3rm7j5nkkgm2vxfa7a1s804avlvf16h11y6qpv5hm")))))) + (define-public python-find-libpython (package (name "python-find-libpython") From patchwork Tue Apr 22 14:00:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41931 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 1B67527BC4A; Tue, 22 Apr 2025 15:02:59 +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=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 322A527BC49 for ; Tue, 22 Apr 2025 15:02:58 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u7ECY-0008Fn-Sd; Tue, 22 Apr 2025 10:02:18 -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 1u7ECI-0007tT-L9 for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02: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 1u7ECI-0006ge-B7 for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:02 -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=gt/4PiLbdwuQAR0cuOrxnVd1lD3yw6R44l0aJ42i7UU=; b=QgvGTkcvK2OlwQO2TFwmp/EnKZhqcaOm75jBa7nU4Mxe8R82myy0RDIE6a6ARhJp/lGIPhgaBkl563hbfe8UOF6eF4O2jkcvmuWz5xc+X3biFUAnKi3OIKJqI/iNGpu6xYWLjSw+/mJq6z1R9N5MGLsjketMrLhKxJUG5aeBJKdGaKAa9D381BBWsBH/asWEZWUrH4IShnELcCE37NTVSp6DNPn3BWXEeAN9DgqNCj58rpCbBwMwFkr8/xDWp2UYi+hYsaUoZA56I8YbyqgrCu+F201U66N2U0p+uj/zuhXFJQ0J5uXOfZDbhJBZxZkZLv8xVlBBatf+4TyjTExMmA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u7ECH-0005Es-Ta for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77895] [PATCH v2 02/10] gnu: python-suds: Fix dist-info. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Apr 2025 14:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77895 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77895@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77895-submit@debbugs.gnu.org id=B77895.174533046719966 (code B ref 77895); Tue, 22 Apr 2025 14:02:01 +0000 Received: (at 77895) by debbugs.gnu.org; 22 Apr 2025 14:01:07 +0000 Received: from localhost ([127.0.0.1]:49084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7EBO-0005Bp-RU for submit@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:07 -0400 Received: from 7.mo563.mail-out.ovh.net ([46.105.59.58]:56943) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7EBK-0005Au-0x for 77895@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:05 -0400 Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net [152.228.215.222]) by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRH6f3Fz1YFh; Tue, 22 Apr 2025 14:00:59 +0000 (UTC) Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net. [127.0.0.1]) by director3.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77895@debbugs.gnu.org>; Tue, 22 Apr 2025 14:00:59 +0000 (UTC) Received: from mta2.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.118.246]) by director3.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRH5BCJz86KR; Tue, 22 Apr 2025 14:00:59 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.3]) by mta2.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 3E464BA3F5E; Tue, 22 Apr 2025 14:00:59 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-110S0042d1bfff3-d441-4f22-949f-b46512c13ad7, 0A1BC1951B487096A19EF2AF6351B65704E5605C) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Tue, 22 Apr 2025 16:00:29 +0200 Message-ID: <20250422140051.2273-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250422140051.2273-1-ngraves@ngraves.fr> References: <20250422140051.2273-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 11608872468562240226 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeefledvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejjeekleehseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehieefmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=gt/4PiLbdwuQAR0cuOrxnVd1lD3yw6R44l0aJ42i7UU=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1745330460; v=1; b=y90Ak0Zpvc1PNb8rRs/6lAgos4xelL3OWHKF1slZ2CG3rGKm1EbHJleZ3aZ6mDDKQuQiug/r u2iy6QPU1albUfLsxK9dz7gu8bq/0qmiluEsXZ+4Qc507facD6vtOXwYl5iQIyclcLhc9R3Zszj brkT++ZXnoTYZ6TC05QT5mPS1akqcAXnnhHbIe12hrxvfol/kOPJ/kYiz8vUA5Hu6ijpN2ty+Na qLX4lsrfg7+WCzDjo+g6xpDBUiCse2gGoizcAHKFrttFJ9itiWGTTN0CJk+y+JtyPtYvK3b67xK wclqxmiyoiEFrJ5i4DkQNq9AWEKAJ+/dSsssY4lEp2qBA== 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-suds) [arguments]{phases}: Add phase 'add-custom-dist-info. --- gnu/packages/python-web.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 8fe9f58978..d86567fd2e 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -10605,6 +10605,22 @@ (define-public python-suds (sha256 (base32 "1byyg7b2ixpr8hc849a6dd0qn5daxqawz6lb3php8lrmsb1n5cc3")))) (build-system pyproject-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + ;; XXX: chirp expects suds instead of suds_community + (add-after 'install 'add-custom-dist-info + (lambda _ + (for-each + (lambda (dir) + (with-directory-excursion (dirname dir) + (symlink + (basename dir) + (string-append "suds-" #$version ".dist-info")))) + (find-files #$output + (lambda (file stat) + (string-suffix? ".dist-info" file)) + #:directories? #t))))))) (native-inputs (list python-pytest python-setuptools From patchwork Tue Apr 22 14:00:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41932 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 DE15E27BC49; Tue, 22 Apr 2025 15:03:01 +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=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 89EF827BC4A for ; Tue, 22 Apr 2025 15:03:00 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u7ECU-000850-VG; Tue, 22 Apr 2025 10:02: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 1u7ECJ-0007uO-SB for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:05 -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 1u7ECJ-0006gs-98 for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:03 -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=KuuNIeOLzBd5/ILZolhn0rYCn+78VsoM1KqXYPTt+5Q=; b=n7Y8H13Xq+vTo3s6O3DZBqk3etjIv02crBmo58ikRkGW4NPTHLT2X1u1VoiiuTBmLjSzsix/6nXqkuiCosZJWKlBYxMAcaGKsfJweQMMVWfjQwoB4THuCe43k1gcqAaShJHpT88AOrt9cl6IpX6SQRZ1sd8HL+hPOesMPN8w2wp1Geo0JplEy7g6xSxeO0nIBomHZKPpfi1/KjZklKCdFqQdcoYXlGbb4KmHU1Ya2Y6PxVupjJopkMQZ3RzGQVlP9gtE4FnR0aimND8MXZXkGtTE8xRxyW3RLVeDPg7zZXLry0sqlrIq+h8XTdDobadQcAnVJ6gTcw2QzRC05gYGwg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u7ECJ-0005F7-0I for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77895] [PATCH v2 03/10] gnu: chirp: Update to 0.4.0-4.bc27f66. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Apr 2025 14:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77895 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77895@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77895-submit@debbugs.gnu.org id=B77895.174533047420020 (code B ref 77895); Tue, 22 Apr 2025 14:02:02 +0000 Received: (at 77895) by debbugs.gnu.org; 22 Apr 2025 14:01:14 +0000 Received: from localhost ([127.0.0.1]:49098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7EBW-0005Cl-4M for submit@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:14 -0400 Received: from 10.mo562.mail-out.ovh.net ([46.105.72.220]:53345) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7EBL-0005BK-6S for 77895@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:06 -0400 Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net [152.228.215.222]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRK4mJNz1Ylj; Tue, 22 Apr 2025 14:01:01 +0000 (UTC) Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net. [127.0.0.1]) by director3.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77895@debbugs.gnu.org>; Tue, 22 Apr 2025 14:01:01 +0000 (UTC) Received: from mta2.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.168.184]) by director3.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRK3VSVz86KW; Tue, 22 Apr 2025 14:01:01 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.4]) by mta2.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 0F685BA3F5B; Tue, 22 Apr 2025 14:01:01 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-99G003fa029acf-1f08-444f-ac98-1a53ab3090e8, 0A1BC1951B487096A19EF2AF6351B65704E5605C) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Tue, 22 Apr 2025 16:00:30 +0200 Message-ID: <20250422140051.2273-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250422140051.2273-1-ngraves@ngraves.fr> References: <20250422140051.2273-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 11609435418614555362 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeefleduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejjeekleehseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehiedvmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=KuuNIeOLzBd5/ILZolhn0rYCn+78VsoM1KqXYPTt+5Q=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1745330461; v=1; b=sZnpP5ubMFaay6CXUX6cb8nu/iSlw02gfbnM269Nl/zPpZJlDgLlhbIfJJYbllWyrdxDejz/ MjhSmRBZWRm03A0hlt7iaR/A0ZOzhZCdIfaBxO8fHYoYxSl7o/JT5wlx7VlL6P6PINFBntJIxew gbaf+h/ciXxsHxp3jQ8VgmDZqNwAVg+D9SqONZAimMGiTEeysqssk7OhW4lpTDfozGrO5c77Sfk aNaDZp+ps+DowS0dTJFBFqEzy1jv2pJ2L5fIEaPYXjjncrb6ba692a/YjZZgnwFI8tRwSVWEyFB DqVWuWGWE9Ij8BWqZPiAHEqb82Jf5N8kCNy7bucEWxCTA== 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/radio.scm (chirp): Update to 0.4.0-4.bc27f66. [build-system]: Switch to pyproject. [native-inputs]: Remove python-mox3, python-tox. Add python-setuptools, python-wheel. [inputs]: Replace python-lark-parser by python-lark. Remove python-six. [arguments]{test-flags}: Ignore failing tests. --- gnu/packages/radio.scm | 44 ++++++++++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 2752380a3a..6d7274ef0a 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -3254,8 +3254,8 @@ (define-public satdump (license license:gpl3))) (define-public chirp - (let ((commit "1219bee0d39ca3778acdf5d7f0a92c1e8208bae9") - (revision "3")) + (let ((commit "bc27f6653aa804a5c55a3a1b2244ee43a174854b") + (revision "4")) (package (name "chirp") (version (git-version "0.4.0" revision commit)) @@ -3267,35 +3267,45 @@ (define-public chirp (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "19z3f05zppg8w4z4sdich8d173sd87501l0p8l1vn1awgky2q0r8")))) - (build-system python-build-system) + (base32 "15nly5j0f3h67pv6li6vrd56wmdnplanls867kf60r9vz0k4k0yd")))) + (build-system pyproject-build-system) (native-inputs (list python-mock - python-mox3 python-pytest python-pytest-mock python-pyyaml - python-tox)) + python-setuptools + python-wheel)) (inputs (list python-future python-importlib-resources - python-lark-parser + python-lark python-pyserial python-requests - python-six python-suds python-wxpython python-yattag)) (arguments - (list ;; FIXME: How to run the tests? The default way crashes. - #:tests? #f - #:phases - #~(modify-phases %standard-phases - ;; FIXME: Why does sanity-check phase fail to find lark? - (delete 'sanity-check) - (add-after 'build 'set-home-for-tests - (lambda _ - (setenv "HOME" "/tmp")))))) + (list + #:test-flags + #~(list ;; FIXME: These files error during collection. + "--ignore=tests/unit/test_csv.py" + "--ignore=tests/unit/test_wxui_radiothread.py" + ;; These tests are long and expensive. + "--ignore=tests/test_drivers.py" + ;; Ignore tests requiring network. + "-m" "not network" + "-k" (string-append + ;; XXX: Tests likewise prefixed all have a RADIO_CLASS=None + "not TestCase" + " and not test_bitwise_errors" + ;; XXX: Requires settings TLS certificates. + " and not test_marc_works")) + #:phases + #~(modify-phases %standard-phases + (add-after 'build 'set-home-for-tests + (lambda _ + (setenv "HOME" "/tmp")))))) (synopsis "Cross-radio programming tool") (description "Chirp is a cross-radio programming tool. It supports a growing list of radios across several manufacturers and allows transferring of From patchwork Tue Apr 22 14:00:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41933 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 39B0C27BC4B; Tue, 22 Apr 2025 15:03:12 +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 9E0F227BC49 for ; Tue, 22 Apr 2025 15:03:11 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u7ECU-00081O-2J; Tue, 22 Apr 2025 10:02:14 -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 1u7ECL-0007ua-4F for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:05 -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 1u7ECK-0006h6-9d for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02: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=RSxJW3ITmoFvccy/rMrtTawzQyf6xxzl1iGP7VU3otU=; b=Z0mb2lZJvuvV+HwIql9EYNmHJVuK7cUiTZD44tykQLGKBqq0hCBSq+Uqyodpf5ziVUtjxgd9qGj4/pujJUwyPuEs8bXzbubccfH/hphY7VWcnjuAnHo+MLDjsYLCF9sJdFNaNKYX2nh3i3GMivIeor77P2WPkgVfpP6fQARWBVcB+Ji4N6XuA6zlJ6bTVEc1CY6hH3ofbKjqA0NDKRTTaeGzER+JJ8f0h+Qv+aXiKGCRiokqV/oqd0tPks2ycJbwEGw22Xb452AK2UKaamwU4lg44Ipmtt+mR5wPdNVdPZOk8m1XEDGCUDCXk5kUrBwXl7mEUrXMjmU//1WQHXLf6Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u7ECK-0005FM-0M for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77895] [PATCH v2 04/10] gnu: python-bed-reader: Improve phases' style. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Apr 2025 14:02:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77895 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77895@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77895-submit@debbugs.gnu.org id=B77895.174533048020040 (code B ref 77895); Tue, 22 Apr 2025 14:02:03 +0000 Received: (at 77895) by debbugs.gnu.org; 22 Apr 2025 14:01:20 +0000 Received: from localhost ([127.0.0.1]:49102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7EBb-0005DA-Cy for submit@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:19 -0400 Received: from 1.mo562.mail-out.ovh.net ([178.33.109.175]:51123) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7EBO-0005BQ-H0 for 77895@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:07 -0400 Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net [152.228.215.222]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRM1FHrz1Ywt; Tue, 22 Apr 2025 14:01:03 +0000 (UTC) Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net. [127.0.0.1]) by director3.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77895@debbugs.gnu.org>; Tue, 22 Apr 2025 14:01:03 +0000 (UTC) Received: from mta11.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.108.17.119]) by director3.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRM00Jmz86KW; Tue, 22 Apr 2025 14:01:02 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.5]) by mta11.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 94F5A263A0B; Tue, 22 Apr 2025 14:01:02 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-102R00449fe2d2b-5dd6-41e5-b315-bb9128b11539, 0A1BC1951B487096A19EF2AF6351B65704E5605C) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Tue, 22 Apr 2025 16:00:31 +0200 Message-ID: <20250422140051.2273-4-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250422140051.2273-1-ngraves@ngraves.fr> References: <20250422140051.2273-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 11609998368165651170 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeefleduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejjeekleehseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehiedvmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=RSxJW3ITmoFvccy/rMrtTawzQyf6xxzl1iGP7VU3otU=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1745330463; v=1; b=y8yTm+ys7PEyZb+n/aSc5+0PK/Rn8RmjuQTRRfoVPDS5MmYQ9ipjMhCPfE/V2XabCiyqr2xV eh6VDrCsKFFd+TGv2YbTBwK/kam50U01CCan/C26YLJxQiHU/jovATSM5vg3yOWjHcJcPURMANI GXrHiGofPQgs/qV3W1tJgZ77TLKwV5DUXJjJk6IMMEgvX+UuM44usgSh2/eQ6pDkHzS/IHDb4Mj A7GEFEbVMFmu9JD5t7Z6EVzTApqWqNmCHzzvIHpZ/hVL2TSfSzg/QxlbFtJXtx0fem7PCsv+1S6 r9jZrlCewqAit94Z+pNDjU4vk2hWTgH7cDJJj+YJJFJsg== 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/bioinformatics.scm (python-bed-reader) [arguments]{phases}: Improve phases 'install-python-library and 'check-python with site-packages procedure. --- gnu/packages/bioinformatics.scm | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index e1cac1f149..d4fa482851 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2333,26 +2333,20 @@ (define-public python-bed-reader (add-after 'build-python-module 'install-python-module (assoc-ref py:%standard-phases 'install)) (add-after 'install-python-module 'install-python-library - (lambda _ - (let ((site (string-append #$output "/lib/python" - #$(version-major+minor - (package-version python)) - "/site-packages/"))) - (mkdir-p (string-append site "bed_reader")) + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((site (py:site-packages inputs outputs))) + (mkdir-p (string-append site "/bed_reader")) (copy-file "target/release/libbed_reader.so" - (string-append site "bed_reader/bed_reader.so"))))) + (string-append site "/bed_reader/bed_reader.so"))))) (add-after 'install-python-library 'add-install-to-pythonpath (assoc-ref py:%standard-phases 'add-install-to-pythonpath)) (add-after 'add-install-to-pythonpath 'check-python - (lambda* (#:key tests? #:allow-other-keys) + (lambda* (#:key inputs outputs tests? #:allow-other-keys) (when tests? - (let ((site (string-append #$output "/lib/python" - #$(version-major+minor - (package-version python)) - "/site-packages/")) + (let ((site (py:site-packages inputs outputs)) (data-dir "bed_reader/tests/data")) (symlink (canonicalize-path data-dir) - (string-append site data-dir)) + (string-append site "/" data-dir)) (invoke "pytest" "-v" #$output ;; These test require a 84 GB file. "-k" (string-join @@ -2363,7 +2357,7 @@ (define-public python-bed-reader "test_optional_dependencies") " and not ")) (delete-file-recursively - (string-append site "bed_reader/tests")) + (string-append site "/bed_reader/tests")) (delete-file-recursively (string-append #$output "/.pytest_cache"))))))))) (native-inputs (list python-pytest From patchwork Tue Apr 22 14:00:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41937 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 909FE27BC4B; Tue, 22 Apr 2025 15:03:47 +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 CFF7827BC49 for ; Tue, 22 Apr 2025 15:03:46 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u7ECV-00086R-Ge; Tue, 22 Apr 2025 10:02: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 1u7ECK-0007uQ-5c for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:05 -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 1u7ECJ-0006gt-SI for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:03 -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=u2Bv2lqDjZcdv655wFAteF4ItiF8wJCGvx1rNMwVTSs=; b=Fb735ae5JdueJVCVMcTUhBRO3OM7cDjH2jiwFvIM5eRA4jxWyNw/0a6daFLsuprh6IotDC+wuTFCysPhSW2XJdYzJDKkUt5UWwwYfqO7HCirBysAzlHY3exlEpBYza9RH2pgv0lUlgXuTevddaxdSRp2cGJ9rYqOmhoA+r+9+bxJqLzSdsTNqQE/MEQR9Y0g5LrNbRTMKyNRDqVtx/53cPV1+jqRB2HuSjzzY4KdVoNEQL0JI1XzuFplzIbd5liBdi6+5bertRt7USmNUTCz942aT98JRZo70PLiL2Nquq0VBk5Y+FH/PQcpZfWaMSoQl5eXXNUBoGl7jgUukNOelg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u7ECJ-0005FE-F4 for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77895] [PATCH v2 05/10] gnu: gitless: Fix build and disable failing tests. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Apr 2025 14:02:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77895 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77895@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77895-submit@debbugs.gnu.org id=B77895.174533047820032 (code B ref 77895); Tue, 22 Apr 2025 14:02:03 +0000 Received: (at 77895) by debbugs.gnu.org; 22 Apr 2025 14:01:18 +0000 Received: from localhost ([127.0.0.1]:49100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7EBZ-0005D1-S4 for submit@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:18 -0400 Received: from 4.mo563.mail-out.ovh.net ([46.105.53.192]:33997) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7EBO-0005BW-9Z for 77895@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:07 -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 4ZhkRN54D8z1bXy; Tue, 22 Apr 2025 14:01:04 +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 <77895@debbugs.gnu.org>; Tue, 22 Apr 2025 14:01:04 +0000 (UTC) Received: from mta11.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.108.25.96]) by director1.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRN3PmYzHqbf; Tue, 22 Apr 2025 14:01:04 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.2]) by mta11.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id F3B50263A0B; Tue, 22 Apr 2025 14:01:03 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-101G004bcfcce75-e466-43ee-a1f4-f425f10ccd8b, 0A1BC1951B487096A19EF2AF6351B65704E5605C) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Tue, 22 Apr 2025 16:00:32 +0200 Message-ID: <20250422140051.2273-5-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250422140051.2273-1-ngraves@ngraves.fr> References: <20250422140051.2273-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 11610279840077767394 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeefledvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejjeekleehseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehieefmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=u2Bv2lqDjZcdv655wFAteF4ItiF8wJCGvx1rNMwVTSs=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1745330464; v=1; b=xwf2hnHxBZJYLWLUwKmnMorlqmCN5+AzD3qaWNUMRPSlKyWyp3DK1W60/EFIRpIKtOaDofnu I5cCndIo2QHG7RfWp5VjspLLl8VTvPPmH2eqyUe8n6uT+X+NGvLgzhPmUn5TowliBrNS3N+LDE4 23aiv/xAM8fVskPM76q97n06Y3ENPZJMyzc8VY2C/QhCqmD2daT/zkcgbRx7BOKJT2gXNMRE/KN YivSgAJcsj5++TZYQ4+7Nv97hktNuW6EEwMQswXFFlPbGHn6EOJ1D65HIFxoRQrEz6TrCBodm9h +eMt53Y5ccOLZaIG8JxFf2hIfrMHCuwLzn/MNcVDTvpZw== 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/version-control.scm (gitless) [build-system]: Switch to pyproject-build-system. [arguments]{test-flags}: Disable failing tests. {phases}: Improve git configuration in phase 'prepare-for-tests. Improve style of 'wrap phase. [native-inputs]: Add python-pytest, python-setuptools, python-wheel. --- gnu/packages/version-control.scm | 35 ++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 8d6709f7f6..d9e7dd249f 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -940,9 +940,21 @@ (define-public gitless (sha256 (base32 "048kl27zjr68hgs70g3l98ci9765wxva6azzrhcdys7nsdd493n6")) (file-name (git-file-name name version)))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list + ;; XXX: Unclear why these tests fail. + #:test-flags + #~(list "-k" + (string-append "not test_exclude_one" + " and not test_exclude_some" + " and not test_ip_commit" + " and not test_only_one" + " and not test_only_some" + " and not test_basic_functionality" + " and not test_conflicts" + " and not test_conflicts_switch" + " and not test_nothing_to_fuse")) #:phases #~(modify-phases %standard-phases (add-before 'build 'loosen-requirements @@ -959,20 +971,21 @@ (define-public gitless ;; The tests try to run git as if it were already set up. (setenv "HOME" (getcwd)) (invoke "git" "config" "--global" "user.email" "git@example.com") - (invoke "git" "config" "--global" "user.name" "Guix"))) + (invoke "git" "config" "--global" "user.name" "Guix") + (invoke "git" "config" "--global" "color.ui" "true"))) (replace 'wrap - (lambda* (#:key inputs #:allow-other-keys) - (let ((out #$output) - (git (search-input-file inputs "bin/git"))) - (wrap-program (string-append out "/bin/gl") + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((git (search-input-file inputs "bin/git"))) + (wrap-program (string-append #$output "/bin/gl") `("PATH" ":" prefix (,(dirname git))) `("GUIX_PYTHONPATH" ":" = - (,(string-append out "/lib/python" - #$(version-major+minor - (package-version python)) - "/site-packages:") + (,(string-append (site-packages inputs outputs) ":") ,(getenv "GUIX_PYTHONPATH")))))))))) - (native-inputs (list git-minimal)) + (native-inputs + (list git-minimal + python-pytest + python-setuptools + python-wheel)) (inputs (list bash-minimal git-minimal From patchwork Tue Apr 22 14:00:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41934 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 E26B427BC4B; Tue, 22 Apr 2025 15:03:13 +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 3FD3A27BC49 for ; Tue, 22 Apr 2025 15:03:13 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u7ECU-00083y-L1; Tue, 22 Apr 2025 10:02:14 -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 1u7ECN-0007x7-Hw for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02: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 1u7ECM-0006ha-G3 for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:07 -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=Po3rrOblfoRPBFcRuDlQyMPlHmgbRqlpGqEsahJXVq4=; b=NOiSn92SAXvRnvFCg7U4jT26seg4L6u2nucjqZpvvJIdL41SL0cMUwUw4DNPigIgY1xGsnUgvboQSCKHbAzgMs0Ih8xgbx+ZjufgaOvr4jJSsEx+T0pclHlS4gETRubQfHrIUJYEbBReN7ojrnKzvG4rlpiYpSghf8dQImQErkkhEy5pRmg8Grq/rOqawKxrmcKB3C8UN06VJFV0K5pgLXKcOuGNhPFgBcG7oiSyNfX1bxVAT5oG8Gq9NEKdgJVStRvtxm/aOIjboThR5qGIpbO5KzIbL/johOlz+IimJ7V9D475VDGbUfEdMOz9D+zGUurOzUoxwe+1AJrouXYenA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u7ECM-0005G4-9N for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77895] [PATCH v2 06/10] gnu: gnome-plots: Switch to python-lark. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Apr 2025 14:02:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77895 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77895@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77895-submit@debbugs.gnu.org id=B77895.174533048220072 (code B ref 77895); Tue, 22 Apr 2025 14:02:06 +0000 Received: (at 77895) by debbugs.gnu.org; 22 Apr 2025 14:01:22 +0000 Received: from localhost ([127.0.0.1]:49110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7EBd-0005De-SM for submit@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:22 -0400 Received: from 1.mo563.mail-out.ovh.net ([178.33.106.244]:42805) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7EBP-0005Bo-Sm for 77895@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:13 -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 4ZhkRQ18KDz1c6b; Tue, 22 Apr 2025 14:01:06 +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 <77895@debbugs.gnu.org>; Tue, 22 Apr 2025 14:01:05 +0000 (UTC) Received: from mta11.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.109.148.134]) by director1.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRP604WzHqCg; Tue, 22 Apr 2025 14:01:05 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.4]) by mta11.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 619EB263A2E; Tue, 22 Apr 2025 14:01:05 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-96R001cdce9fe2-6bfe-490a-9e3c-2f5be43fcd8b, 0A1BC1951B487096A19EF2AF6351B65704E5605C) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Tue, 22 Apr 2025 16:00:33 +0200 Message-ID: <20250422140051.2273-6-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250422140051.2273-1-ngraves@ngraves.fr> References: <20250422140051.2273-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 11610561318312993506 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeefledvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejjeekleehseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehieefmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=Po3rrOblfoRPBFcRuDlQyMPlHmgbRqlpGqEsahJXVq4=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1745330466; v=1; b=D7cLUSI5zYVTFJ4jLCmXGwlZCm+F5zTWMgBMDICJXg5uHTP7nU6lR3teIhYROZGIxLzikC2k 6ebtjBJIKYZraVg79p+5QUoBHGNUNFv4bMPefhiOs3kIMb40Yt5F0ib5OSHRqIfdviJJNiIGtSG eV47wKnR+uEMS03p8xYXSbYWU6xk35J8yJeW2KynKLwtqzThusydiiGxAqm7+rFjUXkjzM8Vh/Z kbB4RQLQ7sAxJuBlFIIi9EqhMTusAfaMVh8GJhw8hlNXT23HUGXaD71KQtcouJ0zz2Lc/in5GK+ 7IPjJTDw+Z63NASB06l1CCxpt0hO/NjckJ8gKaB2qxJyg== 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/gnome-xyz.scm (gnome-plots)[inputs]: Replace python-lark-parser by python-lark. [arguments]{phases}: Remove phase 'adjust-lark-requirement. --- gnu/packages/gnome-xyz.scm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index d2483468ab..d7d6610dd1 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -434,7 +434,7 @@ (define-public gnome-plots pango python-freetype-py python-jinja2 - python-lark-parser + python-lark python-numpy python-pycairo python-pyglm @@ -452,10 +452,6 @@ (define-public gnome-plots (ice-9 match)) #:phases #~(modify-phases %standard-phases - (add-before 'build 'adjust-lark-requirement - (lambda _ - (substitute* "setup.py" - (("lark") "lark-parser")))) (add-after 'install 'install-more (lambda _ (let* ((datadir (string-append #$output "/share")) From patchwork Tue Apr 22 14:00:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41929 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 5443627BC49; Tue, 22 Apr 2025 15:02:52 +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=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 CC10327BC4A for ; Tue, 22 Apr 2025 15:02:51 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u7ECY-0008FF-PF; Tue, 22 Apr 2025 10:02:18 -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 1u7ECL-0007uh-86 for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:07 -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 1u7ECK-0006hA-Sz for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02: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=yjY0rySe3qf+nJ8zT9e54IJaPJ8uXqUQRulKzRvEbpk=; b=pGxQxTmgSvXc6gBgB8zF+1y+DeYgnlEz9K2ysPp/YQS8Apnp3HIL3iZlIyPf3qTeM56h0Oyb77RzYqJ1aFxu3ZqpDezeNPrvtZ9SzQ1aHljV9d7iV9KPrT/+KDDiArFyFmvY3os4zo0DQT3xj4GQXShbptZYMffk6VwjtbBSfY7V0jInq30XUKUFx4yJygaiuM6sUfZOROQoblxa7kcA+H7RkRSpO51aBiF/0xHe2uWsmXw46D70/c9HUKGjRNTq9rJSCADTOYFr2bQ1ZV/Q0R6cfWB0kiyWJ9P+jqJYkB2x9UQpuZEL6Bhj6NwoO4w+layKNCxzR0rP9FiqPB2W/Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u7ECK-0005FU-K2 for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77895] [PATCH v2 07/10] gnu: python-transient: Update to 0.25. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Apr 2025 14:02:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77895 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77895@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77895-submit@debbugs.gnu.org id=B77895.174533048020048 (code B ref 77895); Tue, 22 Apr 2025 14:02:04 +0000 Received: (at 77895) by debbugs.gnu.org; 22 Apr 2025 14:01:20 +0000 Received: from localhost ([127.0.0.1]:49104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7EBc-0005DG-47 for submit@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:20 -0400 Received: from 4.mo562.mail-out.ovh.net ([46.105.38.146]:42043) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7EBR-0005C8-5C for 77895@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:10 -0400 Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net [79.137.60.37]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRR3qGtz1Yyv; Tue, 22 Apr 2025 14:01:07 +0000 (UTC) Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net. [127.0.0.1]) by director4.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77895@debbugs.gnu.org>; Tue, 22 Apr 2025 14:01:07 +0000 (UTC) Received: from mta7.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.109.148.134]) by director4.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRR3J8LzyHr; Tue, 22 Apr 2025 14:01:07 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.3]) by mta7.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id E210BC3A2F; Tue, 22 Apr 2025 14:01:06 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-110S0045f7cab20-eae6-4527-a7f2-02410efe005e, 0A1BC1951B487096A19EF2AF6351B65704E5605C) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Tue, 22 Apr 2025 16:00:34 +0200 Message-ID: <20250422140051.2273-7-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250422140051.2273-1-ngraves@ngraves.fr> References: <20250422140051.2273-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 11611124265736921826 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeefleduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejkeelheesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeivdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=yjY0rySe3qf+nJ8zT9e54IJaPJ8uXqUQRulKzRvEbpk=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1745330467; v=1; b=IJSFrFC3Od++ympAZgGZoEnAiKnjroZY5AdmD30PyoJnT15OFuRhNd4lNwDcsD2+MI9TPR1i mf5M09wNg8mfmpyXzO9VkR+1l4IO8y1LNI9LKPK8f8tGfEITkpr3EoYaUgaWjlYwoqTzmGEL8Tf /nsLiKPCj0D2F0VIBIsr/1W47lEz/GUNAnagVuNCZFRTkWtrPUjnZVjorJZkwFg0ieQ3rj4wiLv zoc6+6WEIOkyx1Xecx3EJo8dIOOMXPOeDou1JISznvWfHTjGyzdKLf1UQ2cfvxK2+h+Drg9P0Sv nz6FqRScE+CivRBnIIqt+WLRqyAI/l6NdIX95ic5si/9g== 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/virtualization.scm (python-transient): Update to 0.25. [source]: Switch to git-fetch to enable tests. [arguments]{phases}: Refresh phase 'fix-dependencies. [native-inputs]: Remove python-black, python-mypy, python-twine. Add python-pytest. [propagated-inputs]: Replace python-lark by python-lark-parser. --- gnu/packages/virtualization.scm | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index b5a0ec9d88..28dd3202df 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2999,34 +2999,35 @@ (define-public osinfo-db (define-public python-transient (package (name "python-transient") - (version "0.12") + (version "0.25") (source (origin - (method url-fetch) - (uri (pypi-uri "transient" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/ALSchwalm/transient") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "148yiqrmcscsi6787y0f27i1y9cf0gcw3mqfv5frhpmsmv62mv5z")))) + (base32 "1c2v0z1amgfx747sqn8airq71bnp58syvsaqlazirahyn2yjg04d")))) (build-system pyproject-build-system) (arguments - `(#:tests? #f ; Requires behave - #:phases (modify-phases %standard-phases - (add-after 'unpack 'fix-dependencies - (lambda _ - (substitute* "setup.py" - (("==") - ">="))))))) + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-dependencies + (lambda _ + (substitute* "setup.py" + (("(~|=)=") ">=") + (("lark-parser>=[0-9.]*") "lark"))))))) (native-inputs - (list python-black - python-mypy - python-pyhamcrest + (list python-pyhamcrest + python-pytest python-setuptools - python-twine python-wheel)) (propagated-inputs (list python-beautifultable python-click python-importlib-resources - python-lark-parser + python-lark python-marshmallow python-progressbar2 python-requests From patchwork Tue Apr 22 14:00:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41936 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 2FBB027BC4B; Tue, 22 Apr 2025 15:03:40 +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 E603D27BC49 for ; Tue, 22 Apr 2025 15:03:39 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u7ECa-0008I6-RI; Tue, 22 Apr 2025 10:02:21 -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 1u7ECN-0007x8-Ho for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02: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 1u7ECL-0006hP-Cq for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:07 -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=YOlmHC8Rxw4lDXgDSQnMBIx68h8u0IMjY7fFmxw3Ee4=; b=kDCMsjfEaljev9LaQcU2o9Cw23k9+xg44gGz8iPAh+ZXDbkj7CNjIFcWscWWsQbJHA9LrEjeN7PZLJqgNzQTIBwvzNv31dF7P9H0O3yPVvAntdAhfk87oQgMozUMgSgUiAktm5Vh9lQlE9cgn1hei2qTd2rZCZjGuGPSl8ygM/FGvFVIJ9hKqnA+NWa1WU0mSACbZ0brQrrX0l/H/euIWlBxwuluok+Ewv65RGrQ1ioLH54Mn+jbPBECio0kz1wP+jQGhts98pVQ7xkhDYupVlE+bsCoDMtGAoRAeLzihrRKQ2SHsmRR25AQukZhzts3jN/3zbz9SXah97tVAnLKiQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u7ECL-0005Fh-6D for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77895] [PATCH v2 08/10] gnu: python-commentjson: Switch to python-lark. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Apr 2025 14:02:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77895 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77895@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77895-submit@debbugs.gnu.org id=B77895.174533048120055 (code B ref 77895); Tue, 22 Apr 2025 14:02:05 +0000 Received: (at 77895) by debbugs.gnu.org; 22 Apr 2025 14:01:21 +0000 Received: from localhost ([127.0.0.1]:49106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7EBd-0005DP-06 for submit@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:21 -0400 Received: from 4.mo562.mail-out.ovh.net ([46.105.38.146]:51961) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7EBS-0005CB-Fs for 77895@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:10 -0400 Received: from director1.derp.mail-out.ovh.net (director1.derp.mail-out.ovh.net [51.68.80.175]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRT2Tgdz1Z06; Tue, 22 Apr 2025 14:01:09 +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 <77895@debbugs.gnu.org>; Tue, 22 Apr 2025 14:01:09 +0000 (UTC) Received: from mta7.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.109.176.114]) by director1.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRT0TGYzHqCg; Tue, 22 Apr 2025 14:01:09 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.4]) by mta7.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 867D6C3A2F; Tue, 22 Apr 2025 14:01:08 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-106R006768909cb-d7f2-4c24-b091-a84ee7bf803c, 0A1BC1951B487096A19EF2AF6351B65704E5605C) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Tue, 22 Apr 2025 16:00:35 +0200 Message-ID: <20250422140051.2273-8-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250422140051.2273-1-ngraves@ngraves.fr> References: <20250422140051.2273-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 11611687218122449634 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeefleduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejkeelheesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeivdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=YOlmHC8Rxw4lDXgDSQnMBIx68h8u0IMjY7fFmxw3Ee4=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1745330469; v=1; b=1gR1s/SK4Bx7aPSTUjVJl3zVClGorP4rUMsTStBVgy+4OBupOFNh4If10fE0DfVZNumr7ay9 B86WNmkjYTVoG/A2oEYtBf8tM8YFYfgPgIPx2vEQn9p3Mox3KeKYzn2ghuMqldKWbgbzRYgMGKP 4mCpk2M6NYnZYLUprB6W9vpZ6dtzbm9MxzslgUB3YM+X3X+8zAYXnwwk33MEiWNLjAdXAfcNKUp bZlCEHsAwxZAzrjJdIZKlkH4q9i7lrEVG/YnKJGZYt8fXZ3nGHlJWEos2NuHpSMGHytSQq0vhz+ 6GB8kNsev9K5l10Kk9sXt8YK8bUBG8y+SN/FOpHbvxoCw== 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-commentjson): [arguments]{phases}: Refresh phase 'relax-requirements. [propagated-inputs]: Replace python-lark-parser by python-lark. --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 53647516e3..2743a94203 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17582,7 +17582,7 @@ (define-public python-commentjson (lambda _ (substitute* "setup.py" (("lark-parser>=0.7.1,<0.8.0") - "lark-parser>=0.7.1")))) + "lark")))) (add-after 'unpack 'delete-unspported-tests ;; Some tests rely on the 'test' module of Python itself, ;; which is not available with the Python package in Guix; @@ -17600,7 +17600,7 @@ (define (grep string file-name) (filter (lambda (f) (grep "from test." f)) test-files))))))))) (propagated-inputs - (list python-lark-parser)) + (list python-lark)) (native-inputs (list python-six)) (home-page "https://github.com/vaidik/commentjson") From patchwork Tue Apr 22 14:00:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41928 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 6E95E27BC4A; Tue, 22 Apr 2025 15:02:46 +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=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 7374D27BC49 for ; Tue, 22 Apr 2025 15:02:43 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u7ECb-0008IQ-AI; Tue, 22 Apr 2025 10:02:21 -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 1u7ECN-0007x2-ID for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02: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 1u7ECL-0006hV-Vy for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:07 -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=69nFcjHAdrCGdT0BydkmRS7CHdrZryEITyUpqBJVy8M=; b=cO263pbV0noRN5qMy21FKLeF/sFJquxRqRhkadJ0BXluhwfnhGn8SPMbuEn7S7Aufg4Sg0PiBx6NToNTBfFPGaaNpC173Yxf+gSIksqDipsUQXnAuVCH9qUve9tAjUnscCm9ceLJdrLxssEpcY0Rk6DXivg8jdS0LIaZqtOaio7/WpDdVP/Xp60+sqh0Sh0ld4UMvdxBZfsQW2EsNJOnSHXEcDqEgmI9ccfgBG7jhvN2yFJLIfvkx98dvCxsqBpBehdv+qbbDVQvAkYHrge5Ids7LcWPe0Q7t8UMNopKdL+DJ5NJ/gEzZ2wrhas850AhMEibrNSxkBBmi2jE2s9ykA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u7ECL-0005Fu-Ps for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77895] [PATCH v2 09/10] gnu: python-hypothesmith: Update to 0.2.0. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Apr 2025 14:02:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77895 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77895@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77895-submit@debbugs.gnu.org id=B77895.174533048120063 (code B ref 77895); Tue, 22 Apr 2025 14:02:05 +0000 Received: (at 77895) by debbugs.gnu.org; 22 Apr 2025 14:01:21 +0000 Received: from localhost ([127.0.0.1]:49108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7EBd-0005DU-Db for submit@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:21 -0400 Received: from 7.mo562.mail-out.ovh.net ([46.105.55.234]:57721) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7EBT-0005CI-V8 for 77895@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:12 -0400 Received: from director2.derp.mail-out.ovh.net (director2.derp.mail-out.ovh.net [79.137.60.36]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRV2Xm0z1Yt0; Tue, 22 Apr 2025 14:01:10 +0000 (UTC) Received: from director2.derp.mail-out.ovh.net (director2.derp.mail-out.ovh.net. [127.0.0.1]) by director2.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77895@debbugs.gnu.org>; Tue, 22 Apr 2025 14:01:10 +0000 (UTC) Received: from mta11.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.109.148.134]) by director2.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRV1kHwzyPS; Tue, 22 Apr 2025 14:01:10 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.7]) by mta11.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id DB117263A2E; Tue, 22 Apr 2025 14:01:09 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-97G00282bc48e7-4358-4210-8384-e39168c36679, 0A1BC1951B487096A19EF2AF6351B65704E5605C) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Tue, 22 Apr 2025 16:00:36 +0200 Message-ID: <20250422140051.2273-9-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250422140051.2273-1-ngraves@ngraves.fr> References: <20250422140051.2273-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 11611968689651835618 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeefleduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejkeelheesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeivdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=69nFcjHAdrCGdT0BydkmRS7CHdrZryEITyUpqBJVy8M=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1745330470; v=1; b=KbejG14IS0fs+ivJTBFI2tPl7VQYaRQejf9UQjBjre6x7YtaJfsWcpJNcap8/+/nGJZl5WR+ RAlFooUB8ZUyY0LpwL8l0ZW/UPoJrT+tFitHTqnDJLP+lF1i6CiwDDmtyo9OEn4LxMiB9UgyJJH 0pMaR8OmmbhCd3J7IxppsxUw2ng49tzq+5W87bt9al/e7bzMOGuF+PbTjQqSIUGOJZwYjnwEJ85 yNkFiu/2fioxmuV7Ejl88ZsQtTwg3hG2sGPk7s+AiN0DKMzxBlG4F03CYyfdVGgnVonU14RoneS WuJUq0DI5IzrZL2Jf0ZjGEkzF/J1U8vZxHrwYPGfu/Czg== 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/check.scm (python-hypothesmith): Update to 0.2.0. [build-system]: Switch to pyproject-build-system. [arguments]: Ignore failing tests. : Add 'patch-lark-dependency test. [propagated-inputs]: Replace python-lark-parser by python-lark. [native-inputs]: Add python-black, python-parso, python-pytest, python-pytest-cov, python-setuptools, python-wheel. --- gnu/packages/check.scm | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 3580841047..30dc256a84 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2898,17 +2898,38 @@ (define-deprecated python-hypothesis-next python-hypothesis) (define-public python-hypothesmith (package (name "python-hypothesmith") - (version "0.1.8") + (version "0.2.0") (source (origin (method url-fetch) (uri (pypi-uri "hypothesmith" version)) (sha256 - (base32 - "02j101m5grjrbvrgjap17jsxd1hgawkylmyswcn33vf42mxh9zzr")))) - (build-system python-build-system) + (base32 "08kr9p6hjm3ys87k1k3l79cmf936qbhn21ab8zadsvnp0gyv7dqg")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "-k" + (string-append + ;; XXX: hypothesis.errors.Unsatisfiable + "not test_source_code_from_libcst_node_type[MatchSingleton]" + ;; XXX: Python/Black versions not as expected. + " and not test_black_autoformatter_from_grammar")) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-lark-dependency + (lambda _ + (substitute* "setup.py" + (("lark-parser>=[0-9.]*") "lark"))))))) (propagated-inputs - (list python-hypothesis python-lark-parser python-libcst-minimal)) + (list python-hypothesis python-lark python-libcst-minimal)) + (native-inputs + (list python-black + python-parso + python-pytest + python-pytest-cov + python-setuptools + python-wheel)) (home-page "https://github.com/Zac-HD/hypothesmith") (synopsis "Strategies for generating Python programs") (description From patchwork Tue Apr 22 14:00:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41935 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 B638227BC4B; Tue, 22 Apr 2025 15:03:24 +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 86CC427BC49 for ; Tue, 22 Apr 2025 15:03:24 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u7ECW-00087Y-1t; Tue, 22 Apr 2025 10:02: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 1u7ECN-0007x4-I2 for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02: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 1u7ECN-0006he-15 for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:07 -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=BZWs1LUdEGmDbxFyAZcDgUrrK956xijFbBAqeAc7Eoo=; b=IvIDQqGqzTmG2/OQxpoVM0QRETyxbz8g+PiHKob5wVYdSovBtXnRmGFUjxJwmBAkzBziHoiTIPUvRivEI6X+ftPfx/idNgSXC3u3zYwEBpBL3iHcEY3DHnmoimb0rnUbhJUMNyTZp8LMOL1SBtq7JTchBJoHcCT2qaRiGYQa8ORhMqhaGiFX+/w/Mu1VhCAiEUN/814tk2JYRUbss7th4pCuIGnYWN8pUtZ1tBI+zD24sopjsz7ut9zzhkPEeL2ZIM8lvp5+gXtaZx/vP1AE7hlAdglwZMpTrmLWqm2Qo1P9sT9dVdO93Q5MkSYfixQ4j9k6NWiOogA7ICgXGcfTpw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u7ECM-0005GH-O1 for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77895] [PATCH v2 10/10] gnu: Remove python-lark-parser. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Apr 2025 14:02:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77895 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77895@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77895-submit@debbugs.gnu.org id=B77895.174533048320078 (code B ref 77895); Tue, 22 Apr 2025 14:02:06 +0000 Received: (at 77895) by debbugs.gnu.org; 22 Apr 2025 14:01:23 +0000 Received: from localhost ([127.0.0.1]:49112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7EBe-0005Di-KQ for submit@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:23 -0400 Received: from 3.mo562.mail-out.ovh.net ([46.105.33.63]:52291) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7EBV-0005CZ-Pa for 77895@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:14 -0400 Received: from director1.derp.mail-out.ovh.net (director1.derp.mail-out.ovh.net [51.68.80.175]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRX1NpWz1YxD; Tue, 22 Apr 2025 14:01:12 +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 <77895@debbugs.gnu.org>; Tue, 22 Apr 2025 14:01:12 +0000 (UTC) Received: from mta6.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.178.128]) by director1.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRW6vjyzHqbj; Tue, 22 Apr 2025 14:01:11 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.5]) by mta6.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 69092D43DA4; Tue, 22 Apr 2025 14:01:11 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-114S0085e8b3d2b-2439-4687-b441-5500d4c53c32, 0A1BC1951B487096A19EF2AF6351B65704E5605C) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Tue, 22 Apr 2025 16:00:37 +0200 Message-ID: <20250422140051.2273-10-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250422140051.2273-1-ngraves@ngraves.fr> References: <20250422140051.2273-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 11612531639389643490 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeefleduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejjeekleehseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehiedvmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=BZWs1LUdEGmDbxFyAZcDgUrrK956xijFbBAqeAc7Eoo=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1745330472; v=1; b=lLg5cOd3LucJcuodIr400Ex4Erm3CMgHxU8F6SyW1ubl/cj+s10jw4Syh36EHcF6CAChUKY4 2vl3Ku2QYovAikLIYU7T9J0n+p/6lslXMEBRMqL+NhNu0hK4pAZLwoB+ClR7BxyOkgqIpAV/+u7 7n/GyDmwz+xX86FapKaB5fad4tkwkUXNdy4FR/lnKstFMPqpNwjXNifs4MocPxf08oU3Vw5cXll dq6d0Qin8SJG83/Nw5lJWbxrSYWeMueRV+oAgzcPVuD3SzkUahAyD1MMVa0S6yPKeMPK/Yfyc/d 1HYBRBooRHTVqNIhmVEGG76ll1VWdOh+KvS4xvYlAzkCw== 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-lark-parser): Delete variable. --- gnu/packages/python-xyz.scm | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2743a94203..15bfad66ae 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23673,18 +23673,6 @@ (define-public python-lark some degree most natural languages too.") (license license:expat))) -;; XXX: lark was renamed from lark_parser with major release 1 -(define-public python-lark-parser - (package/inherit python-lark - (name "python-lark-parser") - (version "0.12.0") - (source (origin - (method url-fetch) - (uri (pypi-uri "lark-parser" version)) - (sha256 - (base32 - "0f51jr7dvnd3rm7j5nkkgm2vxfa7a1s804avlvf16h11y6qpv5hm")))))) - (define-public python-find-libpython (package (name "python-find-libpython")