This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 25124dfd8b Limit Appflow mypy to 1.28.12 as it introduces strange 
typing issue (#32901)
25124dfd8b is described below

commit 25124dfd8bccad2385f72cff332fe9deb8d921bc
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Jul 28 01:29:01 2023 +0200

    Limit Appflow mypy to 1.28.12 as it introduces strange typing issue (#32901)
    
    The 1.28.12 release of appflow mypy typeshed introduces
    inconsistency that we have no idea how to fix
    
    https://github.com/youtype/mypy_boto3_builder/issues/209
    
    Limiting it to unblock main
---
 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 66d331b5cd..1dfe1343c2 100644
--- a/airflow/providers/amazon/provider.yaml
+++ b/airflow/providers/amazon/provider.yaml
@@ -76,7 +76,9 @@ dependencies:
   - sqlalchemy_redshift>=0.8.6
   - mypy-boto3-rds>=1.24.0
   - mypy-boto3-redshift-data>=1.24.0
-  - mypy-boto3-appflow>=1.24.0
+  # exclude 1.28.12 as it causes strange typing inconsistency
+  # https://github.com/youtype/mypy_boto3_builder/issues/209
+  - mypy-boto3-appflow>=1.24.0,!=1.28.12
   - asgiref
   - mypy-boto3-s3>=1.24.0
 
diff --git a/generated/provider_dependencies.json 
b/generated/provider_dependencies.json
index f9b7722f9b..b783da6b8c 100644
--- a/generated/provider_dependencies.json
+++ b/generated/provider_dependencies.json
@@ -28,7 +28,7 @@
       "asgiref",
       "boto3>=1.24.0",
       "jsonpath_ng>=1.5.3",
-      "mypy-boto3-appflow>=1.24.0",
+      "mypy-boto3-appflow>=1.24.0,!=1.28.12",
       "mypy-boto3-rds>=1.24.0",
       "mypy-boto3-redshift-data>=1.24.0",
       "mypy-boto3-s3>=1.24.0",

Reply via email to