From 09b5fd04681749c113d58600a276a4036e27b940 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Pedersen?= Date: Wed, 18 Oct 2023 16:22:53 +0200 Subject: [PATCH] Add pydantic<2.0.0 limit due to FastAPI --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 521a9fa..96bcc60 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,6 +32,9 @@ RUN pip install --no-cache-dir --upgrade -r /code/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