Package Details: python-trezor 0.13.6-2

Git Clone URL: (read-only, click to copy)
Package Base: python-trezor
Description: Python 3 library for communicating with the TREZOR Bitcoin hardware wallet
Upstream URL:
Licenses: LGPL3
Conflicts: trezorctl
Provides: python-trezor, trezorctl
Submitter: xaiuweb
Maintainer: pizzaman
Last Packager: pizzaman
Votes: 9
Popularity: 0.002911
First Submitted: 2018-01-03 14:19 (UTC)
Last Updated: 2023-05-16 05:50 (UTC)

Latest Comments

1 2 Next › Last »

pizzaman commented on 2023-05-16 05:54 (UTC)

@digital_mystik Thanks for the heads up. Updated dependencies.

digital_mystik commented on 2023-05-14 22:39 (UTC)

it also appears that python-construct-classes and python-simple-rlp are needed as dependencies per requirements.txt (now packaged in the AUR) - pyblake2 is dropped unless I'm not seeing it as well (not in requirements or requirements-optional)

digital_mystik commented on 2023-05-14 21:55 (UTC)

Does python-pyblake2 fail to build for anyone else? I ended up just removing it from the PKGBUILD locally, but am not sure if it is really needed.

pizzaman commented on 2022-09-13 15:12 (UTC) (edited on 2022-09-13 15:31 (UTC) by pizzaman)

crabvk flagged python-trezor out-of-date on 2022-09-13 (UTC) for the following reason:

The latest version is 0.13.4 Please bump the version.


The change you reference is part of the commit "chore(python): bump version after release" bumping version 0.13.3 -> 0.13.4 the latter is an unreleased version, the latest released (tagged and published in version is 0.13.3, which has all the commits up to the date of the version bump.

This package is intended to follow released versions only. What_is_the_difference_between_foo_and_foo-git_packages?

pizzaman commented on 2022-04-24 07:38 (UTC)

$ trezorctl
Traceback (most recent call last):
  File "/usr/sbin/trezorctl", line 33, in <module>
    sys.exit(load_entry_point('trezor==0.13.0', 'console_scripts', 'trezorctl')())
  File "/usr/sbin/trezorctl", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/", line 171, in load
    module = import_module('module'))
  File "/usr/lib/python3.10/importlib/", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/trezorlib/cli/", line 191, in <module>
AttributeError: 'TrezorctlGroup' object has no attribute 'resultcallback'. Did you mean: 'result_callback'? Solution: Downgrade python-click < 8.1

agru commented on 2021-02-19 13:40 (UTC)

Please add python-attrs to the list of dependencies.

File "/usr/lib/python3.9/site-packages/trezorlib/", line 5, in <module>
  import attr
ModuleNotFoundError: No module named 'attr'

veox commented on 2020-01-15 05:31 (UTC) (edited on 2020-01-15 06:52 (UTC) by veox)

Repo in the "Upstream URL" has been archived, with message:

Don't use this repo, use the new monorepo instead:

(Looks like it's under the python dir there.)

lash commented on 2019-12-06 10:37 (UTC) (edited on 2019-12-06 10:41 (UTC) by lash)

Version 0.11.5-1, got;

pkg_resources.DistributionNotFound: The 'libusb1>=1.6.4' distribution was not found and is required by trezor
pkg_resources.DistributionNotFound: The 'mnemonic>=0.17' distribution was not found and is required by trezor

Perhaps put version constraints in depend?

yate commented on 2018-12-28 21:09 (UTC)

I fixed the construct error, but the typing_extensions issue will take a bit longer because there is no package in the AUR. I will take a look in a couple days, currently on vacation.

ndr76 commented on 2018-12-28 12:10 (UTC)

$ trezorctl list                                             [3/2000]
Traceback (most recent call last):
  File "/bin/trezorctl", line 1793, in <module>
    cli()  # pylint: disable=E1120
  File "/usr/lib/python3.7/site-packages/click/", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/click/", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.7/site-packages/click/", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3.7/site-packages/click/", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.7/site-packages/click/", line 555, in invoke
    return callback(*args, **kwargs)
  File "/bin/trezorctl", line 176, in ls
    return enumerate_devices()
  File "/usr/lib/python3.7/site-packages/trezorlib/transport/", line 118, in enumerate_dev
    for transport in all_transports():
  File "/usr/lib/python3.7/site-packages/trezorlib/transport/", line 105, in all_transport
    from .hid import HidTransport
  File "/usr/lib/python3.7/site-packages/trezorlib/transport/", line 23, in <module>
    from .protocol import ProtocolBasedTransport, ProtocolV1
  File "/usr/lib/python3.7/site-packages/trezorlib/transport/", line 23, in <module>
    from typing_extensions import Protocol as StructuralType
ModuleNotFoundError: No module named 'typing_extensions'

This looks like one more dependency that is missing.