Disable these pip install warning that are not useful in the console
logs.
WARNING: The scripts easy_install and easy_install-3.6 are installed
in '/home/jenkins/.local/bin' which is not on PATH. Consider adding
this directory to PATH or, if you prefer to suppress this warning use
--no-warn-script-location.
Change-Id: Iddf89e31cc18324ec936799cce378beb3d5809de
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
--- /dev/null
+---
+fixes:
+ - |
+ Disable the pip install warning that are not useful in the console logs.
+
+ 00:25:10 WARNING: The scripts easy_install and easy_install-3.6 are installed in '/home/jenkins/.local/bin' which is not on PATH.
+ 00:25:10 Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
# Use `python -m pip` to ensure we are using pip from user venv
python3 -m venv ~/.local
python3 -m pip install --user --quiet --upgrade pip
- python3 -m pip install --user --quiet --upgrade setuptools
- python3 -m pip install --user --quiet --upgrade --upgrade-strategy eager -r "$requirements_file"
+ python3 -m pip install --user --quiet --no-warn-script-location --upgrade setuptools
+ python3 -m pip install --user --quiet --no-warn-script-location --upgrade --upgrade-strategy eager -r "$requirements_file"
rm -rf "$requirements_file"
touch /tmp/pre-build-complete
fi