diff --git a/homeassistant/components/telegram_bot/manifest.json b/homeassistant/components/telegram_bot/manifest.json index 4b856039a05..48bf0c3a270 100644 --- a/homeassistant/components/telegram_bot/manifest.json +++ b/homeassistant/components/telegram_bot/manifest.json @@ -9,5 +9,5 @@ "iot_class": "cloud_push", "loggers": ["telegram"], "quality_scale": "gold", - "requirements": ["python-telegram-bot[socks]==22.1"] + "requirements": ["python-telegram-bot[socks]==22.6"] } diff --git a/requirements_all.txt b/requirements_all.txt index dfe66570afa..89dcb8927af 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2666,7 +2666,7 @@ python-tado==0.18.16 python-technove==2.0.0 # homeassistant.components.telegram_bot -python-telegram-bot[socks]==22.1 +python-telegram-bot[socks]==22.6 # homeassistant.components.vlc python-vlc==3.0.18122 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 96dacb687cd..48b49934549 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -2262,7 +2262,7 @@ python-tado==0.18.16 python-technove==2.0.0 # homeassistant.components.telegram_bot -python-telegram-bot[socks]==22.1 +python-telegram-bot[socks]==22.6 # homeassistant.components.xbox python-xbox==0.2.0 diff --git a/script/hassfest/requirements.py b/script/hassfest/requirements.py index 5045df78d82..88bfba54010 100644 --- a/script/hassfest/requirements.py +++ b/script/hassfest/requirements.py @@ -78,6 +78,7 @@ PACKAGE_CHECK_VERSION_RANGE_EXCEPTIONS: dict[str, dict[str, set[str]]] = { # Current has an upper bound on major >=3.10.0,<4.0.0 "pystiebeleltron": {"pymodbus"} }, + "telegram_bot": {"python-telegram-bot": {"httpx"}}, "xiaomi_miio": { "python-miio": {"zeroconf"}, }, diff --git a/tests/components/telegram_bot/conftest.py b/tests/components/telegram_bot/conftest.py index 0225cb064aa..cc6cb02ffc6 100644 --- a/tests/components/telegram_bot/conftest.py +++ b/tests/components/telegram_bot/conftest.py @@ -104,7 +104,7 @@ def mock_external_calls() -> Generator[None]: type="PRIVATE", max_reaction_count=100, accent_color_id=0, - accepted_gift_types=AcceptedGiftTypes(True, True, True, True), + accepted_gift_types=AcceptedGiftTypes(True, True, True, True, True), ) test_user = User(123456, "Testbot", True, "mock last name", "mock_bot") message = Message(