Fix Pyblock 2.2.3 (#4427)

* Workaround
This commit is contained in:
/rootzoll 2024-02-18 23:27:07 +01:00 committed by GitHub
parent ffea31dfd6
commit 85871f325a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View file

@ -21,6 +21,7 @@
- Update: LNbits 0.11.3 [details](https://github.com/lnbits/lnbits/releases/tag/0.11.3)
- Update: Circuitbreaker v0.5.1 [details](https://github.com/lightningequipment/circuitbreaker/blob/master/README.md)
- Experimental: LNDK (runs on top of LND to help forward onion messages (BOLT 12)) [details](https://github.com/lndk-org/lndk)
- Fix: PyBlock 2.2.3 [details](https://github.com/curly60e/pyblock/blob/master/README.md)
- Refactor: Wifi config with file on sd card
- Deprecated: Homer Dashboard (remove from SSH menus, config script will stay with possible future removal)
- Deprecated: Bitcoinminds (remove from SSH menus, config script will stay with possible future removal)

View file

@ -41,8 +41,15 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
# install hexyl
sudo apt-get install -y hexyl html2text
## WORKAROUND: see https://github.com/raspiblitz/raspiblitz/issues/4383
# install via pip
sudo -u pyblock pip3 install pybitblock
# sudo -u pyblock pip3 install pybitblock
# install from github
sudo -u pyblock git clone https://github.com/curly60e/pyblock.git
cd pyblock
sudo -u pyblock git checkout v2.2.3
sudo -u pyblock sed -i 's/jq = "1.2.2"/jq = "1.2.3"/' pyproject.toml
sudo -u pyblock pip install .
# set PATH for the user
sudo bash -c "echo 'PATH=\$PATH:/home/pyblock/.local/bin/' >> /home/pyblock/.profile"