From patchwork Fri Apr 18 11:46:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41763 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 5CC4927BC4B; Fri, 18 Apr 2025 12:49: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 5E9FD27BC4C for ; Fri, 18 Apr 2025 12:49:12 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u5kCY-0006nd-F3; Fri, 18 Apr 2025 07:48:10 -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 1u5kCT-0006nC-Ne for guix-patches@gnu.org; Fri, 18 Apr 2025 07:48:06 -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 1u5kCT-0007ba-7W for guix-patches@gnu.org; Fri, 18 Apr 2025 07:48:05 -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=pgEWkdJckNggLgPZ3MDVnM7WtAa7PyJWWxbAExhNDpNKGBcT7IQ8D5ia0LODls+pGKXjc+gENMQv8ZJgnnuO0b9Be8Q9ArOXdfknt93/UrxDeGv8H1XmfEvxQszcHNNuDe7LDlQu4wW8ybpLmYzTRhvl7Rh6Cht0xeDzDjwg73bLTDnt5SD9FNpkNbeWr8C/gZgyJssqPOfJJuMTBY6OGdkF+leLVa2Qv3NErzLv2vTh3gRufRo8AYClytWoPedkwItHRBEDDYczuouv1MgNp7TETLWRRRARZs6B/mxg8yyvx7YvtZEn1NSaYVkT1E7MfSGc47aXm7FaB7bwyvn7qQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u5kCS-0007ut-Qg for guix-patches@gnu.org; Fri, 18 Apr 2025 07:48:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77895] [PATCH 3/7] 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: Fri, 18 Apr 2025 11:48: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.174497682829808 (code B ref 77895); Fri, 18 Apr 2025 11:48:04 +0000 Received: (at 77895) by debbugs.gnu.org; 18 Apr 2025 11:47:08 +0000 Received: from localhost ([127.0.0.1]:50442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u5kBU-0007jk-9d for submit@debbugs.gnu.org; Fri, 18 Apr 2025 07:47:07 -0400 Received: from 10.mo563.mail-out.ovh.net ([46.105.78.6]:34537) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u5kBJ-0007gh-8l for 77895@debbugs.gnu.org; Fri, 18 Apr 2025 07:47:00 -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 4ZfCfG6mp2z1Jn6; Fri, 18 Apr 2025 11:46:46 +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>; Fri, 18 Apr 2025 11:46:46 +0000 (UTC) Received: from mta7.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.109.140.124]) by director1.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZfCfG54R9zHmRj; Fri, 18 Apr 2025 11:46:46 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.0]) by mta7.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 1D6F3C3A03; Fri, 18 Apr 2025 11:46:46 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-111S005074245b8-42ae-4b1e-b350-f3ab5e2b7447, 87B5F7520F1C12C50596DB6AAE10C577A8A8D40E) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Fri, 18 Apr 2025 13:46:21 +0200 Message-ID: <20250418114642.2538-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250418114642.2538-1-ngraves@ngraves.fr> References: <20250418114642.2538-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 4298122897708016354 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvfedvtdejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejjeekleehseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehieefmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=KuuNIeOLzBd5/ILZolhn0rYCn+78VsoM1KqXYPTt+5Q=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1744976807; v=1; b=z1/Nd7gPRS6KWDu13gkZVuISewdLSrvfZQg5J+0i1xZhKBEBEdRW4wDD0u1reRZd3Ji559yb 1a7UFeVLG/fHB7pmyjDWJ2Fb5Sv1LQTMHjseBXnina8ZB5O9E2itOnYaup3ra0pSQxfsbtDIHtz IY2pfBPag8wbYWi6xMi91axrtDaXB5CyFH8ypfGsxmHzNqpBrANIqoz9ZqxJx+S+/EC5aW+iH69 tBO26W06EqSd5JV37IMHnumO1obl4+lic+VG0/TN80DPKCXXcLEkRTD0bwK4kfBmsDlpAEp/ynM Vj5bdl/xgE0TCrvq3H/enAyXUtHa9XgOZNLpsK+lFAyUw== 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