Skip to content

Commit

Permalink
Add pydantic<2.0.0 limit due to FastAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
andreped committed Oct 18, 2023
1 parent 6f228e3 commit 09b5fd0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 09b5fd0

Please sign in to comment.