Package Details: python-hwilib 3.1.0-3

Git Clone URL: https://aur.archlinux.org/python-hwilib.git (read-only, click to copy)
Package Base: python-hwilib
Description: The Bitcoin Hardware Wallet Interface is a Python library and command line tool for interacting with hardware wallets.
Upstream URL: https://github.com/bitcoin-core/HWI
Licenses: MIT
Submitter: bitcoinlizard
Maintainer: bitcoinlizard
Last Packager: bitcoinlizard
Votes: 1
Popularity: 0.000000
First Submitted: 2021-05-15 03:58 (UTC)
Last Updated: 2025-03-15 13:35 (UTC)

Pinned Comments

Latest Comments

1 2 Next › Last »

bitcoinlizard commented on 2025-06-15 14:13 (UTC)

@pizzaman - I don't think it is currently possible to upgrade to pyside6/qt6-base. Please see this from the project maintainer: https://github.com/bitcoin-core/HWI/pull/691

pizzaman commented on 2025-06-15 07:48 (UTC) (edited on 2025-06-15 08:02 (UTC) by pizzaman)

Thanks for maintaining this package.
It would benefit from updating some dependencies:
qt5-base->qt6-base
pyside2->pyside6
pyside2-tools->pyside6-tools
poetry-code=2.1.2

pizzaman commented on 2025-03-04 09:36 (UTC)

Dependency python-noiseprotocol-git is no longer needed and will be deleted as python-noiseprotocol is now available in the extra repository please update.

hossbeast commented on 2023-04-02 17:53 (UTC)

@bitcoinlizard - thank you. I get a build-error with python-cbor - shared here https://aur.archlinux.org/packages/python-cbor

I filed a request with upstream regarding the bitbox dep - https://github.com/bitcoin-core/HWI/issues/675

bitcoinlizard commented on 2023-04-01 22:44 (UTC)

@hossbeast - Thank you for pointing out this issue. python-protobuf was a missing dependency in this PKGBUILD. I have pushed a new revision with python-protobuf and a couple of other missing dependencies. This should resolve your issue.

Indeed, python-bitbox02 seems like an odd required dependency but this is listed as a dependency by upstream:

https://github.com/bitcoin-core/HWI/blob/master/pyproject.toml

hossbeast commented on 2023-04-01 18:26 (UTC) (edited on 2023-04-01 19:52 (UTC) by hossbeast)

I don't know what the problem is, but I can see with strace, that error is printed after opening a file that's part of bitbox

/usr/lib/python3.10/site-packages/bitbox02/communication/generated/hww_pb2.py

I can rebuild and re-install the package with python-bitbox02 removed from depends, then remove python-bitbox2 from the system, and then I can then use hwi to interact with my device, though I need to ignore this warning,

WARNING:root:No module named 'bitbox02', required for bitbox02. Ignore if you do not want this device.

It seems like bitbox is actually an optional dependency, and it kind of stands out in the dependency list as the only one pertaining to one particular vendor.

Also, even with that done, hwi-qt fails to run without the bitbox02 dependency installed.

hossbeast commented on 2023-04-01 18:07 (UTC)

Is the build missing a step to generate some python protobuf code?

% hwi enumerate
Run `make py` to generate the protobuf messages

% which hwi
/usr/bin/hwi

% pacman -Qo /usr/bin/hwi
/usr/bin/hwi is owned by python-hwilib 2.2.1-1

% pacman -Qi python-hwilib
Name            : python-hwilib
Version         : 2.2.1-1
Build Date      : Sat 01 Apr 2023 10:46:23 AM PDT
Install Date    : Sat 01 Apr 2023 10:46:27 AM PDT

I used yay --rebuildtree to clean build python-hwilib and all dependencies

bitcoinlizard commented on 2022-05-10 02:49 (UTC)

@RealOrRandom - Sorry about that. Pacaur doesn't seem to mind or I would have fixed it sooner. You should be all set. Thanks for letting me know.