From 27552a25f4471f8430e0044eceaf1069d6d8fff2 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Wed, 26 Apr 2023 02:11:54 +0200 Subject: [PATCH] Restore aiobotocore as optional dependency of amazon provider The #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. --- airflow/providers/amazon/provider.yaml | 5 ++--- generated/provider_dependencies.json | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/airflow/providers/amazon/provider.yaml b/airflow/providers/amazon/provider.yaml index 79640d68b8578..712600caab690 100644 --- a/airflow/providers/amazon/provider.yaml +++ b/airflow/providers/amazon/provider.yaml @@ -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 @@ -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 diff --git a/generated/provider_dependencies.json b/generated/provider_dependencies.json index 629a5b0613c3a..79e919591815e 100644 --- a/generated/provider_dependencies.json +++ b/generated/provider_dependencies.json @@ -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",