Replace pip freeze with pipdeptree 06/62606/1
authorAnil Belur <abelur@linuxfoundation.org>
Mon, 4 Sep 2017 09:39:21 +0000 (19:39 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 4 Sep 2017 09:39:21 +0000 (19:39 +1000)
Change-Id: Ic3306f23975ff75ba50efdd807f3dc9d5fc55dfc
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
jjb/autorelease/autorelease-macros.yaml
jjb/docs/docs-rtd.yaml
jjb/integration/integration-install-robotframework.sh
jjb/opendaylight-infra-cleanup-stale-stacks.sh
jjb/opendaylight-infra-stack.sh
jjb/opendaylight-infra-update-image-list.sh
jjb/releng-templates.yaml
jjb/spectrometer/spectrometer-jobs.yaml

index b868d9c868d46dbc73a8b544148ed95c4c818e80..6271d8ae450147b27588ef97320afbde883c8b55 100644 (file)
@@ -55,7 +55,8 @@
           PYTHON="$WORKSPACE/venv/bin/python"
           $PYTHON -m pip install --upgrade pip
           $PYTHON -m pip install --upgrade networkx
-          $PYTHON -m pip freeze
+          $PYTHON -m pip install --upgrade pipdeptree
+          pipdeptree
           ./scripts/determine-merge-order.py
           deactivate
           rm -rf $WORKSPACE/venv
index 2609772dc2517cdcc1ae0494ede54a55fa083007..da3ee65d1d68febf98d24fd3466415b66d39439f 100644 (file)
           source $WORKSPACE/venv/bin/activate
           PYTHON="$WORKSPACE/venv/bin/python"
           $PYTHON -m pip install --upgrade pip
-          $PYTHON -m pip freeze
+          $PYTHON -m pip install --upgrade pipdeptree
           $PYTHON -m pip install tox
+          pipdeptree
           tox -edocs
 
           # Archive generated docs
index e79699e302053514378623c6547eb0222c77a8ae..adf1f86b703e6e3369807a0380fe520d59d34566 100644 (file)
@@ -64,6 +64,7 @@ pip install networking-l2gw
 pip install python-neutronclient==6.1.0
 
 # Print installed versions.
-pip freeze
+pip install --upgrade pipdeptree
+pipdeptree
 
 # vim: sw=4 ts=4 sts=4 et ft=sh :
index 7bf11b42ce7f8db5ffc85a449c61cfe80d00a352..18a5a969136446f9c34141215e98ffc529fe7708 100644 (file)
@@ -14,7 +14,8 @@ virtualenv "/tmp/v/openstack"
 source "/tmp/v/openstack/bin/activate"
 pip install --upgrade pip
 pip install --upgrade python-openstackclient python-heatclient
-pip freeze
+pip install --upgrade pipdeptree
+pipdeptree
 
 #########################
 ## FETCH ACTIVE BUILDS ##
index f68f6a00866709eb33ddd36c2b7a1d137b34fa3b..54f65e137cd66db04505c05df69cfba05b53bf32 100644 (file)
@@ -14,7 +14,8 @@ virtualenv "/tmp/v/openstack"
 source "/tmp/v/openstack/bin/activate"
 pip install --upgrade pip
 pip install --upgrade python-openstackclient python-heatclient
-pip freeze
+pip install --upgrade pipdeptree
+pipdeptree
 
 cd /builder/openstack-hot || exit 1
 
index 9875aa158e698a1ac310271bf52d443a21e6c9a4..c0db2dfe774080193d2327c3e7d1e00f96216819 100644 (file)
@@ -14,7 +14,8 @@ virtualenv "/tmp/v/openstack"
 source "/tmp/v/openstack/bin/activate"
 pip install --upgrade --quiet pip
 pip install --upgrade --quiet python-openstackclient python-heatclient
-pip freeze
+pip install --upgrade pipdeptree
+pipdeptree
 
 cat > "$WORKSPACE/docs/cloud-images.rst" << EOF
 Following are the list of published images available to be used with Jenkins jobs.
index 422c8690dace1a0968c83c4254542b4c8bad98e2..c4bf31156629890d27ee9e04b0aa91dd0d67f62f 100644 (file)
           PYTHON="$WORKSPACE/venv-tox/bin/python"
           $PYTHON -m pip install --upgrade pip
           $PYTHON -m pip install --upgrade tox argparse
-          $PYTHON -m pip freeze
+          $PYTHON -m pip install --upgrade pipdeptree
+          pipdeptree
           cd $WORKSPACE/repo/{toxdir}
           tox
 
           PYTHON="$WORKSPACE/venv-python/bin/python"
           $PYTHON -m pip install --upgrade pip
           $PYTHON -m pip install --upgrade tox argparse nodeenv
-          $PYTHON -m pip freeze
+          $PYTHON -m pip install --upgrade pipdeptree
+          pipdeptree
 
           # Prepare node
           nodeenv --node={nodever} --prebuilt $WORKSPACE/venv-node
index 3557e498fdd50b087069d7ed5d0ad5abe9042368..5c3f1a7068cda6087cca255ee795940aee699598 100644 (file)
@@ -73,7 +73,8 @@
           $PYTHON -m pip install --upgrade -r spectrometer/server/requirements.txt
           $PYTHON -m pip install --upgrade gunicorn gevent
           $PYTHON -m pip install --upgrade nodeenv
-          $PYTHON -m pip freeze
+          $PYTHON -m pip install --upgrade pipdeptree
+          pipdeptree
 
           echo "---> Setup NodeJS"
           if [ -e venv-nodejs/bin/activate ]; then