Use pip list for saved output
With zuulv3 cloning, "pip freeze" doesn't show useful values for repo installs as they don't have a remote. Devstack switched to using "pip list" in I33d25f86b6afcadb4b190a0f6c53311111c64521; do the same here and also update the help page. Change-Id: Id30cae9539b796dde51e4ea1834d4247e4b134da
This commit is contained in:
@@ -754,8 +754,8 @@ function cleanup_host {
|
|||||||
|
|
||||||
for py_ver in 2 3; do
|
for py_ver in 2 3; do
|
||||||
if [[ `which python${py_ver}` ]]; then
|
if [[ `which python${py_ver}` ]]; then
|
||||||
python${py_ver} -m pip freeze > $WORKSPACE/pip${py_ver}-freeze.txt
|
python${py_ver} -m pip list --format=legacy > $WORKSPACE/pip${py_ver}-list.txt
|
||||||
save_file $WORKSPACE/pip${py_ver}-freeze.txt
|
save_file $WORKSPACE/pip${py_ver}-list.txt
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
@@ -94,7 +94,8 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<li> <b>system</b>
|
<li> <b>system</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="pip-freeze.txt.gz">pip-freeze.txt.gz</a>: List of pip installed python packages. Output of 'pip freeze'
|
<li><a href="pip2-list.txt.gz">pip2-list.txt.gz</a>: List of pip installed python2 packages. Output of 'pip list --format=legacy'
|
||||||
|
<li><a href="pip3-list.txt.gz">pip3-list.txt.gz</a>: List of pip installed python3 packages. Output of 'pip list --format=legacy'
|
||||||
<li><a href="dpkg-l.txt.gz">dpkg-l.txt.gz</a>: List of apt-get installed packages. Output of 'dpkg -l'
|
<li><a href="dpkg-l.txt.gz">dpkg-l.txt.gz</a>: List of apt-get installed packages. Output of 'dpkg -l'
|
||||||
<li><a href="df.txt.gz">df.txt.gz</a>:
|
<li><a href="df.txt.gz">df.txt.gz</a>:
|
||||||
<li><a href="rpm-qa.txt.gz">rpm-qa.txt.gz</a>: List of rpm installed packages. Output of 'rpm -qa'
|
<li><a href="rpm-qa.txt.gz">rpm-qa.txt.gz</a>: List of rpm installed packages. Output of 'rpm -qa'
|
||||||
|
|||||||
Reference in New Issue
Block a user