This is an automated email from the ASF dual-hosted git repository.
jedcunningham 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 754a4ab396 Remove Pydantic limitation for version < 2 (#33507)
754a4ab396 is described below
commit 754a4ab396e6e6002f79a716f93ed71712393687
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Aug 18 23:10:17 2023 +0200
Remove Pydantic limitation for version < 2 (#33507)
We already fixed all deprecation warnings for Pydantic 2 and we can
thus remove Pydantic 2 limitation. Even if we are waiting for other
dependencies (aws-sam-translator) it should be save to remove the
limit - we will get Pydantic 2 when aws-sam-translate new version
is released in a week or two (Pydantic 2 support has been added
last week in
https://github.com/aws/serverless-application-model/pull/3282)
---
setup.cfg | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/setup.cfg b/setup.cfg
index 16e9930a38..399ff79bd9 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -126,10 +126,7 @@ install_requires =
pendulum>=2.0
pluggy>=1.0
psutil>=4.2.0
- # We limit Pydantic to <2.0.0 until we can upgrade - there are limitation
for Pydantic in AWS provider
- # dependency (aws-sam-translator) - also we need to change orm-mode to
from_attributes in definitions
- # of the ORM models. See for the previous attempt
https://github.com/apache/airflow/pull/33220
- pydantic>=1.10.0,<2.0.0
+ pydantic>=1.10.0
pygments>=2.0.1
pyjwt>=2.0.0
python-daemon>=3.0.0