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

jedcunningham 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 ddb685cf26 Further limit mypy-boto3-appflow as the fix is not in sight 
(#32927)
ddb685cf26 is described below

commit ddb685cf2669f9debf1a8ed8c6b5204be7071893
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Jul 29 00:52:24 2023 +0200

    Further limit mypy-boto3-appflow as the fix is not in sight (#32927)
    
    After raising https://github.com/youtype/mypy_boto3_builder/issues/209
    the maintainer attempted to fix the mypy problem in 1.28.15 but
    it does not seem to work for mypy. It seems to be ok for
    pyright, but mypy still detects the input and output types
    produced by the library as different and incompatible types.
    
    While waiting for a fix, we are limiting the library to < 1.28.0
    and we are going to lift the limits to test it manualy when the
    fix is ready.
---
 airflow/providers/amazon/provider.yaml | 4 ++--
 generated/provider_dependencies.json   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/airflow/providers/amazon/provider.yaml 
b/airflow/providers/amazon/provider.yaml
index 1dfe1343c2..35ed1bfb9e 100644
--- a/airflow/providers/amazon/provider.yaml
+++ b/airflow/providers/amazon/provider.yaml
@@ -76,9 +76,9 @@ dependencies:
   - sqlalchemy_redshift>=0.8.6
   - mypy-boto3-rds>=1.24.0
   - mypy-boto3-redshift-data>=1.24.0
-  # exclude 1.28.12 as it causes strange typing inconsistency
+  # exclude 1.28.12 and 1.28.15 as it causes strange typing inconsistency
   # https://github.com/youtype/mypy_boto3_builder/issues/209
-  - mypy-boto3-appflow>=1.24.0,!=1.28.12
+  - 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 5a0ddbc68a..19cdf951cf 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,!=1.28.12",
+      "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