GNU bug report logs - #32563
[PATCH] gnu: python-trezor: Update to 0.10.2.

Previous Next

Package: guix-patches;

Reported by: Vagrant Cascadian <vagrant <at> debian.org>

Date: Tue, 28 Aug 2018 21:52:01 UTC

Severity: normal

Tags: patch

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Vagrant Cascadian <vagrant <at> debian.org>
Subject: bug#32563: closed (Re: [bug#32563] [PATCH] gnu: python-trezor:
 Update to 0.10.2.)
Date: Wed, 29 Aug 2018 18:54:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#32563: [PATCH] gnu: python-trezor: Update to 0.10.2.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 32563 <at> debbugs.gnu.org.

-- 
32563: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32563
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Leo Famulari <leo <at> famulari.name>
To: Vagrant Cascadian <vagrant <at> debian.org>
Cc: 32563-done <at> debbugs.gnu.org
Subject: Re: [bug#32563] [PATCH] gnu: python-trezor: Update to 0.10.2.
Date: Wed, 29 Aug 2018 14:53:17 -0400
[Message part 3 (text/plain, inline)]
On Tue, Aug 28, 2018 at 02:50:39PM -0700, Vagrant Cascadian wrote:
> * gnu/packages/finance.scm (python-trezor): Update to 0.10.2.
>   [arguments]: Replace check with tests that do not require hardware device.
>   [propagated-inputs]: Add python-click, python-libusb1, python-pyblake2 and
>     python-typing.
>   [native-inputs]: Add python-mock and python-pytest.

Thanks! Pushed as b4c698c8c99952fef0c9aa8c53c36631d84b5ef7
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Vagrant Cascadian <vagrant <at> debian.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: python-trezor: Update to 0.10.2.
Date: Tue, 28 Aug 2018 14:50:39 -0700
[Message part 6 (text/plain, inline)]
* gnu/packages/finance.scm (python-trezor): Update to 0.10.2.
  [arguments]: Replace check with tests that do not require hardware device.
  [propagated-inputs]: Add python-click, python-libusb1, python-pyblake2 and
    python-typing.
  [native-inputs]: Add python-mock and python-pytest.
---
 gnu/packages/finance.scm | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 7aeaffcc5..28bfb28f4 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -664,23 +664,38 @@ Ledger Blue/Nano S.")
 (define-public python-trezor
   (package
     (name "python-trezor")
-    (version "0.7.16")
+    (version "0.10.2")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "trezor" version))
         (sha256
           (base32
-            "055kii56wgwadl5z911s59ya2fnsqzk3n5i19s2hb9sv2by6knvb"))))
+            "138k6zsqqpb46k3rcpyslm9q7yq5i6k4myvr9n425jnkadf4vfjd"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+        (modify-phases %standard-phases
+          ;; Default tests run device-specific tests which fail, only run specific tests.
+          (replace 'check
+            (lambda* (#:key inputs outputs #:allow-other-keys)
+              (invoke "python" "-m" "pytest" "--pyarg" "trezorlib.tests.unit_tests")
+              (invoke "python" "-m" "pytest" "-m" "slow_cosi" "--pyarg" "trezorlib.tests.unit_tests")
+              )))))
     (propagated-inputs
-     `(("python-ecdsa" ,python-ecdsa)
+     `(("python-click" ,python-click)
+       ("python-ecdsa" ,python-ecdsa)
        ("python-hidapi" ,python-hidapi)
+       ("python-libusb1" ,python-libusb1)
        ("python-mnemonic" ,python-mnemonic)
        ("python-protobuf" ,python-protobuf)
-       ("python-requests" ,python-requests)))
+       ("python-pyblake2" ,python-pyblake2)
+       ("python-requests" ,python-requests)
+       ("python-typing" ,python-typing)))
     (native-inputs
-     `(("python-pyqt" ,python-pyqt))) ; Tests
+     `(("python-mock" ,python-mock) ; Tests
+       ("python-pyqt" ,python-pyqt) ; Tests
+       ("python-pytest" ,python-pytest))) ; Tests
     (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.18.0

[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 6 years and 272 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.