Package Details: python-trezor 0.13.8-1

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.000005
First Submitted: 2018-01-03 14:19 (UTC)
Last Updated: 2023-10-22 05:27 (UTC)

Latest Comments

1 2 Next › Last »

lash commented on 2023-06-18 11:22 (UTC)

I've filed a bug report here on the issue, FYI: https://bugs.archlinux.org/task/78821

lash commented on 2023-06-18 11:13 (UTC)

my trezor stopped working with electrum after python 3.11.

The error for the trezor package when trying to scan for hardware wallet is:

Library version for 'trezor' is incompatible. Installed: 0.13.7, Needed: 0.13.0 <= x < 0.14

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?