From fca4c02733cf8e741639f217baaabc285eb97044 Mon Sep 17 00:00:00 2001 From: Enol Fernandez Date: Fri, 30 Aug 2024 09:06:46 +0100 Subject: [PATCH] Enforce pydantic v1 --- caso/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/caso/Dockerfile b/caso/Dockerfile index 527ed578..4288f338 100644 --- a/caso/Dockerfile +++ b/caso/Dockerfile @@ -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