Do not use pip cache, fix coala warning 32/16332/2
authorEric Ball <eball@linuxfoundation.org>
Fri, 26 Jul 2019 11:48:50 +0000 (04:48 -0700)
committerEric Ball <eball@linuxfoundation.org>
Fri, 26 Jul 2019 12:36:01 +0000 (05:36 -0700)
Builds have been failing due to using some very old cached versions
of dependencies. By using --no-cache-dir, we force pip to pull in
up-to-date versions of all dependencies.
This also includes a change to language that caused tox to fail due
to a coala warning.

Issue: RELENG-2208
Change-Id: I4ad3256e2c3fe2d8a8b4c0878d0e0a3f54ccc722
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
docs/infra/bootstrap.rst
tox.ini

index 3b59384..d49e99f 100644 (file)
@@ -254,7 +254,7 @@ Bootstrap common-packer and initial builder
       ``jenkins-config/clouds/openstack/cattle/cloud.cfg``
 
       Replace ``<BUILD_IMAGE_NAME>`` and ``<NETWORK_ID>`` in the below file
-      with the details for your cloud. ``<NETWORK_ID>`` can be found in
+      with the details for your cloud. Find ``<NETWORK_ID>`` at
       https://dashboard.vexxhost.net/project/networks/
 
       .. code-block:: bash
diff --git a/tox.ini b/tox.ini
index 6533697..fede3c2 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -8,6 +8,9 @@ envlist =
     docs-linkcheck
 skipsdist=true
 
+[testenv]
+install_command=python -m pip install --no-cache-dir {opts} {packages}
+
 [testenv:check-best-practices]
 commands = python {toxinidir}/check-best-practices.py