Bump python-holidays to 0.55 (#124314)

This commit is contained in:
G Johansson 2024-08-22 07:59:21 +02:00 committed by GitHub
parent ad362b1d4c
commit 266cd623a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 6 additions and 6 deletions

View File

@ -5,5 +5,5 @@
"config_flow": true, "config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/holiday", "documentation": "https://www.home-assistant.io/integrations/holiday",
"iot_class": "local_polling", "iot_class": "local_polling",
"requirements": ["holidays==0.54", "babel==2.15.0"] "requirements": ["holidays==0.55", "babel==2.15.0"]
} }

View File

@ -92,7 +92,7 @@ def _get_obj_holidays(
subdiv=province, subdiv=province,
years=year, years=year,
language=language, language=language,
categories=set_categories, # type: ignore[arg-type] categories=set_categories,
) )
if (supported_languages := obj_holidays.supported_languages) and language == "en": if (supported_languages := obj_holidays.supported_languages) and language == "en":
for lang in supported_languages: for lang in supported_languages:
@ -102,7 +102,7 @@ def _get_obj_holidays(
subdiv=province, subdiv=province,
years=year, years=year,
language=lang, language=lang,
categories=set_categories, # type: ignore[arg-type] categories=set_categories,
) )
LOGGER.debug("Changing language from %s to %s", language, lang) LOGGER.debug("Changing language from %s to %s", language, lang)
return obj_holidays return obj_holidays

View File

@ -7,5 +7,5 @@
"iot_class": "local_polling", "iot_class": "local_polling",
"loggers": ["holidays"], "loggers": ["holidays"],
"quality_scale": "internal", "quality_scale": "internal",
"requirements": ["holidays==0.54"] "requirements": ["holidays==0.55"]
} }

View File

@ -1099,7 +1099,7 @@ hole==0.8.0
# homeassistant.components.holiday # homeassistant.components.holiday
# homeassistant.components.workday # homeassistant.components.workday
holidays==0.54 holidays==0.55
# homeassistant.components.frontend # homeassistant.components.frontend
home-assistant-frontend==20240809.0 home-assistant-frontend==20240809.0

View File

@ -922,7 +922,7 @@ hole==0.8.0
# homeassistant.components.holiday # homeassistant.components.holiday
# homeassistant.components.workday # homeassistant.components.workday
holidays==0.54 holidays==0.55
# homeassistant.components.frontend # homeassistant.components.frontend
home-assistant-frontend==20240809.0 home-assistant-frontend==20240809.0