Merge pull request #112038 from mweinelt/home-assistant
home-assistant: 2021.2.0 -> 2021.2.1
This commit is contained in:
commit
3985624500
|
@ -8,14 +8,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "awesomeversion";
|
pname = "awesomeversion";
|
||||||
version = "21.2.0";
|
version = "21.2.2";
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ludeeus";
|
owner = "ludeeus";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1rzd0mcxdjnnzg35hvdvacwrr9brwmkw9bwlb5x6bcp24ry9yl0q";
|
sha256 = "1yl09csypa64nhsw7dc6kj8iybm1wkhfzylyfyq8b7jpwdx7ql31";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -1,40 +1,46 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, requests
|
, certifi
|
||||||
|
, click
|
||||||
, keyring
|
, keyring
|
||||||
, keyrings-alt
|
, keyrings-alt
|
||||||
, click
|
, pytz
|
||||||
|
, requests
|
||||||
, six
|
, six
|
||||||
, tzlocal
|
, tzlocal
|
||||||
, certifi
|
, pytest-mock
|
||||||
, bitstring
|
, pytestCheckHook
|
||||||
, unittest2
|
|
||||||
, future
|
, future
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyicloud";
|
pname = "pyicloud";
|
||||||
version = "0.9.7";
|
version = "0.10.2";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "picklepete";
|
||||||
sha256 = "dcebb32e474bc28aa77b944a0a64949ef3b5b852cbef6256fbc95347a04e777c";
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0bxbhvimwbj2jm8dg7sil8yvln17xgjhvpwr4m783vwfcf76kdmy";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
requests
|
certifi
|
||||||
|
click
|
||||||
|
future
|
||||||
keyring
|
keyring
|
||||||
keyrings-alt
|
keyrings-alt
|
||||||
click
|
pytz
|
||||||
|
requests
|
||||||
six
|
six
|
||||||
tzlocal
|
tzlocal
|
||||||
certifi
|
|
||||||
bitstring
|
|
||||||
future
|
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ unittest2 ];
|
checkInputs = [
|
||||||
|
pytest-mock
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i \
|
sed -i \
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Do not edit!
|
# Do not edit!
|
||||||
|
|
||||||
{
|
{
|
||||||
version = "2021.2.0";
|
version = "2021.2.1";
|
||||||
components = {
|
components = {
|
||||||
"abode" = ps: with ps; [ abodepy ];
|
"abode" = ps: with ps; [ abodepy ];
|
||||||
"accuweather" = ps: with ps; [ accuweather ];
|
"accuweather" = ps: with ps; [ accuweather ];
|
||||||
|
|
|
@ -57,7 +57,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 = "2021.2.0";
|
hassVersion = "2021.2.1";
|
||||||
|
|
||||||
in with py.pkgs; buildPythonApplication rec {
|
in with py.pkgs; buildPythonApplication rec {
|
||||||
pname = "homeassistant";
|
pname = "homeassistant";
|
||||||
|
@ -76,7 +76,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||||
owner = "home-assistant";
|
owner = "home-assistant";
|
||||||
repo = "core";
|
repo = "core";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "116aq683wy7sxdbxr43li90irpfbsz0dv8w0r1fghcjpwlj7ihwa";
|
sha256 = "0a8l23n6j0x1hjcifajgbrip7b4l8xcgxn2wa1lcg27p1cghrv5m";
|
||||||
};
|
};
|
||||||
|
|
||||||
# leave this in, so users don't have to constantly update their downstream patch handling
|
# leave this in, so users don't have to constantly update their downstream patch handling
|
||||||
|
@ -101,6 +101,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||||
astral
|
astral
|
||||||
async-timeout
|
async-timeout
|
||||||
attrs
|
attrs
|
||||||
|
awesomeversion
|
||||||
bcrypt
|
bcrypt
|
||||||
certifi
|
certifi
|
||||||
ciso8601
|
ciso8601
|
||||||
|
@ -181,30 +182,23 @@ in with py.pkgs; buildPythonApplication rec {
|
||||||
|
|
||||||
pytestFlagsArray = [
|
pytestFlagsArray = [
|
||||||
"-n auto"
|
"-n auto"
|
||||||
|
# assign tests grouped by file to workers
|
||||||
|
"--dist loadfile"
|
||||||
# don't bulk test all components
|
# don't bulk test all components
|
||||||
"--ignore tests/components"
|
"--ignore tests/components"
|
||||||
# prone to race conditions due to parallel file access
|
|
||||||
"--ignore tests/test_config.py"
|
|
||||||
# pyotp since v2.4.0 complains about the short mock keys, hass pins v2.3.0
|
# pyotp since v2.4.0 complains about the short mock keys, hass pins v2.3.0
|
||||||
"--ignore tests/auth/mfa_modules/test_notify.py"
|
"--ignore tests/auth/mfa_modules/test_notify.py"
|
||||||
"tests"
|
"tests"
|
||||||
] ++ map (component: "tests/components/" + component) componentTests;
|
] ++ map (component: "tests/components/" + component) componentTests;
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# AssertionError: assert 'unknown' == 'not_home'
|
# AssertionError: assert 1 == 0
|
||||||
"test_device_tracker_not_home"
|
"test_merge"
|
||||||
|
# ModuleNotFoundError: No module named 'pyqwikswitch'
|
||||||
|
"test_merge_id_schema"
|
||||||
# keyring.errors.NoKeyringError: No recommended backend was available.
|
# keyring.errors.NoKeyringError: No recommended backend was available.
|
||||||
"test_secrets_from_unrelated_fails"
|
"test_secrets_from_unrelated_fails"
|
||||||
"test_secrets_credstash"
|
"test_secrets_credstash"
|
||||||
# AssertionError: Expected 'start' to have been called once. Called 0 times.
|
|
||||||
"test_setup_and_stop"
|
|
||||||
# AssertionError: assert {} == {'test': <ANY...ckage': <ANY>}
|
|
||||||
"test_get_custom_components_internal"
|
|
||||||
# assert 0 == 1 where 0 = len([])
|
|
||||||
"test_error_posted_as_event"
|
|
||||||
# RuntimeError: Event loop is closed
|
|
||||||
"test_config_path"
|
|
||||||
"test_info_endpoint_register_callback_timeout"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
|
|
Loading…
Reference in a new issue