From patchwork Sun Apr 6 12:37:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41358 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 0D1EB27BBEA; Sun, 6 Apr 2025 13:39:44 +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 8279F27BBE2 for ; Sun, 6 Apr 2025 13:39:43 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u1PGN-0005fT-Mb; Sun, 06 Apr 2025 08:38:11 -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 1u1PGI-0005b4-9U for guix-patches@gnu.org; Sun, 06 Apr 2025 08:38: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 1u1PGH-00055b-VY for guix-patches@gnu.org; Sun, 06 Apr 2025 08:38:06 -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=OumTb1JmCz3zUqKn//LpM0C56I4D+kIkCEbTQ6BFLMw=; b=TjHAlEzZV7O1f0fyJhDXp3Qb5bCKTfuWJUJQ/dmppmLxXLJ517WeQYUiBkOUrcPZ12jFBC+P3ZKpAIY6TcL/DI9DAsbLhEtW3iGQk6BPPR6eIy7rH0Tc8QxIEJbXIQrB8OqYgHIRIl1I/ZIYwqO0DmJDMfwFJLTSyJbOIUib8YMsyk+9+6oldNe1xDbwGmjBkbfOL7OB3LxKpw8FJigSg88jF353awuOpWcm2WcXT7icOVgI3VRe3K6YTEbJ4It61NXW0UCP/5Z5aVz6A43FIi5OwQigxa6mc4iJGj9XzY/VKpVI8+j4b5APLiGl6ta78ZP9tvarr6eXTdBWdHjEUA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u1PGH-0001UQ-M4; Sun, 06 Apr 2025 08:38:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77575] [PATCH 08/21] gnu: python-pymodbus: Update to 3.8.6. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, guix-patches@gnu.org Resent-Date: Sun, 06 Apr 2025 12:38:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77575 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77575@debbugs.gnu.org Cc: Nicolas Graves , lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org X-Debbugs-Original-Xcc: lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org Received: via spool by 77575-submit@debbugs.gnu.org id=B77575.17439430755551 (code B ref 77575); Sun, 06 Apr 2025 12:38:05 +0000 Received: (at 77575) by debbugs.gnu.org; 6 Apr 2025 12:37:55 +0000 Received: from localhost ([127.0.0.1]:46366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u1PG7-0001RS-6n for submit@debbugs.gnu.org; Sun, 06 Apr 2025 08:37:55 -0400 Received: from 1.mo563.mail-out.ovh.net ([178.33.106.244]:59319) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u1PG0-0001PF-EK for 77575@debbugs.gnu.org; Sun, 06 Apr 2025 08:37:49 -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 4ZVsLf66j8z1f8S; Sun, 6 Apr 2025 12:37:46 +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 <77575@debbugs.gnu.org>; Sun, 6 Apr 2025 12:37:46 +0000 (UTC) Received: from mta7.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.108.25.139]) by director3.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZVsLf4wSsz83Zk; Sun, 6 Apr 2025 12:37:46 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.2]) by mta7.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 51FC8C397A; Sun, 6 Apr 2025 12:37:46 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-100R003c5b1c3fa-98df-4623-b455-999462dc7c88, C919729AFBE9AB1136EE71DE75FB1B1DBE8A85BF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Sun, 6 Apr 2025 14:37:10 +0200 Message-ID: <20250406123732.31301-8-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250406123732.31301-1-ngraves@ngraves.fr> References: <20250406123732.31301-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 8474085651740615394 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduleejvdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejheejheesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeifegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=OumTb1JmCz3zUqKn//LpM0C56I4D+kIkCEbTQ6BFLMw=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1743943067; v=1; b=GCxAWZJ0BjrlnTzWpOSPiv5Roz7BelB92mQKPo7aN7ScipBl3NPkU09eouu8L4XHfM7RqoVS upmgSJ2eQhd2QzMvY8441xcWlPzUXwLf9Gn68XIfMHDd/25i6Ywosf7nYyZyXo8Gcadmv/p1TUM Na6FYjXtU1MrKQ0kCAIX6VpJ9USYFM8yoffi3Av8OYJ1TYCnwmV6etoA4HVMzukHwAhzVO+q2L9 RNDZT/Wd9L8SI7YhUS49HdjbY1IB3tn8I9N7FLmj5WRvsgpucbOvgMJ89pZnwxUmHMYE5XvDz/P P0cegKYrBAxEG3zXOE+xD8uc0e30NcgvucSwBWg37wn3w== 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-pymodbus): Update to 3.8.6. [build-system]: Swith to pyproject. [arguments]{test-flags}: Ignore failing tests. {phases}: Remove field, use test-flags instead. [native-inputs]: Add python-pytest-asyncio, python-pytest-cov, python-pytest-xdist, python-setuptools, python-wheel. --- gnu/packages/python-xyz.scm | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d457d89de7..efdf82e58c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -24448,7 +24448,7 @@ (define-public python-pymemcache (define-public python-pymodbus (package (name "python-pymodbus") - (version "2.5.3") + (version "3.8.6") (source (origin (method git-fetch) @@ -24457,34 +24457,27 @@ (define-public python-pymodbus (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 - "0kjjrx7xrlx0pf3y67hhr4xvqrly3xzmvf6ic5as61m6z19m7zd5")))) - (build-system python-build-system) + (base32 "1sncllh01c6vqq4fh9k3yg9fchmmw661rcp0066l7fis6sp4yw82")))) + (build-system pyproject-build-system) (arguments - `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'disable-problematic-tests - (lambda _ - ;; The following test modules rely on Python's own - ;; 'test' module, which is not distributed in the Python - ;; package of Guix. - (delete-file "test/test_client_async_asyncio.py") - (delete-file "test/test_client_sync_diag.py") - ;; The following test module requires the asynctest - ;; library, abandoned without support for Python 3.9+ - ;; (see: - ;; https://github.com/riptideio/pymodbus/issues/681). - (delete-file "test/test_server_asyncio.py"))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "-m" "pytest"))))))) + (list + #:test-flags + #~(list "--ignore" "test/server/test_simulator_api.py" + ;; These tests require the presence of a certificate. + "--ignore-glob" "test/examples/*" + "--ignore" "test/client/test_client.py"))) (native-inputs (list python-mock python-pytest + python-pytest-asyncio + python-pytest-cov + python-pytest-xdist python-redis + python-setuptools python-sqlalchemy python-tornado - python-twisted)) + python-twisted + python-wheel)) (propagated-inputs (list python-pyserial python-six