pip 20.3 is disruptive and would lead to big changes in stable
branches.
Change-Id: Ic3770f4098c52b0d26bc62291c9e79e8ee81d107
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
           command: sudo apt-get update && sudo apt-get install python2.7-dev
       - run:
           name: Run tox
-          command: sudo pip install tox && tox
+          command: sudo pip install tox tox-pip-version && tox
       - store_artifacts:
           path: cover
           destination: cover
 
   - 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
   - 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)
 
 envlist = pep8,pylint,yamllint,ansiblelint,bashate,py38,bandit,perm
 
 [testenv]
+pip_version = pip==20.2.4
 usedevelop = True
 deps =
   -chttps://git.opnfv.org/functest/plain/upper-constraints.txt