Browse Source
trezorlib requires "dataclasses ; python_version<'3.7'", and our min supported python version is 3.6, so freeze_packages.sh pins down a version of "dataclasses". However, when creating binaries we use newer versions of python (typically py3.9 atm), for which dataclasses is not available (it's a backport of py3.7 stuff). Hmhm, what to do... short-term, I am manually removing the dataclasses pin, so it won't be installed in our binaries. ``` Collecting construct==2.10.67 Downloading construct-2.10.67.tar.gz (57 kB) |████████████████████████████████| 57 kB 2.7 MB/s Preparing metadata (setup.py) ... done Requirement already satisfied: cryptography==36.0.1 in ./build/appimage/electrum.AppDir/usr/lib/python3.9/site-packages (from -r /opt/electrum/contrib/build-linux/appimage/../../../contrib/deterministic-build/requirements-hw.txt (line 74)) (36.0.1) ERROR: Could not find a version that satisfies the requirement dataclasses==0.8 (from versions: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6) ERROR: No matching distribution found for dataclasses==0.8 ```patch-4
SomberNight
3 years ago
1 changed files with 0 additions and 3 deletions
Loading…
Reference in new issue