From ca5817c3d2d3d5dbef93f04c98f6188317c41b6b Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Tue, 1 Feb 2022 10:53:28 +0300 Subject: [PATCH] builder: fix Butterfly installation Fix the `can't find Rust compiler` error using the older PyOpenSSL to not update `cryptography` because newer `cryptography` requires Rust to install. --- builder/image-software.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/builder/image-software.sh b/builder/image-software.sh index 079941e2..8b61bb66 100755 --- a/builder/image-software.sh +++ b/builder/image-software.sh @@ -138,6 +138,7 @@ echo_stamp "Install and enable Butterfly (web terminal)" echo_stamp "Workaround for tornado >= 6.0 breaking butterfly" export CRYPTOGRAPHY_DONT_BUILD_RUST=1 my_travis_retry pip3 install cryptography==3.4.6 # https://stackoverflow.com/a/68472128/6850197 +my_travis_retry pip3 install pyOpenSSL==20.0.1 my_travis_retry pip3 install tornado==5.1.1 my_travis_retry pip3 install butterfly my_travis_retry pip3 install butterfly[systemd]