Merge pull request #94475 from mweinelt/hass
homeassistant: 0.113.0 -> 0.113.3
This commit is contained in:
commit
df51033330
@ -2,7 +2,7 @@
|
|||||||
# Do not edit!
|
# Do not edit!
|
||||||
|
|
||||||
{
|
{
|
||||||
version = "0.113.0";
|
version = "0.113.3";
|
||||||
components = {
|
components = {
|
||||||
"abode" = ps: with ps; [ ]; # missing inputs: abodepy
|
"abode" = ps: with ps; [ ]; # missing inputs: abodepy
|
||||||
"acer_projector" = ps: with ps; [ pyserial];
|
"acer_projector" = ps: with ps; [ pyserial];
|
||||||
@ -664,7 +664,7 @@
|
|||||||
"rocketchat" = ps: with ps; [ ]; # missing inputs: rocketchat-API
|
"rocketchat" = ps: with ps; [ ]; # missing inputs: rocketchat-API
|
||||||
"roku" = ps: with ps; [ ]; # missing inputs: rokuecp
|
"roku" = ps: with ps; [ ]; # missing inputs: rokuecp
|
||||||
"roomba" = ps: with ps; [ ]; # missing inputs: roombapy
|
"roomba" = ps: with ps; [ ]; # missing inputs: roombapy
|
||||||
"route53" = ps: with ps; [ boto3]; # missing inputs: ipify
|
"route53" = ps: with ps; [ boto3];
|
||||||
"rova" = ps: with ps; [ ]; # missing inputs: rova
|
"rova" = ps: with ps; [ ]; # missing inputs: rova
|
||||||
"rpi_camera" = ps: with ps; [ ];
|
"rpi_camera" = ps: with ps; [ ];
|
||||||
"rpi_gpio" = ps: with ps; [ ]; # missing inputs: RPi.GPIO
|
"rpi_gpio" = ps: with ps; [ ]; # missing inputs: RPi.GPIO
|
||||||
|
@ -72,7 +72,7 @@ let
|
|||||||
extraBuildInputs = extraPackages py.pkgs;
|
extraBuildInputs = extraPackages py.pkgs;
|
||||||
|
|
||||||
# Don't forget to run parse-requirements.py after updating
|
# Don't forget to run parse-requirements.py after updating
|
||||||
hassVersion = "0.113.0";
|
hassVersion = "0.113.3";
|
||||||
|
|
||||||
in with py.pkgs; buildPythonApplication rec {
|
in with py.pkgs; buildPythonApplication rec {
|
||||||
pname = "homeassistant";
|
pname = "homeassistant";
|
||||||
@ -82,6 +82,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./relax-dependencies.patch
|
./relax-dependencies.patch
|
||||||
|
./fix-flapping-chained-task-logging-test.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
inherit availableComponents;
|
inherit availableComponents;
|
||||||
@ -91,7 +92,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||||||
owner = "home-assistant";
|
owner = "home-assistant";
|
||||||
repo = "core";
|
repo = "core";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1yb943wkiawh5p4mj5089qcsjfnwb91ga666qriz32bzpfgrzrna";
|
sha256 = "1lrllhafjawrghdp81lz1ffdqcj2q0x9ndp11nhi8s9fd8bb4c8j";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -0,0 +1,33 @@
|
|||||||
|
From 1d54dafad9968465d995d195f683d8032a5194d1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "J. Nick Koston" <nick@koston.org>
|
||||||
|
Date: Sun, 2 Aug 2020 23:05:53 +0000
|
||||||
|
Subject: [PATCH] Fix flapping chained task logging test
|
||||||
|
|
||||||
|
Creating 20 tasks was taking less than 0.0001 seconds which caused
|
||||||
|
the tests to fail. Increase the number of test tasks by two orders
|
||||||
|
of magnitude.
|
||||||
|
---
|
||||||
|
tests/test_core.py | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/tests/test_core.py b/tests/test_core.py
|
||||||
|
index 12ed00fde2c9..167eda3f6cb4 100644
|
||||||
|
--- a/tests/test_core.py
|
||||||
|
+++ b/tests/test_core.py
|
||||||
|
@@ -1436,14 +1436,14 @@ async def test_chained_logging_hits_log_timeout(hass, caplog):
|
||||||
|
async def _task_chain_1():
|
||||||
|
nonlocal created
|
||||||
|
created += 1
|
||||||
|
- if created > 10:
|
||||||
|
+ if created > 1000:
|
||||||
|
return
|
||||||
|
hass.async_create_task(_task_chain_2())
|
||||||
|
|
||||||
|
async def _task_chain_2():
|
||||||
|
nonlocal created
|
||||||
|
created += 1
|
||||||
|
- if created > 10:
|
||||||
|
+ if created > 1000:
|
||||||
|
return
|
||||||
|
hass.async_create_task(_task_chain_1())
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user