From b296683ff43506365e9bb3abf9f7a187e3ab560a Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Sun, 30 Jun 2024 15:14:43 +0200 Subject: Enabling back pip update with changes to its function Now uses a python virtual environment --- bin/update-everything.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/update-everything.sh b/bin/update-everything.sh index 5845b71..206c090 100755 --- a/bin/update-everything.sh +++ b/bin/update-everything.sh @@ -81,9 +81,9 @@ pip_update(){ printf_n_notify "pip update" - python3 -m pip list --outdated --format=json | \ + "$HOME/workbench/pyvenv/bin/pip3" list --outdated --format=json | \ jq -r '.[] | "\(.name)==\(.latest_version)"' | \ - xargs -n1 pip3 install -U + xargs -n1 "$HOME/workbench/pyvenv/bin/pip3" install --upgrade } @@ -118,7 +118,7 @@ remote_update printf_accross_width "%" non_free_update printf_accross_width "%" -#pip_update # 2023/01/09 : currently not a stable solution to update pip packages +pip_update printf_accross_width "%" update_scripts_repo printf_accross_width "%" -- cgit v1.2.3