#4654 pyblock 2.7.2 (#4657)

* Update pyblock to v2.7.2
This commit is contained in:
/rootzoll 2024-07-24 12:00:26 +02:00 committed by GitHub
parent 1183448f4f
commit 1e5ea5ff6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@
- Update: show progress of electrs building index on LCD - Update: show progress of electrs building index on LCD
- Update: lndmanage 0.16.0 [details](https://github.com/bitromortac/lndmanage) - Update: lndmanage 0.16.0 [details](https://github.com/bitromortac/lndmanage)
- Update: Lightning Terminal v0.12.5-alpha [details](https://github.com/lightninglabs/lightning-terminal/releases/tag/v0.12.5-alpha) - Update: Lightning Terminal v0.12.5-alpha [details](https://github.com/lightninglabs/lightning-terminal/releases/tag/v0.12.5-alpha)
- Update: PyBlock 2.7.1 [details](https://github.com/curly60e/pyblock/blob/master/README.md) - Update: PyBlock 2.7.2 [details](https://github.com/curly60e/pyblock/blob/master/README.md)
- Experimental: charge-lnd install script [details](https://github.com/raspiblitz/raspiblitz/discussions/3955) - Experimental: charge-lnd install script [details](https://github.com/raspiblitz/raspiblitz/discussions/3955)
- Experimental: config.scripts/lnd.signaddress.sh to easy sign messages on addresses on LND [details](https://github.com/raspiblitz/raspiblitz/issues/4540) - Experimental: config.scripts/lnd.signaddress.sh to easy sign messages on addresses on LND [details](https://github.com/raspiblitz/raspiblitz/issues/4540)
- Experimental: config.scripts/bonus.elements.sh install elements blockchain platform [details](https://github.com/ElementsProject/elements) - Experimental: config.scripts/bonus.elements.sh install elements blockchain platform [details](https://github.com/ElementsProject/elements)

View file

@ -48,13 +48,13 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
# install from github # install from github
sudo -u pyblock git clone https://github.com/curly60e/pyblock.git sudo -u pyblock git clone https://github.com/curly60e/pyblock.git
cd pyblock cd pyblock
sudo -u pyblock git checkout v2.7.1 sudo -u pyblock git checkout v2.7.2
sudo -u pyblock sed -i 's/^python =.*$/python = ">=3.11,<4.0"/' pyproject.toml sudo -u pyblock sed -i 's/^python =.*$/python = ">=3.11,<4.0"/' pyproject.toml
sudo -u pyblock poetry lock sudo -u pyblock poetry lock
sudo -u pyblock poetry install sudo -u pyblock poetry install
envPath=$(sudo -u pyblock poetry env info --path) envPath=$(sudo -u pyblock poetry env info --path)
sudo -u pyblock ${envPath}/bin/pip uninstall -y typer click # sudo -u pyblock ${envPath}/bin/pip uninstall -y typer click
sudo -u pyblock ${envPath}/bin/pip install typer==0.4.0 click==8.0.0 # sudo -u pyblock ${envPath}/bin/pip install typer==0.4.0 click==8.0.0
# set PATH for the user # set PATH for the user
sudo bash -c "echo 'PATH=\$PATH:${envPath}/bin' >> /home/pyblock/.profile" sudo bash -c "echo 'PATH=\$PATH:${envPath}/bin' >> /home/pyblock/.profile"