This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 2811ba7109 Limit Pydantic to < 2.0.0 until we solve 2.0.0
incompatibilities (#32312)
2811ba7109 is described below
commit 2811ba710991d71466afa21c500ee55aeda5d8a1
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Jul 2 08:40:57 2023 +0200
Limit Pydantic to < 2.0.0 until we solve 2.0.0 incompatibilities (#32312)
The Pydantic 2.0.0 release on 30th of June broke a number of CI
tests (including some K8S tests).
We limit it temporarily until the incompatibilities are fixed.
Related: #32311
---
setup.cfg | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/setup.cfg b/setup.cfg
index d5d91d3d8f..91d3b86331 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -126,7 +126,9 @@ install_requires =
pendulum>=2.0
pluggy>=1.0
psutil>=4.2.0
- pydantic>=1.10.0
+ # Limit Pydantic to <2.0.0 because it breaks Kubernetes tests and building
providers
+ # This limit should be removed after
https://github.com/apache/airflow/issues/32311 is fixed
+ pydantic>=1.10.0,<2.0.0
pygments>=2.0.1
pyjwt>=2.0.0
python-daemon>=3.0.0