Package Details: python-trezor 0.13.6-2

Git Clone URL: https://aur.archlinux.org/python-trezor.git (read-only, click to copy)
Package Base: python-trezor
Description: Python 3 library for communicating with the TREZOR Bitcoin hardware wallet
Upstream URL: https://github.com/trezor/trezor-firmware/tree/master/python
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 https://github.com/trezor/trezor-firmware/blob/master/python/src/trezorlib/__init__.py#L17 Please bump the version.

@crabvk

The change you reference is part of the commit "chore(python): bump version after release" https://github.com/trezor/trezor-firmware/commit/b01778c9ce5e2a8acd85fe2106f6cb6a72579904 bumping version 0.13.3 -> 0.13.4 the latter is an unreleased version, the latest released (tagged and published in pypi.org) 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/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", 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/trezorctl.py", line 191, in <module>
    @cli.resultcallback()
AttributeError: 'TrezorctlGroup' object has no attribute 'resultcallback'. Did you mean: 'result_callback'?

https://github.com/trezor/trezor-firmware/issues/2199 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/toif.py", 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: https://github.com/trezor/trezor-firmware

(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/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.7/site-packages/click/core.py", 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/__init__.py", line 118, in enumerate_dev
ices
    for transport in all_transports():
  File "/usr/lib/python3.7/site-packages/trezorlib/transport/__init__.py", line 105, in all_transport
s
    from .hid import HidTransport
  File "/usr/lib/python3.7/site-packages/trezorlib/transport/hid.py", line 23, in <module>
    from .protocol import ProtocolBasedTransport, ProtocolV1
  File "/usr/lib/python3.7/site-packages/trezorlib/transport/protocol.py", 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.