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 53e6739e67 Limit yandex provider to avoid mypy errors (#39990)
53e6739e67 is described below

commit 53e6739e67886e3326cfca0face7e9ce116ce4ab
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Jun 1 11:50:08 2024 +0200

    Limit yandex provider to avoid mypy errors (#39990)
    
    The 0.291.0 version of yandex provider introduced mypy typing
    that conflicts with the way yandex provider uses it and should be fixed
    See https://github.com/yandex-cloud/python-sdk/issues/106
---
 airflow/providers/yandex/provider.yaml | 5 ++++-
 generated/provider_dependencies.json   | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/airflow/providers/yandex/provider.yaml 
b/airflow/providers/yandex/provider.yaml
index 71b322993f..70f7a871bd 100644
--- a/airflow/providers/yandex/provider.yaml
+++ b/airflow/providers/yandex/provider.yaml
@@ -53,7 +53,10 @@ dependencies:
   - apache-airflow>=2.7.0
   # The 0.289 and 0.290 versions have broken dataproc support
   # See https://github.com/yandex-cloud/python-sdk/issues/103
-  - yandexcloud>=0.278.0,!=0.289.0,!=0.290.0
+  # the 0.291.0 version of yandex provider introduced mypy typing
+  # that conflicts with the way yandex provider uses it and should be fixed
+  # See https://github.com/yandex-cloud/python-sdk/issues/106
+  - yandexcloud>=0.278.0,!=0.289.0,!=0.290.0,<0.292.0
   - yandex-query-client>=0.1.4
 
 integrations:
diff --git a/generated/provider_dependencies.json 
b/generated/provider_dependencies.json
index 2dd34a2a77..71c1f13cdb 100644
--- a/generated/provider_dependencies.json
+++ b/generated/provider_dependencies.json
@@ -1299,7 +1299,7 @@
     "deps": [
       "apache-airflow>=2.7.0",
       "yandex-query-client>=0.1.4",
-      "yandexcloud>=0.278.0,!=0.289.0,!=0.290.0"
+      "yandexcloud>=0.278.0,!=0.289.0,!=0.290.0,<0.292.0"
     ],
     "devel-deps": [],
     "plugins": [],

Reply via email to