Skip to content

Commit 53e6739

Browse files
authored
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 yandex-cloud/python-sdk#106
1 parent d93f965 commit 53e6739

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

airflow/providers/yandex/provider.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ dependencies:
5353
- apache-airflow>=2.7.0
5454
# The 0.289 and 0.290 versions have broken dataproc support
5555
# See https://github.com/yandex-cloud/python-sdk/issues/103
56-
- yandexcloud>=0.278.0,!=0.289.0,!=0.290.0
56+
# the 0.291.0 version of yandex provider introduced mypy typing
57+
# that conflicts with the way yandex provider uses it and should be fixed
58+
# See https://github.com/yandex-cloud/python-sdk/issues/106
59+
- yandexcloud>=0.278.0,!=0.289.0,!=0.290.0,<0.292.0
5760
- yandex-query-client>=0.1.4
5861

5962
integrations:

generated/provider_dependencies.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,7 @@
12991299
"deps": [
13001300
"apache-airflow>=2.7.0",
13011301
"yandex-query-client>=0.1.4",
1302-
"yandexcloud>=0.278.0,!=0.289.0,!=0.290.0"
1302+
"yandexcloud>=0.278.0,!=0.289.0,!=0.290.0,<0.292.0"
13031303
],
13041304
"devel-deps": [],
13051305
"plugins": [],

0 commit comments

Comments
 (0)