Skip to content

Commit 28b6c86

Browse files
committed
Chore: Pin the Pydantic version in the Airflow docker image
1 parent e210121 commit 28b6c86

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

examples/airflow/Dockerfile.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,8 @@ ADD setup.py /opt/sqlmesh/setup.py
5959
RUN mkdir /opt/sqlmesh/sqlmesh
6060
RUN chown -R airflow /opt/sqlmesh
6161
USER airflow
62+
63+
# Pin the Pydantic dependency
64+
RUN pip install "pydantic[email]>=1.10.7,<2.0.0"
6265
RUN cd /opt/sqlmesh && pip install -e .
6366
RUN pip install dbt-core

0 commit comments

Comments
 (0)