From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AAnXEHOOj2NSQAEAbAwnHQ (envelope-from ) for ; Tue, 06 Dec 2022 19:48:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ODMGEXOOj2N4EQAAauVa8A (envelope-from ) for ; Tue, 06 Dec 2022 19:48:19 +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 CE16C3A3D2 for ; Tue, 6 Dec 2022 19:48:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2cz7-0000Am-Rp; Tue, 06 Dec 2022 13:48:05 -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 1p2cz4-00006w-NO for guix-patches@gnu.org; Tue, 06 Dec 2022 13:48:02 -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 1p2cz4-0005ZP-FF for guix-patches@gnu.org; Tue, 06 Dec 2022 13:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2cz3-0006qx-Um for guix-patches@gnu.org; Tue, 06 Dec 2022 13:48:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#58437] [PATCH 1/3 v3] 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:48: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.167035244226335 (code B ref 58437); Tue, 06 Dec 2022 18:48:01 +0000 Received: (at 58437) by debbugs.gnu.org; 6 Dec 2022 18:47:22 +0000 Received: from localhost ([127.0.0.1]:44538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2cyQ-0006qh-GW for submit@debbugs.gnu.org; Tue, 06 Dec 2022 13:47:22 -0500 Received: from mail-oa1-f45.google.com ([209.85.160.45]:34403) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2cyN-0006qb-WD for 58437@debbugs.gnu.org; Tue, 06 Dec 2022 13:47:20 -0500 Received: by mail-oa1-f45.google.com with SMTP id 586e51a60fabf-1445ca00781so11909058fac.1 for <58437@debbugs.gnu.org>; Tue, 06 Dec 2022 10:47:19 -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=6CE/GSKDgwHXW3pefpZxJyUWwnO3VLvzu0pc4mA5yU8=; b=WsE8vtVSrsLviLSDaNFBNP5PvBchtPhZ+Jz8nfiy/0MuRzJDOHdsaplBT/wqc8oRaw vTq9FP31bxzyS+UcI1LDtHZlAwku4RuDg9tNkM5SXTreFQM4KUHNEl/3IUvgpqPBeyfW 8y9EYjQfjz5AgDP/mdFpvzYjyv5CIWtUv8vK+P8v+a4tNvMcFIC3Rivvz3gMTp3ZyOJZ 0J6q7+ceQhTzi22TyZYob4+MsHlIGO+LQFP55/43m2MImC8KT5Zc/dSMFI3FgZ5bMi5K /2r6vBk9+OF5itJ9CMSLK51+/Sw49SiZAW1y3ZEaRVmmEY38EEtSmFt868GRZgAsaxRZ IALQ== 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=6CE/GSKDgwHXW3pefpZxJyUWwnO3VLvzu0pc4mA5yU8=; b=2Ksm7mLzog9aQrH4PYj4qHK2lEm/r4AGzUXWWYdU8Lb3rs5oy6hdYio6ahdxh8CYpQ T2EDKhfR/KRRJ7VWpuqZxHly1ZhARJ+nlf+nvfCVdV3E0ZBr/MhlmtCcaP7fHF43jsBg h52BxeUQQ6xJl/QKDwPEJ/czyyBwrbuipMK2wbWLtK19TlVX7xOmxKwczJILjCspBwXM bBGzxE3ZTq1A7kwNk7H2057/GbVdHMbKyeUylwP7O2pwb04kFjbbnVwAqMjEWZDiVRv4 lTooFBCqNh8xc7WiCs6orGH0cr4ljUMaFMoAAlilnk7YnBdAu+OtFUzhcyTLKwh3COva 0lTQ== X-Gm-Message-State: ANoB5pkZQ7PkzOrM1UJpC81pU8AZQJzjU9/fzjmXsRmtdRkI+OyuBO9y 1JrcILZzzKycouKLb5pJwKA2ThjNY3Y= X-Google-Smtp-Source: AA0mqf7gVJjk9cNBp1BOfgozqgb2FoGDNmPR4JOWnxdk/sY1OMF1hFFpsD5etd6cmRRDWYu47J5qPg== X-Received: by 2002:a05:6870:7a16:b0:144:9c79:5fb2 with SMTP id hf22-20020a0568707a1600b001449c795fb2mr5854697oab.239.1670352433972; Tue, 06 Dec 2022 10:47:13 -0800 (PST) Received: from localhost.localdomain ([189.4.72.207]) by smtp.gmail.com with ESMTPSA id ce11-20020a056830628b00b00670461b8be4sm2437947otb.33.2022.12.06.10.47.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Dec 2022 10:47:13 -0800 (PST) From: Attila Lendvai Date: Tue, 6 Dec 2022 15:46:06 -0300 Message-Id: <20221206184607.8128-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=1670352499; 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=6CE/GSKDgwHXW3pefpZxJyUWwnO3VLvzu0pc4mA5yU8=; b=NY4wBelJNGoiUIQH2sBlBgt/NMGyy69rrYAl4NXJnhZsiJJRQhYAw6yKtMWBbhYlRruZF8 05W3cBfq9KidtMvmvkTrQoGGfNgwmYlESxkhTOYWIq6pOtukcVlBPMNe1bXnOhzFsSiRJ7 UhxnOMcPNlwX7ldqI5fdAX7HGfdAh/0KWrBqHUzGr7+eVvgd2LkrEdWT1MIgZA9d2MWDip ZLpLZ69V7cneJHhX91/9b+6lQ8gFNV1cpFVwHaBCFtfjiuXx9snTyxfcoAPKpErSaEKlhS rT1kLa7v2CNKkv270QPLHyiU7CUYUni0Dj/IP8eFgUYV0Y+jiWIaXaoSaGdjSA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670352499; a=rsa-sha256; cv=none; b=kBQOdIPIXsoSMgl9ZRo0IpCB9gYcrYsdQqHIyu1ZU21dtMHoj5a0W71SMxFL8dl+R9rmqP WGAcOLZcSebzreSNQ5YJXOrcrOM1kzqqRVp82KkahCXRhyPPtj7Ag1Y0YR11nedpHvGJiT 8yY7xsSpaFPydisD96OuhjFO6RLL5OXi0LdKp2iIctyTnsYHZEL+4x/utSSTUoYOb+JAHm v+AfjQqtG7Kow0IcRFzrXEwvb+0C/p0JHXlyyIVELb7eltwX/WwGLXo7KM+a3uid/MNxBM tEI7eQ/9dnLrF/25fAt/UsnfcTV4/OvmaD/uIp7jOF2e/xK+ftlBthcmRugbQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=WsE8vtVS; 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: 2.54 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=WsE8vtVS; 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: CE16C3A3D2 X-Spam-Score: 2.54 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3q//EkLfned3 Also disable the sanity-check phase. --- this series updates and fixes trezor support. 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