aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-12-10 18:44:20 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2020-12-10 19:04:11 +0100
commita07505384db44eaf5adf6117980d7d1374cbbbf8 (patch)
tree6a7ffcb62b06f0feba353e08bacf2e255f4da823
parent8d5ddfc2405ec2c454869708e4c020d4e361dd69 (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>
-rw-r--r--.circleci/config.yml4
-rw-r--r--.travis.yml2
-rw-r--r--tox.ini1
3 files changed, 4 insertions, 3 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index a5c8346ee..f2b3eb732 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 943290ab4..dd55ce20e 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 enchant
- - 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 466c415a8..c6d7a4ab2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,6 +2,7 @@
envlist = docs,pep8,pylint,yamllint,ansiblelint,bashate,bandit,py38,cover,perm
[testenv]
+pip_version = pip==20.2.4
usedevelop = True
deps =
-c{toxinidir}/upper-constraints.txt