From c822bb4f06248f1c486fdee3a72efb1901349f6f Mon Sep 17 00:00:00 2001 From: motoxcrazy <98480574+motoxcrazy@users.noreply.github.com> Date: Thu, 31 Mar 2022 12:02:19 +1300 Subject: [PATCH] Force Werkzeug 2.0.0 Not sure if final solution but this should force Werkzeug 2.0.0 to be installed after Flask install and overwrite the version used in Flask install. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 401dc77..498b5ab 100755 --- a/install.sh +++ b/install.sh @@ -47,7 +47,7 @@ function install_pips { declare -A pips=( ["Requests"]="requests>=2.26.0" ["Pillow"]="pillow==8.4.0" ["Telebot"]="--upgrade pyTelegramBotAPI" ["Dateutil"]="python-dateutil" ["ConfigParser"]="configparser>=5.0.0"\ ["Google components"]="--upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib"\ ["SPI Libs"]="spidev==3.5" ["Pandas"]="pandas==1.2.0 numpy==1.20" ["Flask"]="flask>=2.0.2" ["Flask-WTF"]="flask-wtf==1.0.0" \ - ["Flask-Login"]="flask-login==0.5.0" ["WTForms"]="wtforms>=3.0.0") + ["Flask-Login"]="flask-login==0.5.0" ["WTForms"]="wtforms>=3.0.0" ["Werkzeug"]="werkzeug~=2.0.0") for pip in "${!pips[@]}"; do printf '\e[1;37m%-30s\e[m' "Installing $pip:" if [ "$pip" == "Google components" ] || [ "$pip" == "Pandas" ] || [ "$pip" == "Telebot" ]; then