From 58e7ec31b724fcc0a16830a0c38087b4e2698af1 Mon Sep 17 00:00:00 2001 From: Marko Bencun Date: Mon, 29 May 2023 04:00:26 +0200 Subject: [PATCH] py: require hidapi>=0.14.0 Fixing https://github.com/trezor/cython-hidapi/issues/151, which includes the fix https://github.com/libusb/hidapi/issues/531, which fixes a bug where on macOS, the interface number of all hid interfaces would be 0. This lead to one BitBox02 multi being listed twice instead of once (as it exposes a second interface for U2F). --- py/bitbox02/CHANGELOG.md | 1 + py/bitbox02/setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/py/bitbox02/CHANGELOG.md b/py/bitbox02/CHANGELOG.md index efb832912d..38fdf9aede 100644 --- a/py/bitbox02/CHANGELOG.md +++ b/py/bitbox02/CHANGELOG.md @@ -2,6 +2,7 @@ ## 6.2.0 - btc_sign: allow displaying BTC values in the 'sat' unit +- require hidapi 0.14.0 to fix a bug on macOS 13.3 which lists two BitBox02s instead of one ## 6.1.1 - Update protobuf dependency to >= 3.20, for better compatibility diff --git a/py/bitbox02/setup.py b/py/bitbox02/setup.py index 20cfc48cb9..a4356e4d21 100644 --- a/py/bitbox02/setup.py +++ b/py/bitbox02/setup.py @@ -73,7 +73,7 @@ def find_version() -> str: ], }, install_requires=[ - "hidapi>=0.7.99.post21", + "hidapi>=0.14.0", "noiseprotocol>=0.3", "protobuf>=3.20", "ecdsa>=0.14",