GNU bug report logs -
#60316
[PATCH] WIP: Add homeassistant.
Previous Next
To reply to this bug, email your comments to 60316 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#60316
; Package
guix-patches
.
(Sun, 25 Dec 2022 17:25:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
phodina <phodina <at> protonmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 25 Dec 2022 17:25:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
I'd love to add Home assistant to Guix to liberate our homes :-D
However, it has one nasty problem. There's one Python module 'orjson' which depends on rust package [1]. Since it would mean to add a lot of Rust packages I'd like to ask for help if there isn't a better way to build the package 'orjson'? [2]
FIY Marius I saw you patch set where you mentioned module 'orjson' as test dependency [3]
Just out of curiosity have you been able to package the Home assistant? [4]
$ /gnu/store/8dgdzxj7vvawbd77q405fbjm4rnjdxld-homeassistant-2022.12.8/bin/hass
Traceback (most recent call last):
File "/gnu/store/8dgdzxj7vvawbd77q405fbjm4rnjdxld-homeassistant-2022.12.8/bin/.hass-real", line 5, in <module>
sys.exit (mod.main ())
File "/gnu/store/8dgdzxj7vvawbd77q405fbjm4rnjdxld-homeassistant-2022.12.8/lib/python3.9/site-packages/homeassistant/__main__.py", line 169, in main
args = get_arguments()
File "/gnu/store/8dgdzxj7vvawbd77q405fbjm4rnjdxld-homeassistant-2022.12.8/lib/python3.9/site-packages/homeassistant/__main__.py", line 69, in get_arguments
from . import config as config_util
File "/gnu/store/8dgdzxj7vvawbd77q405fbjm4rnjdxld-homeassistant-2022.12.8/lib/python3.9/site-packages/homeassistant/config.py", line 20, in <module>
from . import auth
File "/gnu/store/8dgdzxj7vvawbd77q405fbjm4rnjdxld-homeassistant-2022.12.8/lib/python3.9/site-packages/homeassistant/auth/__init__.py", line 12, in <module>
from homeassistant import data_entry_flow
File "/gnu/store/8dgdzxj7vvawbd77q405fbjm4rnjdxld-homeassistant-2022.12.8/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 16, in <module>
from .core import HomeAssistant, callback
File "/gnu/store/8dgdzxj7vvawbd77q405fbjm4rnjdxld-homeassistant-2022.12.8/lib/python3.9/site-packages/homeassistant/core.py", line 46, in <module>
from . import block_async_io, loader, util
File "/gnu/store/8dgdzxj7vvawbd77q405fbjm4rnjdxld-homeassistant-2022.12.8/lib/python3.9/site-packages/homeassistant/loader.py", line 34, in <module>
from .helpers.json import JSON_DECODE_EXCEPTIONS, json_loads
File "/gnu/store/8dgdzxj7vvawbd77q405fbjm4rnjdxld-homeassistant-2022.12.8/lib/python3.9/site-packages/homeassistant/helpers/json.py", line 7, in <module>
import orjsonModuleNotFoundError: No module named 'orjson'
1 https://github.com/PyO3/maturin
2 https://github.com/ijl/orjson/blob/master/pyproject.toml3 https://issues.guix.gnu.org/58587
4 https://community.home-assistant.io/t/packaging-home-assistant-into-guix/264117
----
Petr
[Message part 2 (text/html, inline)]
[0002-gnu-Add-python-lru-dict.patch (text/x-patch, attachment)]
[0011-gnu-Add-homeassistant.patch (text/x-patch, attachment)]
[0003-gnu-Add-python-awesomeversion.patch (text/x-patch, attachment)]
[0008-gnu-Add-python-yarl-Update-to-1.8.1.patch (text/x-patch, attachment)]
[0006-gnu-python-voluptuous-Update-to-0.13.1.patch (text/x-patch, attachment)]
[0005-gnu-python-typing-extensions-next-Update-to-4.4.0.patch (text/x-patch, attachment)]
[0004-gnu-Add-python-dbus-fast.patch (text/x-patch, attachment)]
[0001-gnu-Add-python-slugify-4.patch (text/x-patch, attachment)]
[0009-gnu-Add-python-bleak.patch (text/x-patch, attachment)]
[0007-gnu-Add-python-voluptuous-serialize.patch (text/x-patch, attachment)]
[0010-gnu-Add-python-home-assistant-bluetooth.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#60316
; Package
guix-patches
.
(Mon, 26 Dec 2022 05:13:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 60316 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Petr,
> I'd love to add Home assistant to Guix to liberate our homes :-D
Woah! Thanks so much for working on this. I've been eyeing at
homeassitant for a while. :D
> However, it has one nasty problem. There's one Python module 'orjson' which depends on rust package [1]. Since it would mean to add a lot of Rust packages I'd like to ask for help if there isn't a better way to build the package 'orjson'?
I'd like to help. Let's see if we can avoid that dependency. If we
can't, I'll aid this work with packing the related rust packages.
> Just out of curiosity have you been able to package the Home assistant?
Darn! I forgot that I created that post. I must've working on that and
lost the work because of SSD failure happened midst 2021. :(
Regards,
RG.
[OpenPGP_signature (application/pgp-signature, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#60316
; Package
guix-patches
.
(Tue, 27 Dec 2022 22:08:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 60316 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>> > I'd love to add Home assistant to Guix to liberate our homes :-D
>
>
> Woah! Thanks so much for working on this. I've been eyeing at
> homeassitant for a while. :D
>
> > However, it has one nasty problem. There's one Python module 'orjson' which depends on rust package [1]. Since it would mean to add a lot of Rust packages I'd like to ask for help if there isn't a better way to build the package 'orjson'?
>
>
> I'd like to help. Let's see if we can avoid that dependency. If we
> can't, I'll aid this work with packing the related rust packages.
Here are the additional Python packages from the orjson module repo from various requirements.txt.
Please consider them more WIP as they build and allow you to have a look around the 'python-orjson'.
I also have the Rust modules, but packaging them is quite tedious as it's almost 3k lines of code :-/
Any ideas here?
>
> > Just out of curiosity have you been able to package the Home assistant?
>
>
> Darn! I forgot that I created that post. I must've working on that and
> lost the work because of SSD failure happened midst 2021. :(
Home the 'smartmontools' might save you from similar thing in future :-)
----
Petr
[0005-gnu-Add-python-pytest-random-order.patch (text/x-patch, attachment)]
[0007-gnu-Add-python-types-python-dateutil.patch (text/x-patch, attachment)]
[0003-gnu-python-pytest-benchmark-Update-to-4.0.0.patch (text/x-patch, attachment)]
[0006-gnu-Add-python-memory-profiler.patch (text/x-patch, attachment)]
[0001-gnu-system-settings-Add-phase-wrap-executable-and-ad.patch (text/x-patch, attachment)]
[0002-gnu-Add-python-benchmark.patch (text/x-patch, attachment)]
[0004-gnu-Add-python-statistics.patch (text/x-patch, attachment)]
[0009-gnu-Add-python-gunicorn.patch (text/x-patch, attachment)]
[0010-gnu-Add-python-orjson.patch (text/x-patch, attachment)]
[0008-gnu-Add-python-types-simplejson.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#60316
; Package
guix-patches
.
(Sat, 14 Jan 2023 19:55:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 60316 <at> debbugs.gnu.org (full text, mbox):
Hi Raghav,
have you had the time to check the Rust dependencies for the Python module `orjson`?
Kind regards
Petr
Information forwarded
to
guix-patches <at> gnu.org
:
bug#60316
; Package
guix-patches
.
(Mon, 16 Jan 2023 03:54:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 60316 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Petr,
> have you had the time to check the Rust dependencies for the Python module `orjson`?
Not yet, unfortunately.
I'll be working on the 21st and 22nd of this month. I'll let you know.
Regards,
RG.
[OpenPGP_signature (application/pgp-signature, attachment)]
This bug report was last modified 1 year and 341 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.