From 4936172a4c8735b00a9b1f97b7f31d59aaf925f9 Mon Sep 17 00:00:00 2001 From: Wei Lee Date: Mon, 3 Jul 2023 13:28:20 +0800 Subject: [PATCH] build(setup.cfg): pin pydanctic to lower than 2.0.0 (#1223) --- setup.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.cfg b/setup.cfg index 5d9f8f19b..40c5a097e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -40,6 +40,10 @@ install_requires = asgiref typing_extensions; python_version < "3.8" markupsafe>=1.1.1 + # Limit Pydantic to <2.0.0 because it breaks Kubernetes tests and building providers + # This limit should be removed after Pydantic 2 incompatibility resolved and + # https://github.com/apache/airflow/issues/32311 + pydantic>=1.10.0,<2.0.0 zip_safe = false [options.extras_require]