1
0

requirements-hw: re-add Cython

this reverts ec496a8222
Cython must be pinned down for reproducible builds
related #5859
This commit is contained in:
SomberNight
2020-01-22 12:08:30 +01:00
parent c7a21220d5
commit 80025a3af4
3 changed files with 41 additions and 0 deletions

View File

@@ -1,3 +1,13 @@
# Note: hidapi requires Cython as a build-time dependency (it is not needed at runtime).
# For reproducible builds, the version of Cython must be pinned down.
# Further, the pinned Cython must be installed before hidapi is built;
# otherwise hidapi just downloads the latest Cython. To enforce order,
# Cython must be listed before hidapi. Notably this also applies to
# deterministic-build/requirements-hw.txt where items are lexicographically sorted.
# Hence, we rely on "Cython" preceding "hidapi" lexicographically... :/
# see https://github.com/spesmilo/electrum/issues/5859
Cython>=0.27
trezor[hidapi]>=0.11.5
safet[hidapi]>=0.1.0
keepkey>=6.3.1