Package version details support detection of changes in dependencies
like pip
Change-Id: Ic1b8a943c03e497aa1af85370d16e2bc5bc2c081
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
--- /dev/null
+---
+fixes:
+ - |
+ Extend script python-tools-install.sh to invoke pip freeze.
+ This shows installed package versions in the log and allows
+ detecting changes like the Jan 2020 release of pip v20 that
+ broke various assumptions and behaviors.
python3 -m pip install --user --quiet --upgrade pip
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"
+ # installs are silent, show version details in log
+ python3 -m pip freeze
rm -rf "$requirements_file"
touch /tmp/pre-build-complete
fi