From: Eric Ball Date: Fri, 26 Jul 2019 11:48:50 +0000 (-0700) Subject: Do not use pip cache, fix coala warning X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F32%2F16332%2F2;p=releng%2Fdocs.git Do not use pip cache, fix coala warning 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 --- diff --git a/docs/infra/bootstrap.rst b/docs/infra/bootstrap.rst index 3b59384..d49e99f 100644 --- a/docs/infra/bootstrap.rst +++ b/docs/infra/bootstrap.rst @@ -254,7 +254,7 @@ Bootstrap common-packer and initial builder ``jenkins-config/clouds/openstack/cattle/cloud.cfg`` Replace ```` and ```` in the below file - with the details for your cloud. ```` can be found in + with the details for your cloud. Find ```` at https://dashboard.vexxhost.net/project/networks/ .. code-block:: bash diff --git a/tox.ini b/tox.ini index 6533697..fede3c2 100644 --- 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