This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v2-7-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 100f37d9a4cd18626effe491fab56957252e7b1d 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) (cherry picked from commit 754a4ab396e6e6002f79a716f93ed71712393687) --- 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
