mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 19:57:07 +00:00
Rephrase upgrade notification message to avoid installing Python 3.10 (#61181)
This commit is contained in:
parent
d69c6e3ab3
commit
ea58778a5c
@ -252,8 +252,7 @@ async def async_from_config_dict(
|
|||||||
f"{'.'.join(str(x) for x in sys.version_info[:3])} is deprecated and will "
|
f"{'.'.join(str(x) for x in sys.version_info[:3])} is deprecated and will "
|
||||||
f"be removed in Home Assistant {REQUIRED_NEXT_PYTHON_HA_RELEASE}. "
|
f"be removed in Home Assistant {REQUIRED_NEXT_PYTHON_HA_RELEASE}. "
|
||||||
"Please upgrade Python to "
|
"Please upgrade Python to "
|
||||||
f"{'.'.join(str(x) for x in REQUIRED_NEXT_PYTHON_VER)} or "
|
f"{'.'.join(str(x) for x in REQUIRED_NEXT_PYTHON_VER[:2])}."
|
||||||
"higher."
|
|
||||||
)
|
)
|
||||||
_LOGGER.warning(msg)
|
_LOGGER.warning(msg)
|
||||||
hass.components.persistent_notification.async_create(
|
hass.components.persistent_notification.async_create(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user