From: Cédric Ollivier Date: Thu, 10 Dec 2020 18:06:19 +0000 (+0100) Subject: Use pip==20.2.4 in tox venv X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F31%2F71731%2F1;p=functest-xtesting.git Use pip==20.2.4 in tox venv pip 20.3 is disruptive and would lead to big changes in stable branches. Change-Id: Ifc4abd2d1f28bfb63ba66796e1690b398c1e4760 Signed-off-by: Cédric Ollivier (cherry picked from commit 9c9f1888d682cf1b794c956d7f6ab448cb42c6d7) --- diff --git a/.circleci/config.yml b/.circleci/config.yml index 72f8685e..b3960a96 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,7 @@ jobs: - checkout - run: name: Run tox - command: sudo pip install tox && tox + command: sudo pip install tox tox-pip-version && tox - store_artifacts: path: api/build destination: api diff --git a/.travis.yml b/.travis.yml index 089a1292..599fb385 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ before_script: - sudo add-apt-repository -y ppa:deadsnakes/ppa - sudo apt-get update - sudo apt-get install python3.8 python3.8-dev python3.8-distutils - - sudo pip install tox + - sudo pip install tox tox-pip-version - sudo -E docker login -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWORD}" - (cd .. && git clone https://github.com/estesp/manifest-tool) - (cd ../manifest-tool && git checkout v0.9.0) diff --git a/tox.ini b/tox.ini index 8ac2c738..e4dcdd0c 100644 --- a/tox.ini +++ b/tox.ini @@ -3,6 +3,7 @@ envlist = docs,pep8,pylint,yamllint,ansiblelint,bashate,py38,cover,perm skipsdist = True [testenv] +pip_version = pip==20.2.4 usedevelop = True deps = -c{toxinidir}/upper-constraints.txt