Skip to content

Commit

Permalink
Limit Telegram to < 20.0.0 (#28671)
Browse files Browse the repository at this point in the history
The telegram bot 20.0.0 is not yet compatible with our provider as
documented in #28670. This limit
should be removed (and likely replaced with >=20.0.0) once the issue is
fixed.
  • Loading branch information
potiuk authored Jan 2, 2023
1 parent 8a15557 commit 60f24da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion airflow/providers/telegram/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ versions:

dependencies:
- apache-airflow>=2.3.0
- python-telegram-bot>=13.0
# The telegram bot 20.0.0 is not yet compatible with our provider as documented in
# https://github.com/apache/airflow/issues/28670. This limit should be removed (and likely replaced
# with >=20.0.0) once the issue is fixed.
- python-telegram-bot>=13.0,<20.0.0

integrations:
- integration-name: Telegram
Expand Down
2 changes: 1 addition & 1 deletion generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@
"telegram": {
"deps": [
"apache-airflow>=2.3.0",
"python-telegram-bot>=13.0"
"python-telegram-bot>=13.0,<20.0.0"
],
"cross-providers-deps": []
},
Expand Down

0 comments on commit 60f24da

Please sign in to comment.