cl.install: fix mistune version to 0.8.4

related: https://github.com/refi64/mrkd/pull/6
This commit is contained in:
openoms
2021-12-08 21:31:34 +00:00
parent 716a091c84
commit 2807623716

View File

@@ -97,7 +97,8 @@ if [ "$1" = "install" ]; then
autoconf automake build-essential git libtool libgmp-dev \
libsqlite3-dev python3 python3-mako net-tools zlib1g-dev libsodium-dev \
gettext unzip
sudo pip3 install mrkd
sudo pip3 install mrkd==0.2.0
sudo pip3 install mistune==0.8.4
sudo -u admin unzip clightning-${CLVERSION}.zip
cd clightning-${CLVERSION} || exit 1
@@ -125,6 +126,7 @@ if [ "$1" = "install" ]; then
sudo -u admin lightning-cli --version
exit 1
fi
echo
echo "- OK the installation of C-lightning v${installed} is successful"
exit 0
fi
@@ -181,9 +183,11 @@ if [ "$1" = on ]||[ "$1" = update ]||[ "$1" = testPR ];then
echo "# Installing dependencies"
echo
sudo apt-get install -y \
autoconf automake build-essential git libtool libgmp-dev \
libsqlite3-dev python3 python3-mako net-tools zlib1g-dev libsodium-dev \
gettext
autoconf automake build-essential git libtool libgmp-dev \
libsqlite3-dev python3 python3-mako net-tools zlib1g-dev libsodium-dev \
gettext
sudo pip3 install mrkd==0.2.0
sudo pip3 install mistune==0.8.4
####################################
# Download and compile from source #
@@ -227,13 +231,6 @@ if [ "$1" = on ]||[ "$1" = update ]||[ "$1" = testPR ];then
sudo -u bitcoin git reset --hard $CLVERSION
fi
echo "Installing additional dependencies"
sudo apt-get install -y valgrind python3-pip libpq-dev
if ! sudo pip3 install -r requirements.txt; then
# just in case building the requirements fails
sudo pip3 install mrkd
fi
echo "# Building with EXPERIMENTAL_FEATURES enabled"
echo
sudo -u bitcoin ./configure --enable-experimental-features