diff --git a/README.md b/README.md index 0b4b862..b3e155c 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,6 @@ Home Assistant is a home automation platform running on Python 3. It is able to ## Links * [Home Assistant website](https://www.home-assistant.io/) * [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. diff --git a/scripts/install b/scripts/install index 805b846..8d21710 100644 --- a/scripts/install +++ b/scripts/install @@ -57,7 +57,7 @@ exec_as $app -H -s /bin/bash -c " \ && echo 'install a required python package' \ && pip install --upgrade wheel \ && echo 'install Home Assistant' \ - && pip install --upgrade $app \ + && pip install --upgrade $app==0.96.5 \ " # set default configuration files diff --git a/scripts/upgrade b/scripts/upgrade index 69ebe30..2ce4e78 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -43,7 +43,7 @@ exec_as "$app" -H -s /bin/bash -c " \ && echo 'install a required python package' \ && pip install --upgrade wheel \ && echo 'install Home Assistant' \ - && pip install --upgrade $app \ + && pip install --upgrade $app==0.96.5 \ " # setup up autostart using systemd