From patchwork Fri Apr 4 19:16:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41312 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 4904127BBE2; Fri, 4 Apr 2025 20:20:19 +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=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, 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 CA3E827BBE9 for ; Fri, 4 Apr 2025 20:20:18 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u0mZM-0007GM-1X; Fri, 04 Apr 2025 15:19:12 -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 1u0mZF-00078W-GJ for guix-patches@gnu.org; Fri, 04 Apr 2025 15:19: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 1u0mZE-0007wh-7Z for guix-patches@gnu.org; Fri, 04 Apr 2025 15:19: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=uFSkaTv6DWHc306mZ++Hn+cB1Hn4I2HJHFFUVhXVOg4=; b=GNvXLE4PTwj/ONARZeuRxYKEs08v0j2colyioDI+SdGSQTr6Pa8TPp7kmHOorY1RvI4hLheHVPz5nnnEFbUV4DKfoWdgp8u1LvKYtc9LOs7aDsO1f77ZO5hvea/yWFnAFsy5pICB01iuWbjd7wj2WPZw4pawMbkOr/cPe+rekuvL8lrtdM1gPNbjUcvSVysyZpf8AVTsBBIk0cmu0Cs+Bukkge7rpBAk6cSUYkD0E+cFiewdWJ8m4RwJsKdRpxHGmdf4cN7wZJKVSAY2BMlaOo+5INMKzbq8pVpGBdRt3EMSwOV6QSdwtaAhlSPakgrTQSWRbUwVeY+PzKz7f6oT4A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u0mZE-0007R2-2H for guix-patches@gnu.org; Fri, 04 Apr 2025 15:19:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77541] [PATCH 26/38] gnu: python-duniterpy: Update to 1.2.1. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Apr 2025 19:19:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77541 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77541@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77541-submit@debbugs.gnu.org id=B77541.174379429528363 (code B ref 77541); Fri, 04 Apr 2025 19:19:04 +0000 Received: (at 77541) by debbugs.gnu.org; 4 Apr 2025 19:18:15 +0000 Received: from localhost ([127.0.0.1]:40116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0mYQ-0007NM-Sv for submit@debbugs.gnu.org; Fri, 04 Apr 2025 15:18:15 -0400 Received: from 10.mo563.mail-out.ovh.net ([46.105.78.6]:34591) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u0mXx-0007H4-UI for 77541@debbugs.gnu.org; Fri, 04 Apr 2025 15:17:46 -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 4ZTpK36qm0z1Y3P; Fri, 4 Apr 2025 19:17:43 +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 <77541@debbugs.gnu.org>; Fri, 4 Apr 2025 19:17:43 +0000 (UTC) Received: from mta11.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.109.140.156]) by director3.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZTpK35fhlz83Zk; Fri, 4 Apr 2025 19:17:43 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.4]) by mta11.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 45054263921; Fri, 4 Apr 2025 19:17:43 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-109S00334ef1edd-8a1b-4188-bfab-c72e4e74aae3, 5C763BAE2B049B0552D0CEA89988AE409CD35AAA) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Fri, 4 Apr 2025 21:16:58 +0200 Message-ID: <20250404191717.32747-26-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250404191717.32747-1-ngraves@ngraves.fr> References: <20250404191717.32747-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 3483252840550294242 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduledvvdeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepfeetudffvdeutdehkeefvefhhfejteeiffdutedujeejtdetffeivdeiheehueeinecuffhomhgrihhnpeguuhhnihhtvghrrdhorhhgnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejjeehgeduseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehieefmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=uFSkaTv6DWHc306mZ++Hn+cB1Hn4I2HJHFFUVhXVOg4=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1743794264; v=1; b=HK9RRKMyrqL6FGTD7TEqmlMglxhTSytvbwm+1OqnQJV/7UoKvpsftt+2XNZqnIV5LXJfySkp F4CM06xrtlufqfrLoJ+9HdCI835iXdYscxIsdq1itWlJd0hy3PiNGtuKKnhPNGBvals/GZA0BRm CDbTyUUuyPHKr8f4unqKgmv1WvkqXN7/Dhi2DDwzuCL7RuoH2BTIM/oaro8IsfhT3LcTSZKDidE GHjQHPmcfeZwefPXSfrKRg5Y1dUMVW0dcsPdd9bfeXlEr6Yex48jwRCVORvHXLe1HD84E2TMyto PwLsjQK+/mRBMc9KzHRUOb7Z6xIFOzLwK6lIgDMG9F1gQ== 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/finance.scm (python-duniterpy): Update to 1.2.1. [source]: Switch to git-fetch to get tests. [arguments]: Remove field. [native-inputs]: Replace python-poetry-core by python-poetry-core-next. Add python-pytest. [propagated-inputs]: Remove python-attrs. --- gnu/packages/finance.scm | 40 ++++++++++------------------------------ 1 file changed, 10 insertions(+), 30 deletions(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 69cee44386..680ebe467c 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1412,42 +1412,22 @@ (define-public python-stdnum (define-public python-duniterpy (package (name "python-duniterpy") - (version "1.1.1") + (version "1.2.1") (source (origin - (method url-fetch) - (uri (pypi-uri "duniterpy" version)) + (method git-fetch) + (uri (git-reference + (url "https://git.duniter.org/clients/python/duniterpy") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "0h0fsawsrjd50lb1bkysb21ph39qlhmiymd3r5vs695qxvbwaqaa")))) + (base32 "1ysh9b5lzg053hv4iw3zbn7hid05qssiwmrl8sir8qlk958r8x60")))) (build-system pyproject-build-system) - (arguments - ;; FIXME: Tests fail with: "TypeError: block_uid() missing 1 required - ;; positional argument: 'value'". - `(#:tests? #f - #:phases (modify-phases %standard-phases - (add-after 'unpack 'loosen-requirements - (lambda _ - (substitute* "pyproject.toml" - (("mnemonic = \"\\^0\\.19") - "mnemonic = \">=0.19") - (("jsonschema = \"\\^3\\.2") - "jsonschema = \">=3.2")))) - (add-after 'unpack 'adjust-for-new-libnacl - (lambda _ - ;; Mimic upstream commit ad8f6a26e9e7067; remove - ;; for newer versions of duniterpy. - (substitute* "pyproject.toml" - (("libnacl = \"1\\.8") - "libnacl = \">=1.9")) - (substitute* "duniterpy/key/ascii_armor.py" - (("from libnacl\\.version import version as libnacl_version") - "import importlib.metadata -libnacl_version = importlib.metadata.version('libnacl')"))))))) (native-inputs - (list python-poetry-core)) + (list python-poetry-core-next + python-pytest)) (propagated-inputs - (list python-attrs - python-base58 + (list python-base58 python-graphql-core python-jsonschema python-libnacl