Skip to content

Commit 911740a

Browse files
potiukephraimbuddy
authored andcommitted
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 (cherry picked from commit 53e6739)
1 parent 68671eb commit 911740a

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

airflow/providers/yandex/provider.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,13 @@ versions:
4848

4949
dependencies:
5050
- apache-airflow>=2.6.0
51-
- yandexcloud>=0.228.0
52-
- yandex-query-client>=0.1.2
51+
# The 0.289 and 0.290 versions have broken dataproc support
52+
# See https://github.com/yandex-cloud/python-sdk/issues/103
53+
# the 0.291.0 version of yandex provider introduced mypy typing
54+
# that conflicts with the way yandex provider uses it and should be fixed
55+
# See https://github.com/yandex-cloud/python-sdk/issues/106
56+
- yandexcloud>=0.278.0,!=0.289.0,!=0.290.0,<0.292.0
57+
- yandex-query-client>=0.1.4
5358

5459
integrations:
5560
- integration-name: Yandex.Cloud

generated/provider_dependencies.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,8 +1180,8 @@
11801180
"yandex": {
11811181
"deps": [
11821182
"apache-airflow>=2.6.0",
1183-
"yandex-query-client>=0.1.2",
1184-
"yandexcloud>=0.228.0"
1183+
"yandex-query-client>=0.1.4",
1184+
"yandexcloud>=0.278.0,!=0.289.0,!=0.290.0,<0.292.0"
11851185
],
11861186
"devel-deps": [],
11871187
"cross-providers-deps": [],

0 commit comments

Comments
 (0)