From e9bcf3b8df2f781148cc668aeebe8d168c9d79ba Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Mon, 7 Aug 2023 11:33:30 +0200 Subject: [PATCH] Tools: disable pip install progress bar on github action --- Tools/environment_install/install-prereqs-ubuntu.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tools/environment_install/install-prereqs-ubuntu.sh b/Tools/environment_install/install-prereqs-ubuntu.sh index b8d821253f..394958f6e4 100755 --- a/Tools/environment_install/install-prereqs-ubuntu.sh +++ b/Tools/environment_install/install-prereqs-ubuntu.sh @@ -336,6 +336,7 @@ if $IS_DOCKER; then fi PIP_USER_ARGUMENT="--user" + # create a Python venv on more recent releases: if [ ${RELEASE_CODENAME} == 'lunar' ]; then $APT_GET install python3.11-venv @@ -364,6 +365,10 @@ fi # try update setuptools and wheel before installing pip package that may need compilation $PIP install $PIP_USER_ARGUMENT -U setuptools wheel +if [ "$GITHUB_ACTIONS" == "true" ]; then + PIP_USER_ARGUMENT+=" --progress-bar off" +fi + if [ ${RELEASE_CODENAME} == 'lunar' ]; then # must do this ahead of wxPython pip3 run :-/ $PIP install $PIP_USER_ARGUMENT -U attrdict3