1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00

Python 3.5 support is deprecated

This commit is contained in:
ewilly 2019-08-10 11:10:22 +02:00
parent 4b22fa698c
commit ad00ca8a0d
3 changed files with 5 additions and 2 deletions

View file

@ -9,3 +9,6 @@ Home Assistant is a home automation platform running on Python 3. It is able to
## Links ## Links
* [Home Assistant website](https://www.home-assistant.io/) * [Home Assistant website](https://www.home-assistant.io/)
* [Home Assistant git repository](https://github.com/home-assistant/home-assistant) * [Home Assistant git repository](https://github.com/home-assistant/home-assistant)
## Versions
Python 3.5 support is deprecated in the first release oh Home Assitant after August 1 (0.97). Yunohost provide python 3.5 (based on debian stretch). According to that, the latest compatible version with yunohost is 0.96.5. As soon as yunohost is compatible with debian buster, scripts will be updated to provide the latest version of Home Assistant.

View file

@ -57,7 +57,7 @@ exec_as $app -H -s /bin/bash -c " \
&& echo 'install a required python package' \ && echo 'install a required python package' \
&& pip install --upgrade wheel \ && pip install --upgrade wheel \
&& echo 'install Home Assistant' \ && echo 'install Home Assistant' \
&& pip install --upgrade $app \ && pip install --upgrade $app==0.96.5 \
" "
# set default configuration files # set default configuration files

View file

@ -43,7 +43,7 @@ exec_as "$app" -H -s /bin/bash -c " \
&& echo 'install a required python package' \ && echo 'install a required python package' \
&& pip install --upgrade wheel \ && pip install --upgrade wheel \
&& echo 'install Home Assistant' \ && echo 'install Home Assistant' \
&& pip install --upgrade $app \ && pip install --upgrade $app==0.96.5 \
" "
# setup up autostart using systemd # setup up autostart using systemd