git.iko.soy/typeable/nixpkgs
on master help sign in
homeassistant: 0.113.3 -> 0.114.0
commit300307fde6fba5521e8d579628ce7703b5d1196d authorMartin Weinelt <hexa@darmstadt.ccc.de> dateWed 12 Aug 2020, 13:16 (6 years ago) parent74ea2b2
5 files changed+19−58
pkgs/servers/home-assistant/component-packages.nix+13−8 pkgs/servers/home-assistant/default.nix+2−3 pkgs/servers/home-assistant/fix-flapping-chained-task-logging-test.patch−33 pkgs/servers/home-assistant/frontend.nix+2−2 pkgs/servers/home-assistant/relax-dependencies.patch+2−12
pkgs/servers/home-assistant/component-packages.nix+13−8
@@ -2,9 +2,10 @@
22# Do not edit!
33
44{
5− version = "0.113.3";
5+ version = "0.114.0";
66 components = {
77 "abode" = ps: with ps; [ ]; # missing inputs: abodepy
8+ "accuweather" = ps: with ps; [ ]; # missing inputs: accuweather
89 "acer_projector" = ps: with ps; [ pyserial];
910 "acmeda" = ps: with ps; [ ]; # missing inputs: aiopulse
1011 "actiontec" = ps: with ps; [ ];
@@ -64,6 +65,7 @@
6465 "awair" = ps: with ps; [ ]; # missing inputs: python_awair
6566 "aws" = ps: with ps; [ ]; # missing inputs: aiobotocore
6667 "axis" = ps: with ps; [ aiohttp-cors paho-mqtt]; # missing inputs: axis
68+ "azure_devops" = ps: with ps; [ ]; # missing inputs: aioazuredevops
6769 "azure_event_hub" = ps: with ps; [ ]; # missing inputs: azure-eventhub
6870 "azure_service_bus" = ps: with ps; [ azure-servicebus];
6971 "baidu" = ps: with ps; [ ]; # missing inputs: baidu-aip
@@ -90,7 +92,7 @@
9092 "bmp280" = ps: with ps; [ ]; # missing inputs: RPi.GPIO adafruit-circuitpython-bmp280
9193 "bmw_connected_drive" = ps: with ps; [ ]; # missing inputs: bimmer_connected
9294 "bom" = ps: with ps; [ ]; # missing inputs: bomradarloop
93− "bond" = ps: with ps; [ ]; # missing inputs: bond-home
95+ "bond" = ps: with ps; [ ]; # missing inputs: bond-api
9496 "braviatv" = ps: with ps; [ bravia-tv];
9597 "broadlink" = ps: with ps; [ broadlink];
9698 "brother" = ps: with ps; [ brother];
@@ -130,6 +132,7 @@
130132 "concord232" = ps: with ps; [ ]; # missing inputs: concord232
131133 "config" = ps: with ps; [ aiohttp-cors];
132134 "configurator" = ps: with ps; [ ];
135+ "control4" = ps: with ps; [ ]; # missing inputs: pyControl4
133136 "conversation" = ps: with ps; [ aiohttp-cors];
134137 "coolmaster" = ps: with ps; [ ]; # missing inputs: pycoolmasternet
135138 "coronavirus" = ps: with ps; [ ]; # missing inputs: coronavirus
@@ -246,6 +249,7 @@
246249 "filesize" = ps: with ps; [ ];
247250 "filter" = ps: with ps; [ aiohttp-cors sqlalchemy];
248251 "fints" = ps: with ps; [ fints];
252+ "firmata" = ps: with ps; [ ]; # missing inputs: pymata-express
249253 "fitbit" = ps: with ps; [ aiohttp-cors fitbit];
250254 "fixer" = ps: with ps; [ ]; # missing inputs: fixerio
251255 "fleetgo" = ps: with ps; [ ]; # missing inputs: ritassist
@@ -427,7 +431,6 @@
427431 "lightwave" = ps: with ps; [ ]; # missing inputs: lightwave
428432 "limitlessled" = ps: with ps; [ limitlessled];
429433 "linksys_smart" = ps: with ps; [ ];
430− "linky" = ps: with ps; [ ]; # missing inputs: pylinky
431434 "linode" = ps: with ps; [ linode-api];
432435 "linux_battery" = ps: with ps; [ batinfo];
433436 "lirc" = ps: with ps; [ ]; # missing inputs: python-lirc
@@ -471,7 +474,7 @@
471474 "meraki" = ps: with ps; [ aiohttp-cors];
472475 "message_bird" = ps: with ps; [ ]; # missing inputs: messagebird
473476 "met" = ps: with ps; [ pymetno];
474− "meteo_france" = ps: with ps; [ ]; # missing inputs: meteofrance vigilancemeteo
477+ "meteo_france" = ps: with ps; [ ]; # missing inputs: meteofrance-api
475478 "meteoalarm" = ps: with ps; [ ]; # missing inputs: meteoalertapi
476479 "metoffice" = ps: with ps; [ ]; # missing inputs: datapoint
477480 "mfi" = ps: with ps; [ ]; # missing inputs: mficlient
@@ -581,6 +584,7 @@
581584 "orvibo" = ps: with ps; [ ]; # missing inputs: orvibo
582585 "osramlightify" = ps: with ps; [ ]; # missing inputs: lightify
583586 "otp" = ps: with ps; [ pyotp];
587+ "ovo_energy" = ps: with ps; [ ]; # missing inputs: ovoenergy
584588 "owntracks" = ps: with ps; [ pynacl aiohttp-cors hass-nabucasa paho-mqtt];
585589 "ozw" = ps: with ps; [ aiohttp-cors paho-mqtt]; # missing inputs: python-openzwave-mqtt
586590 "panasonic_bluray" = ps: with ps; [ ]; # missing inputs: panacotta
@@ -712,7 +716,7 @@
712716 "simulated" = ps: with ps; [ ];
713717 "sinch" = ps: with ps; [ ]; # missing inputs: clx-sdk-xms
714718 "sisyphus" = ps: with ps; [ ]; # missing inputs: sisyphus-control
715− "sky_hub" = ps: with ps; [ ];
719+ "sky_hub" = ps: with ps; [ ]; # missing inputs: pyskyqhub
716720 "skybeacon" = ps: with ps; [ ]; # missing inputs: pygatt[GATTTOOL]
717721 "skybell" = ps: with ps; [ ]; # missing inputs: skybellpy
718722 "slack" = ps: with ps; [ ]; # missing inputs: slackclient
@@ -801,7 +805,7 @@
801805 "telnet" = ps: with ps; [ ];
802806 "temper" = ps: with ps; [ ]; # missing inputs: temperusb
803807 "template" = ps: with ps; [ ];
804− "tensorflow" = ps: with ps; [ numpy pillow protobuf]; # missing inputs: tensorflow
808+ "tensorflow" = ps: with ps; [ numpy pillow protobuf]; # missing inputs: pycocotools tensorflow tf-models-official tf-slim
805809 "tesla" = ps: with ps; [ ]; # missing inputs: teslajsonpy
806810 "tfiac" = ps: with ps; [ ]; # missing inputs: pytfiac
807811 "thermoworks_smoke" = ps: with ps; [ stringcase]; # missing inputs: thermoworks_smoke
@@ -882,7 +886,7 @@
882886 "vlc_telnet" = ps: with ps; [ ]; # missing inputs: python-telnet-vlc
883887 "voicerss" = ps: with ps; [ ];
884888 "volkszaehler" = ps: with ps; [ ]; # missing inputs: volkszaehler
885− "volumio" = ps: with ps; [ ];
889+ "volumio" = ps: with ps; [ ]; # missing inputs: pyvolumio
886890 "volvooncall" = ps: with ps; [ ]; # missing inputs: volvooncall
887891 "vultr" = ps: with ps; [ vultr];
888892 "w800rf32" = ps: with ps; [ ]; # missing inputs: pyW800rf32
@@ -904,6 +908,7 @@
904908 "wirelesstag" = ps: with ps; [ ]; # missing inputs: wirelesstagpy
905909 "withings" = ps: with ps; [ aiohttp-cors]; # missing inputs: withings-api
906910 "wled" = ps: with ps; [ ]; # missing inputs: wled
911+ "wolflink" = ps: with ps; [ ]; # missing inputs: wolf_smartset
907912 "workday" = ps: with ps; [ holidays];
908913 "worldclock" = ps: with ps; [ ];
909914 "worldtidesinfo" = ps: with ps; [ ];
@@ -924,7 +929,7 @@
924929 "yale_smart_alarm" = ps: with ps; [ ]; # missing inputs: yalesmartalarmclient
925930 "yamaha" = ps: with ps; [ rxv];
926931 "yamaha_musiccast" = ps: with ps; [ ]; # missing inputs: pymusiccast
927− "yandex_transport" = ps: with ps; [ ]; # missing inputs: ya_ma
932+ "yandex_transport" = ps: with ps; [ ]; # missing inputs: aioymaps
928933 "yandextts" = ps: with ps; [ ];
929934 "yeelight" = ps: with ps; [ aiohttp-cors netdisco zeroconf]; # missing inputs: yeelight
930935 "yeelightsunflower" = ps: with ps; [ ]; # missing inputs: yeelightsunflower
pkgs/servers/home-assistant/default.nix+2−3
@@ -72,7 +72,7 @@ let
7272 extraBuildInputs = extraPackages py.pkgs;
7373
7474 # Don't forget to run parse-requirements.py after updating
75− hassVersion = "0.113.3";
75+ hassVersion = "0.114.0";
7676
7777in with py.pkgs; buildPythonApplication rec {
7878 pname = "homeassistant";
@@ -82,7 +82,6 @@ in with py.pkgs; buildPythonApplication rec {
8282
8383 patches = [
8484 ./relax-dependencies.patch
85− ./fix-flapping-chained-task-logging-test.patch
8685 ];
8786
8887 inherit availableComponents;
@@ -92,7 +91,7 @@ in with py.pkgs; buildPythonApplication rec {
9291 owner = "home-assistant";
9392 repo = "core";
9493 rev = version;
95− sha256 = "1lrllhafjawrghdp81lz1ffdqcj2q0x9ndp11nhi8s9fd8bb4c8j";
94+ sha256 = "0g7jwhdvdcam7gvrj72aknrsvdwm5i5hs93nngqm26m1g4sng0ma";
9695 };
9796
9897 propagatedBuildInputs = [
pkgs/servers/home-assistant/fix-flapping-chained-task-logging-test.patchdeleted−33
@@ -1,33 +0,0 @@
1−From 1d54dafad9968465d995d195f683d8032a5194d1 Mon Sep 17 00:00:00 2001
2−From: "J. Nick Koston" <nick@koston.org>
3−Date: Sun, 2 Aug 2020 23:05:53 +0000
4−Subject: [PATCH] Fix flapping chained task logging test
5−
6−Creating 20 tasks was taking less than 0.0001 seconds which caused
7−the tests to fail. Increase the number of test tasks by two orders
8−of magnitude.
9−---
10− tests/test_core.py | 4 ++--
11− 1 file changed, 2 insertions(+), 2 deletions(-)
12−
13−diff --git a/tests/test_core.py b/tests/test_core.py
14−index 12ed00fde2c9..167eda3f6cb4 100644
15−--- a/tests/test_core.py
16−+++ b/tests/test_core.py
17−@@ -1436,14 +1436,14 @@ async def test_chained_logging_hits_log_timeout(hass, caplog):
18− async def _task_chain_1():
19− nonlocal created
20− created += 1
21−- if created > 10:
22−+ if created > 1000:
23− return
24− hass.async_create_task(_task_chain_2())
25−
26− async def _task_chain_2():
27− nonlocal created
28− created += 1
29−- if created > 10:
30−+ if created > 1000:
31− return
32− hass.async_create_task(_task_chain_1())
33−
pkgs/servers/home-assistant/frontend.nix+2−2
@@ -4,11 +4,11 @@ buildPythonPackage rec {
44 # the frontend version corresponding to a specific home-assistant version can be found here
55 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
66 pname = "home-assistant-frontend";
7− version = "20200716.0";
7+ version = "20200811.0";
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "07h8llin0rx06c5v2skkij5756gqdq079ysxzmrm6xnzk9mcvfsk";
11+ sha256 = "0nrvfr4mw7h9py27hkak201jsfrvyxlgswfnda1l7k9ns9y4lpj8";
1212 };
1313
1414 # no Python tests implemented
pkgs/servers/home-assistant/relax-dependencies.patch+2−12
@@ -1,16 +1,7 @@
11diff --git a/setup.py b/setup.py
2−index 7cf06942f3..b3dd1b3e1b 100755
2+index 81f8727ed6..12200e0b9f 100755
33--- a/setup.py
44+++ b/setup.py
5−@@ -32,7 +32,7 @@ PROJECT_URLS = {
6− PACKAGES = find_packages(exclude=["tests", "tests.*"])
7−
8− REQUIRES = [
9−- "aiohttp==3.6.1",
10−+ "aiohttp>=3.6.1",
11− "astral==1.10.1",
12− "async_timeout==3.0.1",
13− "attrs==19.3.0",
145@@ -43,13 +43,13 @@ REQUIRES = [
156 "jinja2>=2.11.1",
167 "PyJWT==1.7.1",
@@ -18,8 +9,7 @@ index 7cf06942f3..b3dd1b3e1b 100755
189- "cryptography==2.9.2",
1910+ "cryptography>=2.9.2",
2011 "pip>=8.0.3",
21−- "python-slugify==4.0.0",
22−+ "python-slugify>=4.0.0",
12+ "python-slugify==4.0.1",
2313 "pytz>=2020.1",
2414 "pyyaml==5.3.1",
2515- "requests==2.24.0",