From: Alexandru Avadanii Date: Thu, 2 May 2019 20:05:24 +0000 (+0200) Subject: tox: Disable pip cache for coala venv X-Git-Tag: 1.0.0~14 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=1adbbe003cd8b6a73dde698ae17e015efe28b83d;p=iec.git tox: Disable pip cache for coala venv Some packages required by coala venv are already cached by pip2, leading to issues like [1] when trying to install them for pip3. Bypass the pip cache in order to avoid this. [1] https://github.com/pypa/pip/issues/5250 Change-Id: I9e8ce52223cdc84d855cc8fe899efa6e22b84ab9 Signed-off-by: Alexandru Avadanii --- diff --git a/tox.ini b/tox.ini index 1e35c7a..44ad8e0 100644 --- a/tox.ini +++ b/tox.ini @@ -28,10 +28,11 @@ commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir} [testenv:coala] basepython = python3 +install_command = python -m pip install --no-cache-dir {opts} {packages} whitelist_externals = rm deps = coala coala-bears commands = - rm -rf src/use_cases/seba_on_arm/src_repo/ - coala --non-interactive + rm -rf src/use_cases/seba_on_arm/src_repo/ + coala --non-interactive