Use 32-bit compatible grpcio for pyblock

This commit is contained in:
Taylor Helsper 2021-12-17 23:18:01 -06:00
parent 70053382e6
commit 48189cef99

View File

@ -929,6 +929,11 @@ if should_install_app "pyblock" ; then
sudo -u bitcoin mv pyblock-* pyblock sudo -u bitcoin mv pyblock-* pyblock
cd 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 # Make venv
if [ ! -d env ]; then if [ ! -d env ]; then
sudo -u bitcoin python3 -m venv env sudo -u bitcoin python3 -m venv env