Remove six from Openstack requirements 64/72564/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 25 May 2021 08:59:19 +0000 (10:59 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 25 May 2021 08:59:19 +0000 (10:59 +0200)
  Attempting uninstall: six
    Found existing installation: six 1.15.0
[91mERROR: Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

https://github.com/openstack/requirements/blob/master/upper-constraints.txt#L445

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

index dd98ffa..38a9277 100644 (file)
@@ -17,6 +17,7 @@ RUN apk -U upgrade && \
     case $(uname -m) in aarch*|arm*) \
         sed -i -E /^PyNaCl=/d /src/requirements/upper-constraints.txt && \
         apk add --no-cache py3-pynacl ;; esac && \
+    sed -i -E /^six=/d /src/requirements/upper-constraints.txt && \
     apk --no-cache add --update py3-distlib\>=0.3.1 \
         --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main && \
     git init /src/functest-kubernetes && \