Skip to content

Commit

Permalink
Remove Pydantic limitation for version < 2 (#33507)
Browse files Browse the repository at this point in the history
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
aws/serverless-application-model#3282)

GitOrigin-RevId: 754a4ab396e6e6002f79a716f93ed71712393687
  • Loading branch information
potiuk authored and Cloud Composer Team committed Jul 18, 2024
1 parent c178f5a commit 7581e74
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7581e74

Please sign in to comment.