From 4c7da003c6793479eaf378d6fbdb938218aa08ce Mon Sep 17 00:00:00 2001 From: ewilly Date: Fri, 10 Feb 2023 21:15:38 +0100 Subject: [PATCH] Add pip upgrade --- scripts/_common.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 99fbd32..4ea9640 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -142,11 +142,8 @@ myynh_install_homeassistant () { # add pip ynh_exec_as $app "$final_path/bin/python3" -m ensurepip - # install last version of wheel - ynh_exec_as $app "$final_path/bin/pip3" --cache-dir "$data_path/.cache" install --upgrade wheel - - # install last version of mysqlclient - ynh_exec_as $app "$final_path/bin/pip3" --cache-dir "$data_path/.cache" install --upgrade mysqlclient + # install last version of wheel, pip & mysqlclient + ynh_exec_as $app "$final_path/bin/pip3" --cache-dir "$data_path/.cache" install --upgrade wheel pip mysqlclient # install Home Assistant ynh_exec_as $app "$final_path/bin/pip3" --cache-dir "$data_path/.cache" install --upgrade $app==$app_version