aboutsummaryrefslogtreecommitdiffstats
path: root/docker/benchmarking
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-04-19 20:16:32 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-04-19 20:16:32 +0200
commita2c0f6555514276c22c1d3cb2b4f1f83a2425426 (patch)
treea6b1b6353a74bc041d61fb1ff0801f85737be239 /docker/benchmarking
parentca65524bf2331ff832a7a34cc3cf02f9b1c7070f (diff)
Apply --use-deprecated in all pip calls
Change-Id: If51e2f5c32b53b6a1124a7d3d1ccad4e8446ec88 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/benchmarking')
-rw-r--r--docker/benchmarking/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/benchmarking/Dockerfile b/docker/benchmarking/Dockerfile
index 94669a709..c2b24d596 100644
--- a/docker/benchmarking/Dockerfile
+++ b/docker/benchmarking/Dockerfile
@@ -8,14 +8,14 @@ RUN apk --no-cache add --update libxml2 libxslt && \
python3-dev build-base linux-headers libffi-dev \
openssl-dev libjpeg-turbo-dev libxml2-dev libxslt-dev && \
case $(uname -m) in aarch*|arm*) CFLAGS="-O0" \
- pip3 install --no-cache-dir -c/src/requirements/upper-constraints.txt \
+ pip3 install --use-deprecated=legacy-resolver --no-cache-dir -c/src/requirements/upper-constraints.txt \
-c/src/functest/upper-constraints.txt lxml ;; esac && \
git init /src/vmtp && \
(cd /src/vmtp && \
git fetch --tags https://review.opendev.org/x/vmtp.git $VMTP_TAG && \
git checkout FETCH_HEAD) && \
update-requirements -s --source /src/requirements /src/vmtp/ && \
- pip3 install --no-cache-dir --src /src -c/src/requirements/upper-constraints.txt \
+ pip3 install --use-deprecated=legacy-resolver --no-cache-dir --src /src -c/src/requirements/upper-constraints.txt \
-c/src/functest/upper-constraints.txt \
/src/vmtp && \
mkdir -p /home/opnfv/functest/data/rally/neutron/rally-jobs && \