Skip to content

Commit

Permalink
Limit yandex provider to avoid mypy errors (apache#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
  • Loading branch information
potiuk authored and fdemiane committed Jun 6, 2024
1 parent d4d2461 commit 946d5c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion airflow/providers/yandex/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand Down

0 comments on commit 946d5c8

Please sign in to comment.