Install setuptools_scm before xrally 13/72413/1 stable/hunter
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 20 Apr 2021 12:30:56 +0000 (14:30 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 20 Apr 2021 12:30:56 +0000 (14:30 +0200)
Else upper-constraints basically fails.

Change-Id: I022f101e2ed44708afd0b88d47b77d2f7ca85458
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
docker/core/Dockerfile

index e1d55dc..9e96002 100644 (file)
@@ -16,6 +16,10 @@ RUN apk -U upgrade && \
     (cd /src/functest-kubernetes && \
         git fetch --tags https://gerrit.opnfv.org/gerrit/functest-kubernetes $BRANCH && \
         git checkout FETCH_HEAD) && \
+    pip install --no-cache-dir --src /src \
+        -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \
+        -chttps://opendev.org/openstack/requirements/raw/branch/$OPENSTACK_TAG/upper-constraints.txt \
+        setuptools_scm && \
     pip install --no-cache-dir --src /src \
         -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \
         -chttps://opendev.org/openstack/requirements/raw/branch/$OPENSTACK_TAG/upper-constraints.txt \