You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2023/01/02 08:20:38 UTC
[airflow] branch main updated: Limit Telegram to < 20.0.0 (#28671)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 60f24dab8a Limit Telegram to < 20.0.0 (#28671)
60f24dab8a is described below
commit 60f24dab8a50451e2c22270f26307d1c78576c81
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Mon Jan 2 09:20:31 2023 +0100
Limit Telegram to < 20.0.0 (#28671)
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.
---
airflow/providers/telegram/provider.yaml | 5 ++++-
generated/provider_dependencies.json | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/airflow/providers/telegram/provider.yaml b/airflow/providers/telegram/provider.yaml
index fb48632e8c..6ba7ea29f0 100644
--- a/airflow/providers/telegram/provider.yaml
+++ b/airflow/providers/telegram/provider.yaml
@@ -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
diff --git a/generated/provider_dependencies.json b/generated/provider_dependencies.json
index 74dfba9d38..f814543523 100644
--- a/generated/provider_dependencies.json
+++ b/generated/provider_dependencies.json
@@ -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": []
},