@@ -1,4 +1,4 @@
1−{ stdenv, nixosTests, lib, fetchurl, fetchFromGitHub, fetchpatch, python3, protobuf3_6
1+{ stdenv, nixosTests, lib, fetchFromGitHub, python3
22
33# Look up dependencies of specified components in component-packages.nix
44, extraComponents ? [ ]
@@ -57,7 +57,7 @@ let
5757 extraBuildInputs = extraPackages py.pkgs;
5858
5959 # Don't forget to run parse-requirements.py after updating
60− hassVersion = "2021.2.2";
60+ hassVersion = "2021.2.3";
6161
6262in with py.pkgs; buildPythonApplication rec {
6363 pname = "homeassistant";
@@ -76,7 +76,7 @@ in with py.pkgs; buildPythonApplication rec {
7676 owner = "home-assistant";
7777 repo = "core";
7878 rev = version;
79− sha256 = "0y7yj3kwk2454yghslvv5s2783rch9pznhxrw4mh3plr6qzi70rp";
79+ sha256 = "0s1jcd94wwvmvzq86w8s9dwfvnmjs9l661z9pc6kwgagggjjgd8c";
8080 };
8181
8282 # leave this in, so users don't have to constantly update their downstream patch handling
@@ -181,7 +181,8 @@ in with py.pkgs; buildPythonApplication rec {
181181 ];
182182
183183 pytestFlagsArray = [
184− "-n auto"
184+ # limit amout of runners to reduce race conditions
185+ "-n 2"
185186 # assign tests grouped by file to workers
186187 "--dist loadfile"
187188 # don't bulk test all components
@@ -199,10 +200,6 @@ in with py.pkgs; buildPythonApplication rec {
199200 # keyring.errors.NoKeyringError: No recommended backend was available.
200201 "test_secrets_from_unrelated_fails"
201202 "test_secrets_credstash"
202− # system_log/test_init.py: assert 0 == 1 where 0 = len([])
203− "test_error_posted_as_event"
204− # ssdp/test_init.py: RuntimeError: Event loop is closed
205− "test_scan_match_st"
206203 ];
207204
208205 preCheck = ''