From 828e9cae4f50b6ceec99efa6ea20aa34803a3eef Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Thu, 16 Sep 2021 09:26:02 +0200 Subject: [PATCH] Add "--upgrade" to upgrade python venv call --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index e45aba9..d9ef829 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -87,7 +87,7 @@ ynh_add_systemd_config --service="$app" --template="pyinventory.service" #================================================= ynh_script_progression --message="Upgrade project via pip..." --weight=80 -python3 -m venv "${final_path}/venv" +python3 -m venv --upgrade "${final_path}/venv" cp ../conf/requirements.txt "$final_path/requirements.txt" chown -R "$app" "$final_path"