mirror of
https://github.com/esphome/esphome.git
synced 2025-02-20 20:08:20 +00:00
Raise minimum python version to 3.7 (#1673)
This commit is contained in:
parent
7964b724ed
commit
d92c8ccadf
@ -638,10 +638,10 @@ def run_esphome(argv):
|
||||
_LOGGER.error("Missing configuration parameter, see esphome --help.")
|
||||
return 1
|
||||
|
||||
if sys.version_info < (3, 6, 0):
|
||||
if sys.version_info < (3, 7, 0):
|
||||
_LOGGER.error(
|
||||
"You're running ESPHome with Python <3.6. ESPHome is no longer compatible "
|
||||
"with this Python version. Please reinstall ESPHome with Python 3.6+"
|
||||
"You're running ESPHome with Python <3.7. ESPHome is no longer compatible "
|
||||
"with this Python version. Please reinstall ESPHome with Python 3.7+"
|
||||
)
|
||||
return 1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user