[SMOKE] Temp Ugly Fix markupsafe dependency 50/127250/1
authormorganrol <morgan.richomme@orange.com>
Wed, 23 Feb 2022 11:04:10 +0000 (12:04 +0100)
committermorganrol <morgan.richomme@orange.com>
Wed, 23 Feb 2022 11:04:10 +0000 (12:04 +0100)
Since few days a jinja2 upstream depenency introduced  a regression
We need to fix the version to 2.0.1 (2.1.0 will lead to an import
error that will break all the docker builds)

I tried to fix it at the sdk level without success
I wait for Michal's comeback to get his view on sdk error
Meanwhile this patch shall allow to rebuild the docker and
execute the tests

Issue-ID: INT-2078

Signed-off-by: morganrol <morgan.richomme@orange.com>
Change-Id: I4a3062ecb0d25a23232281dec359f830c216f825

smoke-usecases-pythonsdk/docker/Dockerfile

index 32c0016..08a0373 100644 (file)
@@ -17,6 +17,7 @@ RUN apk add --no-cache python3 git && \
         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 && \
+    pip3 install markupsafe==2.0.1 && \
     apk del .build-deps
 
 FROM pythonsdk-release as pythonsdk-develop