Skip to content

Commit

Permalink
Enforce pydantic v1
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Aug 30, 2024
1 parent 2e0f550 commit fca4c02
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion caso/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ RUN for f in /etc/grid-security/certificates/*.pem ; do \
# Version 3.0.0 is broken in the dates management
ARG CASO_VERSION=4.2.0

RUN pip install --no-cache-dir git+https://github.com/IFCA/caso.git@$CASO_VERSION
# Pydantic v2 will fail
RUN pip install --no-cache-dir git+https://github.com/IFCA/caso.git@$CASO_VERSION \
pydantic~=1.10

COPY caso.conf /etc/caso/caso.conf
COPY voms.json /etc/caso/voms.json
Expand Down

0 comments on commit fca4c02

Please sign in to comment.