From patchwork Tue Dec 6 18:04:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Attila Lendvai X-Patchwork-Id: 45080 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 7C6AD27BBEB; Tue, 6 Dec 2022 18:07:31 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS 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 B391227BBE9 for ; Tue, 6 Dec 2022 18:07:29 +0000 (GMT) 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 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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