From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YHE+O+GEj2PsSwAAbAwnHQ (envelope-from ) for ; Tue, 06 Dec 2022 19:07:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +DhmO+GEj2MEYgEAauVa8A (envelope-from ) for ; Tue, 06 Dec 2022 19:07:29 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D065729CFD for ; Tue, 6 Dec 2022 19:07:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2cLX-0008Su-39; Tue, 06 Dec 2022 13:07:11 -0500 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 1p2cLQ-0008Pi-28 for guix-patches@gnu.org; Tue, 06 Dec 2022 13:07:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2cLO-0001th-76 for guix-patches@gnu.org; Tue, 06 Dec 2022 13:07:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2cLN-0006Vs-KN for guix-patches@gnu.org; Tue, 06 Dec 2022 13:07:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#58437] [PATCH 1/2 v2] gnu: python-trezor: Update to 0.13.3. References: <20221011131002.28153-1-attila@lendvai.name> In-Reply-To: <20221011131002.28153-1-attila@lendvai.name> Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 06 Dec 2022 18:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58437 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58437@debbugs.gnu.org Cc: Attila Lendvai Received: via spool by 58437-submit@debbugs.gnu.org id=B58437.167035001525029 (code B ref 58437); Tue, 06 Dec 2022 18:07:01 +0000 Received: (at 58437) by debbugs.gnu.org; 6 Dec 2022 18:06:55 +0000 Received: from localhost ([127.0.0.1]:44355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2cLG-0006Vd-U8 for submit@debbugs.gnu.org; Tue, 06 Dec 2022 13:06:55 -0500 Received: from mail-ot1-f47.google.com ([209.85.210.47]:43915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2cLB-0006VX-Kf for 58437@debbugs.gnu.org; Tue, 06 Dec 2022 13:06:53 -0500 Received: by mail-ot1-f47.google.com with SMTP id t19-20020a9d7753000000b0066d77a3d474so9765558otl.10 for <58437@debbugs.gnu.org>; Tue, 06 Dec 2022 10:06:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=Kn9kOnE/NfU/IJCViD7a0sB8a8N9v1C9hhsKJLxF6bs=; b=VPL9uWHfOzabZzKQDCbh33XJUO9s+Zg3T4XxIcZxtBJ5C+h4lH3eq82sn8kLUCKFTa OlJS5ImaG03IRExHVpBCIak16oJpUdhfaKkhVoixroTt+WNll1uxE5AHLh5SBLrkHuPL bFaUrZE/WUQAmf75PYu1DiUfHV4NdnxdDKB0Pior7/wAt5K3UpaxYj3b6QlZTvgqM9/U o1xHfGAb00S94P+3h0eJrOLokbRK1AuFQOf4XWXlPmCkWH3GE0bnzpXgxFutGQiFgRGd KgJGYczfG3iw5cBJ7AnPx+MYv88GYlojpm5S4ovqdZr8/8vvzYLyDDcbVyM9Q2gTSw/5 czqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Kn9kOnE/NfU/IJCViD7a0sB8a8N9v1C9hhsKJLxF6bs=; b=yS2N7xC40EJvOm+w/tEUMoJ+QfXGrC09CQuTkEpKp1z5VACI28ZbLAQ4o0BWZ5uP1S 2MF9+eeD42tHPhNkfqbNDWYLCScRKHfm7heOFdOet83Tlf46fG1EspXPnv2jAPegEvO5 5C0YeEkRps+VDwEDB4JbbBlohI5bvvoCzFHa/zKAUtZFwCKzbDdpZdWF29DpLCunJy6g HvWOab5ytULwSvze524qE/F4lIF2fPK7VKJ8luqtIJnmtZjJ4FWIAQmUYigNP13xU1Ho ypYJjYbJSUa42t0CmbmugvOMdBhH52icZ2lIYnhNuaYAhog0G4rosSOmZsstPAdnmnZ/ tmNA== X-Gm-Message-State: ANoB5plbrF58QiLGrAGckhwu6GvL5MQlon5oI9rOpSntFmleKbrA9xWv Nb2RVkUEoMeXzKOLck1m/DLTWUy4Cl0= X-Google-Smtp-Source: AA0mqf42znRfHHJmdQNv83y5JfxBssysDK0ah3hWBFrnWDJFYAwVrvl6EgSc400pVd3u8MkLlPgDMA== X-Received: by 2002:a9d:4e99:0:b0:66b:3596:953e with SMTP id v25-20020a9d4e99000000b0066b3596953emr44024838otk.158.1670350003898; Tue, 06 Dec 2022 10:06:43 -0800 (PST) Received: from localhost.localdomain ([189.4.72.207]) by smtp.gmail.com with ESMTPSA id k4-20020a056830150400b00661ad8741b4sm9328211otp.24.2022.12.06.10.06.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Dec 2022 10:06:43 -0800 (PST) From: Attila Lendvai Date: Tue, 6 Dec 2022 15:04:25 -0300 Message-Id: <20221206180425.26026-1-attila@lendvai.name> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670350049; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Kn9kOnE/NfU/IJCViD7a0sB8a8N9v1C9hhsKJLxF6bs=; b=rHQllY+rprBIW31Rgsn7X3H/2WnQ1XNsXBv4fhBWj/Aur6cxjX04x2PkiNd4QQm5+04kle ClScc0un0EVha4BOB0cZC3witZBItgZEDzSTIWp9+8uhuUworMebf0WE1wLptHRy9jcLk6 nI7lLCjyYLvmdLVEXxxUiJa9gtWVCYORfcmNhlE37vB0b6CnhLPInQmJ4FEcf/0BnSxiaJ CSxVrJn4OcYJs3BzRHiiDH3o8XBkILJIHANNwmXpV2Afk4234Ow/VaN9sYTL+JyTFt3urX PDCQN8+zRFuSVyMrxvpeW4Tgr1pF/ynyRUHo4fSUST7yluG+64XcO1ou9zuJIg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670350049; a=rsa-sha256; cv=none; b=d//YxG/RbD10wWhnTDeHe7ZZrGxOcUHyDoMWgNlQqZay4D0GhmgNcV+mI3NbbXnK9ZCwGt h+8DKUdXxJNgFTa46mi/qV0+kX7cft8vaCDuTlYU9apUtX25rN0rs2ju4ufyGdAdgruk+o aNLFGMktpkNhzCQq+G2C3hpGhe8Gjm1YHJUYPvK16VixpsIeddtcFemqvbAL0XKDpfjJ6W OnLbX7uPestq5tnkhuqy0mDrGHCQormgFxP54BF/tjiMC/099aosaH0eoypyr+0l2arDSc D6hvhW6AgQ3sg2m9q6BQwZFeaZpOxguzUV243bncytI92YOf361tEdIZzergjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=VPL9uWHf; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=VPL9uWHf; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D065729CFD X-Spam-Score: 0.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: bBje/PW814Lm Also disable the sanity-check phase. --- the sanity-check removal is in the same commit, because it became needed due to the version update. gnu/packages/finance.scm | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index cc2d417003..287ee38041 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1054,7 +1054,7 @@ (define-public python-btchip-python (define-public python-trezor (package (name "python-trezor") - (version "0.13.0") + (version "0.13.3") (source (origin (method git-fetch) @@ -1063,7 +1063,7 @@ (define-public python-trezor (commit (string-append "python/v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1wy584bxx5p2av4lv1bx9hl1q0b5n7hqz0hnqb9shjriarvl5ckd")) + (base32 "18qbdypi780b2s933dp7msh9m17mx9nq6qxn87jkwlf4i94h1vr2")) (modules '((guix build utils) (srfi srfi-26) @@ -1089,10 +1089,7 @@ (define-public python-trezor (build-system python-build-system) (propagated-inputs (list python-attrs - ;; TOOD: Use the latest click version after release 0.13.1 or later - ;; is made (see: - ;; https://github.com/trezor/trezor-firmware/issues/2199). - python-click-7 + python-click python-construct python-ecdsa python-hidapi @@ -1100,14 +1097,21 @@ (define-public python-trezor python-mnemonic python-requests python-typing-extensions)) - (native-inputs - ;; For tests. + (native-inputs ; Only needed for running the tests (list protobuf python-black python-isort + python-pillow python-protobuf python-pyqt - python-pytest)) + python-pytest + python-simple-rlp)) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; This package only has a Python script, not a Python module, so the + ;; sanity-check phase can't work. + (delete 'sanity-check)))) (home-page "https://github.com/trezor/python-trezor") (synopsis "Python library for communicating with TREZOR Hardware Wallet") (description "@code{trezor} is a Python library for communicating with -- 2.35.1