!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

511 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant133 Servers

Load older messages


SenderMessageTime
15 Jun 2021
@hexa:lossy.network@hexa:lossy.networkhttps://nixos.wiki/wiki/Home_Assistant#Running_a_recent_version_using_an_overlay13:07:54
@hexa:lossy.network@hexa:lossy.networkuntested, but should work13:08:13
@hexa:lossy.network@hexa:lossy.network
         Outdated dependencies         
┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┓
┃ Package       ┃ Current    ┃ Wanted ┃
┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━┩
│ numpy         │ 1.20.2     │ 1.20.3 │
│ pydroid-ipcam │ 2021-06-01 │ 0.8    │
│ pyotgw        │ 2021-03-25 │ 1.1b1  │
│ sqlalchemy    │ 1.3.23     │ 1.4.13 │
└───────────────┴────────────┴────────┘

13:22:37
@hexa:lossy.network@hexa:lossy.networkI tried to expose the python package set post-overrides in passthru13:22:57
@hexa:lossy.network@hexa:lossy.networkand then use that as the package set checked in parse-requirements.py13:23:09
@hexa:lossy.network@hexa:lossy.network
diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix
index c2eae375658..805306a2d9c 100644
--- a/pkgs/servers/home-assistant/default.nix
+++ b/pkgs/servers/home-assistant/default.nix
@@ -799,6 +799,7 @@ in with py.pkgs; buildPythonApplication rec {
     tests = {
       inherit (nixosTests) home-assistant;
     };
+    pythonPackages = py;
   };
 
   meta = with lib; {
diff --git a/pkgs/servers/home-assistant/parse-requirements.py b/pkgs/servers/home-assistant/parse-requirements.py
index 27de7a60f37..1eeb0f1356c 100755
--- a/pkgs/servers/home-assistant/parse-requirements.py
+++ b/pkgs/servers/home-assistant/parse-requirements.py
@@ -32,7 +32,7 @@ from rich.console import Console
 from rich.table import Table
 
 COMPONENT_PREFIX = "homeassistant.components"
-PKG_SET = "python3Packages"
+PKG_SET = "home-assistant.pythonPackages"
 
 # If some requirements are matched by multiple Python packages,
 # the following can be used to choose one of them
13:24:55
@hexa:lossy.network@hexa:lossy.networklooks to be working, but parse-requirements doesn't yet find all packages again13:25:11
@hexa:lossy.network@hexa:lossy.network *
diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix
index c2eae375658..805306a2d9c 100644
--- a/pkgs/servers/home-assistant/default.nix
+++ b/pkgs/servers/home-assistant/default.nix
@@ -799,6 +799,7 @@ in with py.pkgs; buildPythonApplication rec {
     tests = {
       inherit (nixosTests) home-assistant;
     };
+    pythonPackages = py.pkgs;
   };
 
   meta = with lib; {
diff --git a/pkgs/servers/home-assistant/parse-requirements.py b/pkgs/servers/home-assistant/parse-requirements.py
index 27de7a60f37..1eeb0f1356c 100755
--- a/pkgs/servers/home-assistant/parse-requirements.py
+++ b/pkgs/servers/home-assistant/parse-requirements.py
@@ -32,7 +32,7 @@ from rich.console import Console
 from rich.table import Table
 
 COMPONENT_PREFIX = "homeassistant.components"
-PKG_SET = "python3Packages"
+PKG_SET = "home-assistant.pythonPackages"
 
 # If some requirements are matched by multiple Python packages,
 # the following can be used to choose one of them
13:26:28
@hexa:lossy.network@hexa:lossy.networknvm, works13:26:45
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/home-assistant/core/releases/tag/2021.6.519:18:20
@hexa:lossy.network@hexa:lossy.networknew dependency in a minor release 😒19:18:37
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/NixOS/nixpkgs/pull/12698419:36:36
@hexa:lossy.network@hexa:lossy.network invited @balsoft:balsoft.rubalsoft.20:11:20
@balsoft:balsoft.rubalsoft joined the room.20:11:37
@balsoft:balsoft.rubalsoftFirst of all, thank you all for packaging home assistant, it's awesome to blink my lights from NixOS :)20:25:57
@balsoft:balsoft.rubalsoftBut, as you might have guessed, I came with some feedback re: the drama that happened. I think it would be better for the image of the Nix community if instead of immediately merging stuff without reaching some consensus or at least understanding and thus producing extra drama, we would just wait a couple of days and let things cool down. Obviously not stating this as fact, just my opinion you're free to disregard.20:28:29
@balsoft:balsoft.rubalsoftAlthough, to be fair, I applaud the way you handled the issue otherwise, calm, polite and constructive.20:29:16
@balsoft:balsoft.rubalsoft* Although, to be fair, I applaud the way you handled the issue otherwise: calm, polite and constructive.20:29:23
@hexa:lossy.network@hexa:lossy.networkYes, we all learned a great deal on how to handle such an oddball in the future!21:03:41
@linus.heckemann:matrix.mayflower.deLinux Hackerman joined the room.23:42:43
16 Jun 2021
@schnecfk:ruhr-uni-bochum.deCRTified joined the room.08:35:35
@schnecfk:ruhr-uni-bochum.deCRTified Wow, I've somehow missed the whole debacle around that ambee package. Combined with HA moving away from YAML more and more, I'm really starting to hope that there's a sensible alternative available 🤔 I mean, most components are probably easy to move to "just MQTT", but the number of available integrations is hard to ignore. 08:47:02
@schnecfk:ruhr-uni-bochum.deCRTified * Wow, I've somehow missed the whole debacle around that ambee package (Although the maintainer was at least somewhat reasonable in the end).
Combined with HA moving away from YAML more and more, I'm really starting to hope that there's a sensible alternative available 🤔 I mean, most components are probably easy to move to "just MQTT", but the number of available integrations is hard to ignore.
09:01:31
17 Jun 2021
@robert:funklause.dedotlambdaHas frenck been made aware of the sentence added to https://nixos.org/manual/nixos/unstable/options.html#opt-services.home-assistant.enable? (It's not actually on the website yet cause the channel has yet to advance.)21:33:23
@robert:funklause.dedotlambdaI'm asking because of his comment from 3.5h ago: https://github.com/NixOS/nixpkgs/pull/126047#issuecomment-863449031.21:33:56
@hexa:lossy.network@hexa:lossy.networkwhat21:34:37
@hexa:lossy.network@hexa:lossy.networkhow did that come up again?!21:34:40
@robert:funklause.dedotlambdaWe can also mention that we support 2/3 of HA's components, though I'm not sure how large that number feels to him.21:39:54
@robert:funklause.dedotlambdaAnd tell him that without his package we can't bring it to 100%.21:41:34
@zhaofeng:zhaofeng.liZhaofeng LiWait, again? Seriously?21:43:14

Show newer messages


Back to Room ListRoom Version: 6