Remove six from Openstack requirements 66/72566/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 25 May 2021 09:18:46 +0000 (11:18 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 25 May 2021 09:19:35 +0000 (11:19 +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: Iad64341d8014621bc999bade94676d4059e71353
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
docker/core/Dockerfile

index 45248ff..c746fd0 100644 (file)
@@ -9,6 +9,7 @@ RUN apk -U upgrade && \
         python3-dev build-base libxml2-dev libxslt-dev linux-headers && \
     wget -q -O- https://opendev.org/openstack/requirements/raw/branch/$OPENSTACK_TAG/upper-constraints.txt > upper-constraints.txt && \
     sed -i -E /^PyYAML==+.*$/d upper-constraints.txt && \
+    sed -i -E /^six==+.*$/d upper-constraints.txt && \
     case $(uname -m) in aarch*|arm*) CFLAGS="-O0" \
         pip3 install --no-cache-dir \
             -cupper-constraints.txt \