From 878a0e2b9e0b3d641cef838f0010299dc82c6258 Mon Sep 17 00:00:00 2001 From: Andrzej Potepa <52977033+gruuk@users.noreply.github.com> Date: Thu, 16 Sep 2021 16:56:22 +0200 Subject: [PATCH] Adjust to changes in chia 1.2.6 clvm_rs version update to 0.1.11 sed hack needs to update keyring_wrapper.py instead of keychain.py --- post_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/post_install.sh b/post_install.sh index ce8b32c..3575f1b 100755 --- a/post_install.sh +++ b/post_install.sh @@ -17,7 +17,7 @@ pip install --upgrade pip # Build and install clvm_rs cd /root -git clone -b 0.1.10 https://github.com/Chia-Network/clvm_rs.git +git clone -b 0.1.11 https://github.com/Chia-Network/clvm_rs.git cd clvm_rs maturin develop --release pip install git+https://github.com/Chia-Network/clvm@use_clvm_rs @@ -25,7 +25,7 @@ pip install git+https://github.com/Chia-Network/clvm@use_clvm_rs # Hack(s)! cd /root/chia-blockchain -sed -i '' 's|elif platform == "linux":|elif platform == "linux" or platform.startswith("freebsd"):|g' chia/util/keychain.py +sed -i '' 's|elif platform == "linux":|elif platform == "linux" or platform.startswith("freebsd"):|g' chia/util/keyring_wrapper.py sed -i '' 's|cryptography==3.4.7|cryptography==3.3.2|g' setup.py # Moar Hacks!