diff options
author | 2020-12-10 18:44:20 +0100 | |
---|---|---|
committer | 2020-12-10 18:49:03 +0100 | |
commit | 3661d3dec5df9fb8b46cc1f40e9cc75868c61695 (patch) | |
tree | b5ce62dc8f3e7dc1b32b2054806cdefb8cf51335 | |
parent | fc74e256bb94d762911428e3f3e02cc8989e8978 (diff) |
Use pip==20.2.4 in tox venv
pip 20.3 is disruptive and would lead to big changes in stable
branches.
Change-Id: I33079e7d667e42240fcc497d595509e88da3c4f7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 622f1921e9d3850b4d190fe8c8508c196fcf450b)
-rw-r--r-- | .circleci/config.yml | 4 | ||||
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | tox.ini | 1 |
3 files changed, 4 insertions, 3 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 2b5a0a78d..b8cad21cf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,10 +8,10 @@ jobs: - checkout - run: name: Install dependendencies - command: sudo apt-get update && sudo apt-get install python2.7-dev enchant + command: sudo apt-get update && sudo apt-get install enchant - 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 3ef017c04..d479ce52f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ before_script: - sudo add-apt-repository -y ppa:deadsnakes/ppa - sudo apt-get update - sudo apt-get install python3.7 python3.7-dev - - 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) @@ -2,6 +2,7 @@ envlist = docs,pep8,pylint,yamllint,ansiblelint,bashate,bandit,py37,cover,perm [testenv] +pip_version = pip==20.2.4 usedevelop = True deps = -c{toxinidir}/upper-constraints.txt |