Skip to content

Commit

Permalink
Limit yandex provider to avoid mypy errors (#39990)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
potiuk authored and ephraimbuddy committed Jun 5, 2024
1 parent 68671eb commit 911740a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions airflow/providers/yandex/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,13 @@ versions:

dependencies:
- apache-airflow>=2.6.0
- yandexcloud>=0.228.0
- yandex-query-client>=0.1.2
# The 0.289 and 0.290 versions have broken dataproc support
# See https://github.com/yandex-cloud/python-sdk/issues/103
# 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:
- integration-name: Yandex.Cloud
Expand Down
4 changes: 2 additions & 2 deletions generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -1180,8 +1180,8 @@
"yandex": {
"deps": [
"apache-airflow>=2.6.0",
"yandex-query-client>=0.1.2",
"yandexcloud>=0.228.0"
"yandex-query-client>=0.1.4",
"yandexcloud>=0.278.0,!=0.289.0,!=0.290.0,<0.292.0"
],
"devel-deps": [],
"cross-providers-deps": [],
Expand Down

0 comments on commit 911740a

Please sign in to comment.