Package Details: home-assistant 0.71.0-1

Git Clone URL: https://aur.archlinux.org/home-assistant.git (read-only)
Package Base: home-assistant
Description: Open-source home automation platform running on Python 3
Upstream URL: https://home-assistant.io/
Keywords: automation home python
Licenses: Apache
Replaces: python-home-assistant
Submitter: kamaradclimber
Maintainer: etskinner
Last Packager: etskinner
Votes: 29
Popularity: 1.213544
First Submitted: 2016-10-09 12:17
Last Updated: 2018-06-19 17:56

Latest Comments

etskinner commented on 2018-07-08 23:41

Thanks @Watson. Yes, the aiohttp package being out of date is the reason that I haven't updated, thanks for looking. But don't be afraid to mark it out of date anyway.

Ideally, the long term goal for this package would be to run in a virtual environment to avoid this dependency hell. But it's kind of against Arch philosophy, and I have yet to do enough research to be confident in doing it. Maybe make a sister package for that? I'm all ears if anyone has ideas.

Watson commented on 2018-07-07 11:52

This has been out of date for a short while. I am not flagging it, because python-aiohttp needs to be upgraded first, which has been out of date for over a month.

If someone else wants to update you can pip install aiohttp --upgrade and then use this patch:

diff --git a/PKGBUILD b/PKGBUILD
index 76a9256..ca9b770 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@

 pkgname=home-assistant
 pkgdesc='Open-source home automation platform running on Python 3'
-pkgver=0.71.0
+pkgver=0.73.0
 pkgrel=1
 url="https://home-assistant.io/"
 license=('APACHE')
@@ -43,7 +43,7 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/a
         "home-assistant.sysusers"
         "home-assistant-tmpfile.conf"
         "hass.install")
-sha512sums=('2b71ae972e987a7c2dd8a82846b886de218389c0a27c137fb04b9801fe102a0d97dd7c56864b6734c8acb7178930b9ca16ca3cdd53e4cbe4489e68197715e6b1'
+sha512sums=('093fec0cfad37ab795675bdedd49a00879b17549c659caf724f836223db75904b451d2cfe13bc26b9d2a8a5efb405ac2be20bdbb44bef4347793f937e3b820e8'
             'fe96bd3df3ba666fd9f127c466d1dd1dd7314db2e57826a2b319c8a0bfad7aedeac398e748f93c6ecd9c2247ebbae196b8b0e7263b8681e2b7aeab6a8bfeab80'
             '100665ac35370c3ccec65d73521568de21cebf9e46af364124778861c94e338e32ad9abb675d3917f97d351dd7867e3ab2e80c26616330ae7cf0d9dc3f13369b'
             '8babcf544c97ec5ad785014f0b0d5dca556a2f5157dadcbe83d49d4669b74f6349e274810ec9a028fcec208c6c8fbbe6b3899d2933b56163b9e506570879a3ad'
@@ -56,9 +56,6 @@ prepare() {
   # TODO remove in future versions https://github.com/home-assistant/home-assistant/issues/9525
   replace '==' '>=' setup.py

-  # typing package is a backport of standard library < 3.5
-  replace 'typing>=3,<4' '' setup.py
-
   echo Patching for home-assistant/home-assistant#11906
   sed -i 's/from yarl import unquote/from yarl import URL/' homeassistant/components/http/static.py
   sed -i "s/unquote(request.match_info\['filename'\])/URL(request.match_info['filename'], encoded=True).path/" homeassistant/components/http/static.py

etskinner commented on 2018-06-25 03:18

@Synthead: Can't replicate in my setup. Pyopenssl isn't listed in the core dependencies, so it should be fetched at run time rather than depended on in the main install.

That said, this package is a bit of a mess since hass doesn't have a good way of handling dependencies without a virtual environment, so you might be right. Could you link to a paste of your config and full log?

Synthead commented on 2018-06-25 02:49

It appears that this package requires python-pyopenssl version 17.4.0-1. Any version above this returns:

  File "/usr/lib/python3.6/site-packages/OpenSSL/SSL.py", line 315, in wrapper
    _lib.X509_up_ref(x509)
AttributeError: module 'lib' has no attribute 'X509_up_ref'

awakatanka commented on 2018-06-15 20:16

python-astral is updated to 1.6.1 it has another maintainer now.

etskinner commented on 2018-06-04 01:24

@avanc: I'm not sure what would cause that, my install doesn't have the same behavior (but if you can describe how to replicate it maybe we can figure it out). Unless I'm misunderstanding, that doesn't seem like an outside dependency, but rather a component that it expects in the install. Could you post your config and log? (in pastebin or similar)

avanc commented on 2018-06-03 16:47

After startup, I get the following error: ModuleNotFoundError: No module named 'hass_frontend'

I don't know, why it is missing. should be included within this package, or?

etskinner commented on 2018-05-11 22:38

In order to avoid breaking things, I'm delaying the update to version 0.69.0/0.70.0 until dependency python-astral is updated to 1.6.1 (as version 0.69.0 requires).

ava1ar commented on 2018-04-12 05:49

python-sqlalchemy is required and not included into the dependencies.

etskinner commented on 2018-03-18 15:46

I have adopted this package and updated to 0.65.5, which mitigates the issue with http not starting. Please comment if any issues persist.

All comments