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