From b6ff38d1c3f9a54cb8cf8dadb2ba20d191bb7b24 Mon Sep 17 00:00:00 2001 From: Anush Kumar Date: Wed, 8 Oct 2025 22:55:31 -0700 Subject: [PATCH] bugfix(setup): pin pydantic version due to incompatibility with pyiceberg (#14959) --- metadata-ingestion/setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/metadata-ingestion/setup.py b/metadata-ingestion/setup.py index 26edf3da95..2360d0a8a6 100644 --- a/metadata-ingestion/setup.py +++ b/metadata-ingestion/setup.py @@ -295,6 +295,9 @@ iceberg_common = { # - From v0.10.0, new signatures: `visit_timestamp_ns`, `visit_timestampz_ns` and `visit_unknown` # need to be implemented (still to be done). "pyiceberg[glue,hive,dynamodb,snappy,hive,s3fs,adlfs,pyarrow,zstandard]>=0.8.0,<0.10.0", + # Pin pydantic due to incompatibility with pyiceberg 0.9.1. + # pyiceberg 0.9.1 requires pydantic>=2.0,<2.12 + "pydantic<2.12", *cachetools_lib, }