From b8988e73c813c463b943638e9849da59229a2223 Mon Sep 17 00:00:00 2001 From: morganrol Date: Tue, 4 Jan 2022 10:03:04 +0100 Subject: [PYTHONSDK] Fix pyyaml issue Due to the introduction of pyyaml in the tox, the docker build may have issue Cannot uninstall 'PyYAML'. 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. Adding the pip option --ignore-installed avoid any issue Issue-ID: TEST-377 Signed-off-by: morganrol Change-Id: I85dcc0a08db7998d2cb3407ad91200fba48b1fd6 --- smoke-usecases-pythonsdk/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smoke-usecases-pythonsdk/docker/Dockerfile b/smoke-usecases-pythonsdk/docker/Dockerfile index 3a44520..32c0016 100644 --- a/smoke-usecases-pythonsdk/docker/Dockerfile +++ b/smoke-usecases-pythonsdk/docker/Dockerfile @@ -13,7 +13,7 @@ RUN apk add --no-cache python3 git && \ apk add --no-cache --virtual .build-deps libffi-dev python3-dev \ gcc openssl-dev linux-headers musl-dev && \ pip3 install --upgrade pip && \ - pip3 install --no-cache-dir \ + pip3 install --ignore-installed --no-cache-dir \ git+https://gerrit.onap.org/r/testsuite/pythonsdk-tests@$ONAP_TESTS_TAG && \ mkdir -p $ONAPSDK_PYTHON_PATH/clamp && \ wget -O $ONAPSDK_PYTHON_PATH/clamp/schema_details.json https://gitlab.com/Orange-OpenSource/lfn/onap/python-onapsdk/-/raw/develop/src/onapsdk/clamp/schema_details.json && \ -- cgit 1.2.3-korg