Merge pull request #94475 from mweinelt/hass

homeassistant: 0.113.0 -> 0.113.3
This commit is contained in:
Martin Weinelt 2020-08-03 16:59:52 +02:00 committed by GitHub
commit df51033330
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 4 deletions

@ -2,7 +2,7 @@
# Do not edit!
{
version = "0.113.0";
version = "0.113.3";
components = {
"abode" = ps: with ps; [ ]; # missing inputs: abodepy
"acer_projector" = ps: with ps; [ pyserial];
@ -664,7 +664,7 @@
"rocketchat" = ps: with ps; [ ]; # missing inputs: rocketchat-API
"roku" = ps: with ps; [ ]; # missing inputs: rokuecp
"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
"rpi_camera" = ps: with ps; [ ];
"rpi_gpio" = ps: with ps; [ ]; # missing inputs: RPi.GPIO

@ -72,7 +72,7 @@ let
extraBuildInputs = extraPackages py.pkgs;
# Don't forget to run parse-requirements.py after updating
hassVersion = "0.113.0";
hassVersion = "0.113.3";
in with py.pkgs; buildPythonApplication rec {
pname = "homeassistant";
@ -82,6 +82,7 @@ in with py.pkgs; buildPythonApplication rec {
patches = [
./relax-dependencies.patch
./fix-flapping-chained-task-logging-test.patch
];
inherit availableComponents;
@ -91,7 +92,7 @@ in with py.pkgs; buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = version;
sha256 = "1yb943wkiawh5p4mj5089qcsjfnwb91ga666qriz32bzpfgrzrna";
sha256 = "1lrllhafjawrghdp81lz1ffdqcj2q0x9ndp11nhi8s9fd8bb4c8j";
};
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())