From 08691a4690a3f6f0477312e1e48fa7de5e437bcf Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sat, 3 Aug 2024 22:29:28 +0200 Subject: [PATCH] Limit moto temporarily - 5.0.12 is breaking our tests Tracked in https://github.com/apache/airflow/issues/41243 --- airflow/providers/amazon/provider.yaml | 4 +++- generated/provider_dependencies.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/airflow/providers/amazon/provider.yaml b/airflow/providers/amazon/provider.yaml index 0411ea51789ca7..c69542ef334dc0 100644 --- a/airflow/providers/amazon/provider.yaml +++ b/airflow/providers/amazon/provider.yaml @@ -139,7 +139,9 @@ additional-extras: devel-dependencies: - aiobotocore>=2.13.0 - aws_xray_sdk>=2.12.0 - - moto[cloudformation,glue]>=5.0.0 + # The latest 5.0.12 moto breaks some of our tests https://github.com/apache/airflow/issues/41243 + # Until we fix it, we limit moto to <5.0.12 + - moto[cloudformation,glue]>=5.0.0,<5.0.12 - mypy-boto3-appflow>=1.34.0 - mypy-boto3-rds>=1.34.90 - mypy-boto3-redshift-data>=1.34.0 diff --git a/generated/provider_dependencies.json b/generated/provider_dependencies.json index 85dbd405e8f879..35f7ea034a2028 100644 --- a/generated/provider_dependencies.json +++ b/generated/provider_dependencies.json @@ -46,7 +46,7 @@ "devel-deps": [ "aiobotocore>=2.13.0", "aws_xray_sdk>=2.12.0", - "moto[cloudformation,glue]>=5.0.0", + "moto[cloudformation,glue]>=5.0.0,<5.0.12", "mypy-boto3-appflow>=1.34.0", "mypy-boto3-rds>=1.34.90", "mypy-boto3-redshift-data>=1.34.0",