diff --git a/airflow/providers/telegram/provider.yaml b/airflow/providers/telegram/provider.yaml index fb48632e8c766..6ba7ea29f0f29 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 74dfba9d385ad..f8145435239f8 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": [] },