From 48189cef99a63bd2ae7818e73392bd4e91c93905 Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Fri, 17 Dec 2021 23:18:01 -0600 Subject: [PATCH] Use 32-bit compatible grpcio for pyblock --- rootfs/standard/usr/bin/mynode_post_upgrade.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rootfs/standard/usr/bin/mynode_post_upgrade.sh b/rootfs/standard/usr/bin/mynode_post_upgrade.sh index eccdc894..284c8a3b 100755 --- a/rootfs/standard/usr/bin/mynode_post_upgrade.sh +++ b/rootfs/standard/usr/bin/mynode_post_upgrade.sh @@ -929,6 +929,11 @@ if should_install_app "pyblock" ; then sudo -u bitcoin mv pyblock-* pyblock cd pyblock + # Patch deps for old versions + if [ $IS_32_BIT = 1 ]; then + sed -i "s/^grpcio.*/grpcio==1.40.0/g" requirements.txt + fi + # Make venv if [ ! -d env ]; then sudo -u bitcoin python3 -m venv env