From 284bd5a8bcd9a8523e91d515afc31ece22244fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Pedersen?= Date: Wed, 18 Oct 2023 16:29:22 +0200 Subject: [PATCH] Force-reinstall pydantic<2.0.0 in Dockerfile --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index ec50333..4b5effc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,6 +32,9 @@ RUN pip install --no-cache-dir --upgrade -r /code/demo/requirements.txt # resolve issue with tf==2.4 and gradio dependency collision issue RUN pip install --force-reinstall typing_extensions==4.7.1 +# lower pydantic version to work with typing_extensions deprecation +RUN pip install --force-reinstall "pydantic<2.0.0" + # Install wget RUN apt install wget -y && \ apt install unzip