Skip to content

Commit

Permalink
Restore aiobotocore as optional dependency of amazon provider
Browse files Browse the repository at this point in the history
The apache#30032 has been merged with aiobotore as required dependency.
The aiobotocore package adds specific requirements for botocore
and boto and it conflicts with older versions of Airflow, so
we have to bring it back as optional dependency of the
amazon provider.
  • Loading branch information
potiuk committed Apr 26, 2023
1 parent 4a1d5b2 commit 27552a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions airflow/providers/amazon/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ dependencies:
- mypy-boto3-rds>=1.24.0
- mypy-boto3-redshift-data>=1.24.0
- mypy-boto3-appflow>=1.24.0
- aiobotocore[boto3]>=2.2.0

integrations:
- integration-name: Amazon Athena
Expand Down Expand Up @@ -610,7 +609,7 @@ additional-extras:
- pandas>=0.17.1
# There is conflict between boto3 and aiobotocore dependency botocore.
# TODO: We can remove it once boto3 and aiobotocore both have compatible botocore version or
# boto3 have native aync support and we move away from aio aiobotocore
# boto3 have native async support and we move away from aio aiobotocore
- name: aiobotocore
dependencies:
- aiobotocore>=2.1.1
- aiobotocore[boto3]>=2.2.0
1 change: 0 additions & 1 deletion generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
},
"amazon": {
"deps": [
"aiobotocore[boto3]>=2.2.0",
"apache-airflow-providers-common-sql>=1.3.1",
"apache-airflow>=2.3.0",
"asgiref",
Expand Down

0 comments on commit 27552a2

Please sign in to comment.