Require Python >= 3.6.1 (#27226)
https://github.com/home-assistant/architecture/issues/278
This commit is contained in:
1 parent
a8567a746b
commit
25bfdbc8df
3 files changed
+29
-13
No files matched your search
@@ -97,17 +97,6 @@ async def async_from_config_dict(
|
||||
stop = time()
|
||||
_LOGGER.info("Home Assistant initialized in %.2fs", stop - start)
|
||||
|
||||
if sys.version_info[:3] < (3, 6, 1):
|
||||
msg = (
|
||||
"Python 3.6.0 support is deprecated and will "
|
||||
"be removed in the first release after October 2. Please "
|
||||
"upgrade Python to 3.6.1 or higher."
|
||||
)
|
||||
_LOGGER.warning(msg)
|
||||
hass.components.persistent_notification.async_create(
|
||||
msg, "Python version", "python_version"
|
||||
)
|
||||
|
||||
return hass
|
||||
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ MINOR_VERSION = 101
|
||||
PATCH_VERSION = "0.dev0"
|
||||
__short_version__ = "{}.{}".format(MAJOR_VERSION, MINOR_VERSION)
|
||||
__version__ = "{}.{}".format(__short_version__, PATCH_VERSION)
|
||||
REQUIRED_PYTHON_VER = (3, 6, 0)
|
||||
REQUIRED_PYTHON_VER = (3, 6, 1)
|
||||
|
||||
# Format for platform files
|
||||
PLATFORM_FORMAT = "{platform}.{domain}"
|
||||
|
||||
Reference in new issue
Block a user