mirror of
https://github.com/esphome/esphome.git
synced 2024-12-25 15:04:54 +01:00
Raise minimum python version to 3.7 (#1673)
This commit is contained in:
parent
7964b724ed
commit
d92c8ccadf
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
2
setup.py
2
setup.py
|
@ -74,7 +74,7 @@ setup(
|
|||
zip_safe=False,
|
||||
platforms="any",
|
||||
test_suite="tests",
|
||||
python_requires=">=3.6,<4.0",
|
||||
python_requires=">=3.7,<4.0",
|
||||
install_requires=REQUIRES,
|
||||
keywords=["home", "automation"],
|
||||
entry_points={"console_scripts": ["esphome = esphome.__main__:main"]},
|
||||
|
|
Loading…
Reference in a new issue