Merge pull request #142074 from NixOS/home-assistant

home-assistant: 2021.10.4 -> 2021.10.6
This commit is contained in:
Martin Weinelt 2021-10-21 01:14:41 +02:00 committed by GitHub
commit 106ef6c046
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 13 deletions

View File

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "crownstone-cloud"; pname = "crownstone-cloud";
version = "1.4.5"; version = "1.4.8";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -18,8 +18,8 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "crownstone"; owner = "crownstone";
repo = "crownstone-lib-python-cloud"; repo = "crownstone-lib-python-cloud";
rev = "v${version}"; rev = version;
sha256 = "1a8bkqkrc7iyggr5rr20qdqg67sycdx2d94dd1ylkmr7627r34ys"; sha256 = "sha256-iHn4g52/QM0TS/flKkcFrX6IFrCjiXUxcjVLHNg6tVo=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -32,9 +32,13 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
disabledTests = [
# https://github.com/crownstone/crownstone-lib-python-cloud/issues/1
"test_data_structure"
];
postPatch = '' postPatch = ''
substituteInPlace requirements.txt \ sed -i '/codecov/d' requirements.txt
--replace "codecov>=2.1.10" ""
''; '';
pythonImportsCheck = [ pythonImportsCheck = [

View File

@ -1,22 +1,24 @@
{ lib { lib
, aiohttp , aiohttp
, aioresponses , aresponses
, asynctest , asynctest
, backoff , backoff
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, poetry-core , poetry-core
, pytest-aiohttp , pytest-aiohttp
, pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, pytz , pytz
, types-pytz , types-pytz
, voluptuous , voluptuous
, websockets
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "simplisafe-python"; pname = "simplisafe-python";
version = "11.0.6"; version = "12.0.2";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -24,7 +26,7 @@ buildPythonPackage rec {
owner = "bachya"; owner = "bachya";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-XVn/GBcTTthvsRJOnCZ0yOF3nUwbBZ2dfMJZsJXnE6U="; sha256 = "sha256-/KnDsnx+Jrirj6uBkdao6PI2jhtzKqDK6cmmQgsO5T4=";
}; };
nativeBuildInputs = [ poetry-core ]; nativeBuildInputs = [ poetry-core ];
@ -35,12 +37,14 @@ buildPythonPackage rec {
pytz pytz
types-pytz types-pytz
voluptuous voluptuous
websockets
]; ];
checkInputs = [ checkInputs = [
aioresponses aresponses
asynctest asynctest
pytest-aiohttp pytest-aiohttp
pytest-asyncio
pytestCheckHook pytestCheckHook
]; ];

View File

@ -2,7 +2,7 @@
# Do not edit! # Do not edit!
{ {
version = "2021.10.4"; version = "2021.10.6";
components = { components = {
"abode" = ps: with ps; [ abodepy ]; "abode" = ps: with ps; [ abodepy ];
"accuweather" = ps: with ps; [ accuweather ]; "accuweather" = ps: with ps; [ accuweather ];
@ -151,7 +151,7 @@
"cover" = ps: with ps; [ ]; "cover" = ps: with ps; [ ];
"cppm_tracker" = ps: with ps; [ ]; # missing inputs: clearpasspy "cppm_tracker" = ps: with ps; [ ]; # missing inputs: clearpasspy
"cpuspeed" = ps: with ps; [ py-cpuinfo ]; "cpuspeed" = ps: with ps; [ py-cpuinfo ];
"crownstone" = ps: with ps; [ aiohttp-cors pyserial pyudev ]; # missing inputs: crownstone-cloud crownstone-sse crownstone-uart "crownstone" = ps: with ps; [ aiohttp-cors crownstone-cloud crownstone-sse crownstone-uart pyserial pyudev ];
"cups" = ps: with ps; [ pycups ]; "cups" = ps: with ps; [ pycups ];
"currencylayer" = ps: with ps; [ ]; "currencylayer" = ps: with ps; [ ];
"daikin" = ps: with ps; [ pydaikin ]; "daikin" = ps: with ps; [ pydaikin ];

View File

@ -68,6 +68,20 @@ let
# Pinned due to API changes in 0.1.0 # Pinned due to API changes in 0.1.0
(mkOverride "poolsense" "0.0.8" "09y4fq0gdvgkfsykpxnvmfv92dpbknnq5v82spz43ak6hjnhgcyp") (mkOverride "poolsense" "0.0.8" "09y4fq0gdvgkfsykpxnvmfv92dpbknnq5v82spz43ak6hjnhgcyp")
# Pinned due to missing simpliypy.errors.PendingAuthorizationError in simplisafe-python>12 which results in a failing import
(self: super: {
simplisafe-python = super.simplisafe-python.overridePythonAttrs (oldAttrs: rec {
version = "11.0.7";
src = fetchFromGitHub {
owner = "bachya";
repo = "simplisafe-python";
rev = version;
sha256 = "02nrighkdcd5n9qgbizm9gyfnpgdm4iibw7y8nbyfaxpng069fzp";
};
checkInputs = oldAttrs.checkInputs ++ [ super.aioresponses ];
});
})
# Pinned due to changes in total-connect-client>0.58 which made the tests fails at the moment # Pinned due to changes in total-connect-client>0.58 which made the tests fails at the moment
(self: super: { (self: super: {
total-connect-client = super.total-connect-client.overridePythonAttrs (oldAttrs: rec { total-connect-client = super.total-connect-client.overridePythonAttrs (oldAttrs: rec {
@ -114,7 +128,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.10.4"; hassVersion = "2021.10.6";
in with py.pkgs; buildPythonApplication rec { in with py.pkgs; buildPythonApplication rec {
pname = "homeassistant"; pname = "homeassistant";
@ -131,7 +145,7 @@ in with py.pkgs; buildPythonApplication rec {
owner = "home-assistant"; owner = "home-assistant";
repo = "core"; repo = "core";
rev = version; rev = version;
sha256 = "1cl0h15285x7xba425d9anv882adi6bdqx4i3cicg3gf0nzcc8am"; sha256 = "0275f327dzr4cggfw5n8x533b4h8zz8yli5d0js7cw1rmi3cmkbc";
}; };
# 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