GNU bug report logs - #65037
Fix python-daemon, Trezor support

Previous Next

Package: guix-patches;

Reported by: Attila Lendvai <attila <at> lendvai.name>

Date: Thu, 3 Aug 2023 12:54:01 UTC

Severity: normal

Done: Guillaume Le Vaillant <glv <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Attila Lendvai <attila.lendvai <at> gmail.com>, 65037 <at> debbugs.gnu.org
Cc: Attila Lendvai <attila <at> lendvai.name>
Subject: [bug#65037] [PATCH 4/7] gnu: python-trezor: Update to 0.13.7.
Date: Sat, 26 Aug 2023 21:07:17 +0200
Am Donnerstag, dem 03.08.2023 um 15:11 +0200 schrieb Attila Lendvai:
> * gnu/packages/finance.scm (python-trezor): Disable the sanity-check
> phase.
> ---
Again, write out the ChangeLog.
>  gnu/packages/finance.scm | 25 +++++++++++++++----------
>  1 file changed, 15 insertions(+), 10 deletions(-)
> 
> diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
> index e0d6bd6e2c..2d28de0ee4 100644
> --- a/gnu/packages/finance.scm
> +++ b/gnu/packages/finance.scm
> @@ -1092,7 +1092,7 @@ (define-public python-btchip-python
>  (define-public python-trezor
>    (package
>      (name "python-trezor")
> -    (version "0.13.0")
> +    (version "0.13.7")
>      (source
>       (origin
>         (method git-fetch)
> @@ -1101,7 +1101,7 @@ (define-public python-trezor
>               (commit (string-append "python/v" version))))
>         (file-name (git-file-name name version))
>         (sha256
> -        (base32
> "1wy584bxx5p2av4lv1bx9hl1q0b5n7hqz0hnqb9shjriarvl5ckd"))
> +        (base32
> "13wyl9b15c8iscfakprwfvh2akw180hfqdjww79b78ywz51y7hdh"))
>         (modules
>          '((guix build utils)
>            (srfi srfi-26)
> @@ -1127,25 +1127,30 @@ (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-construct
> +           python-click
> +           python-construct-classes
>             python-ecdsa
>             python-hidapi
>             python-libusb1
>             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
> +           python-wheel))
> +    (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))))
IIUC the sanity check shouldn't run on scripts, but rather public
modules.  You might want to check that there isn't some unmet
dependency or write a comment that more truthfully reflects the cause
of failure, e.g. "This module requires an active Trezor blafoo to be
loaded."

Cheers

This bug report was last modified 1 year and 231 days ago.

Previous Next


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