Add pip freeze to python-tools-install 19/62919/2
authorLott, Christopher (cl778h) <cl778h@att.com>
Thu, 23 Jan 2020 19:07:42 +0000 (14:07 -0500)
committerLott, Christopher (cl778h) <cl778h@att.com>
Thu, 23 Jan 2020 19:20:08 +0000 (14:20 -0500)
Package version details support detection of changes in dependencies
like pip

Change-Id: Ic1b8a943c03e497aa1af85370d16e2bc5bc2c081
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
releasenotes/notes/python-tools-install-log-c7a79489fcb6b4f1.yaml [new file with mode: 0644]
shell/python-tools-install.sh

diff --git a/releasenotes/notes/python-tools-install-log-c7a79489fcb6b4f1.yaml b/releasenotes/notes/python-tools-install-log-c7a79489fcb6b4f1.yaml
new file mode 100644 (file)
index 0000000..6871fe6
--- /dev/null
@@ -0,0 +1,7 @@
+---
+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.
index 5c9dc62..2b2b0f8 100644 (file)
@@ -37,6 +37,8 @@ EOF
     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