This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-6-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 1bc6c99935bc1c1886dd6ecb221005a4c4f0ead7
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
    (cherry picked from commit 2811ba710991d71466afa21c500ee55aeda5d8a1)
---
 setup.cfg | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/setup.cfg b/setup.cfg
index 2d1fab53ed..4f73a4aa4a 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -124,7 +124,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

Reply via email to