Skip to content

Commit d1ded49

Browse files
authored
Merge pull request #333745 from NixOS/home-assistant
home-assistant: 2024.8.0 -> 2024.8.1
2 parents 45080a9 + 0ec8129 commit d1ded49

File tree

16 files changed

+66
-49
lines changed

16 files changed

+66
-49
lines changed

pkgs/development/python-modules/airgradient/default.nix

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
orjson,
99
poetry-core,
1010
pytest-asyncio,
11+
pytest-cov-stub,
1112
pytestCheckHook,
1213
pythonOlder,
1314
syrupy,
@@ -16,7 +17,7 @@
1617

1718
buildPythonPackage rec {
1819
pname = "airgradient";
19-
version = "0.7.1";
20+
version = "0.8.0";
2021
pyproject = true;
2122

2223
disabled = pythonOlder "3.11";
@@ -25,14 +26,9 @@ buildPythonPackage rec {
2526
owner = "airgradienthq";
2627
repo = "python-airgradient";
2728
rev = "refs/tags/v${version}";
28-
hash = "sha256-EFt2V+r7RLiFMihFCCBU9iEPcbSybK6gP+uxed+mIeo=";
29+
hash = "sha256-NONOfM61oCtiNgmKCXvkEvCzSjumwjaeuzg9l/7hX8M=";
2930
};
3031

31-
postPatch = ''
32-
substituteInPlace pyproject.toml \
33-
--replace-fail "--cov" ""
34-
'';
35-
3632
build-system = [ poetry-core ];
3733

3834
dependencies = [
@@ -45,6 +41,7 @@ buildPythonPackage rec {
4541
nativeCheckInputs = [
4642
aioresponses
4743
pytest-asyncio
44+
pytest-cov-stub
4845
pytestCheckHook
4946
syrupy
5047
];

pkgs/development/python-modules/bellows/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
buildPythonPackage rec {
2020
pname = "bellows";
21-
version = "0.40.2";
21+
version = "0.40.3";
2222
pyproject = true;
2323

2424
disabled = pythonOlder "3.8";
@@ -27,7 +27,7 @@ buildPythonPackage rec {
2727
owner = "zigpy";
2828
repo = "bellows";
2929
rev = "refs/tags/${version}";
30-
hash = "sha256-pcyvJsAFJCm6mpGvfWp6WUzdn2Z7Fr2G6B5uEXZDhIg=";
30+
hash = "sha256-JGc5jDvEZtYyYAExRnN1K5hDY3ioS3+mm7jMrR0RyXk=";
3131
};
3232

3333
postPatch = ''

pkgs/development/python-modules/dio-chacon-wifi-api/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717

1818
buildPythonPackage rec {
1919
pname = "dio-chacon-wifi-api";
20-
version = "1.1.0";
20+
version = "1.2.0";
2121
pyproject = true;
2222

2323
src = fetchFromGitHub {
2424
owner = "cnico";
2525
repo = "dio-chacon-wifi-api";
2626
rev = "v${version}";
27-
hash = "sha256-TeunMvkiQw4TzLb2dsAHAg49nUzD3DGiO0DuXKGcICU=";
27+
hash = "sha256-iIDBHyZuI9qNLRmTY0nXOl5wplFKDoiKkqQb1m4uIxs=";
2828
};
2929

3030
build-system = [ poetry-core ];

pkgs/development/python-modules/pydaikin/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
buildPythonPackage rec {
1717
pname = "pydaikin";
18-
version = "2.13.1";
18+
version = "2.13.2";
1919
pyproject = true;
2020

2121
disabled = pythonOlder "3.11";
@@ -24,7 +24,7 @@ buildPythonPackage rec {
2424
owner = "fredrike";
2525
repo = "pydaikin";
2626
rev = "refs/tags/v${version}";
27-
hash = "sha256-UOHNMYcgf8NYwbmr+YcCKZvcrXnz38VKxLAYnpoKiVo=";
27+
hash = "sha256-eq6QE5yYPb9y7bNJwk3sLQp7Pw0PtWn2T/6J+ICfPsY=";
2828
};
2929

3030
build-system = [ setuptools ];

pkgs/development/python-modules/python-homewizard-energy/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
buildPythonPackage rec {
1616
pname = "python-homewizard-energy";
17-
version = "6.1.1";
17+
version = "6.2.0";
1818
pyproject = true;
1919

2020
disabled = pythonOlder "3.9";
@@ -23,7 +23,7 @@ buildPythonPackage rec {
2323
owner = "DCSBL";
2424
repo = "python-homewizard-energy";
2525
rev = "refs/tags/v${version}";
26-
hash = "sha256-DIDHUyos2XScoYZfI3o33UN2R0J/Xc2/JQvtzCXZTts=";
26+
hash = "sha256-CSX2iLjOJRW2dxcE9JhK2A8QlvVUxYE2C6MZFPg370c=";
2727
};
2828

2929
postPatch = ''

pkgs/development/python-modules/zha-quirks/default.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ buildPythonPackage rec {
2424
hash = "sha256-LudwIENP1KCX7+HwyklCUdAu5mRLDcnMEZBzbRH2FM0=";
2525
};
2626

27+
patches = [
28+
# https://github.com/zigpy/zha-device-handlers/pull/3296
29+
./zigpy-0.65.3-compat.patch
30+
];
31+
2732
postPatch = ''
2833
substituteInPlace pyproject.toml \
2934
--replace-fail ', "setuptools-git-versioning<2"' "" \
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/tests/conftest.py b/tests/conftest.py
2+
index e64beb2..c1f0785 100644
3+
--- a/tests/conftest.py
4+
+++ b/tests/conftest.py
5+
@@ -88,7 +88,6 @@ class MockApp(zigpy.application.ControllerApplication):
6+
def app_controller_mock():
7+
"""App controller mock."""
8+
config = {"device": {"path": "/dev/ttyUSB0"}, "database": None}
9+
- config = MockApp.SCHEMA(config)
10+
app = MockApp(config)
11+
return app
12+

pkgs/development/python-modules/zha/default.nix

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
bellows,
55
buildPythonPackage,
66
fetchFromGitHub,
7+
freezegun,
78
pyserial,
89
pyserial-asyncio,
910
pyserial-asyncio-fast,
@@ -26,7 +27,7 @@
2627

2728
buildPythonPackage rec {
2829
pname = "zha";
29-
version = "0.0.28";
30+
version = "0.0.30";
3031
pyproject = true;
3132

3233
disabled = pythonOlder "3.12";
@@ -35,7 +36,7 @@ buildPythonPackage rec {
3536
owner = "zigpy";
3637
repo = "zha";
3738
rev = "refs/tags/${version}";
38-
hash = "sha256-qsX62k/KeQ2ZTUHAv2ieZxOFh9dNFnLx0ZZOZCvI3ZE=";
39+
hash = "sha256-4Fpe1us/GS2QVJbbnMcI7bziyW5P2kuJ6+p5L9N7lMY=";
3940
};
4041

4142
postPatch = ''
@@ -45,14 +46,9 @@ buildPythonPackage rec {
4546
'';
4647

4748
pythonRelaxDeps = [
48-
"bellows"
4949
"pyserial-asyncio-fast"
50-
"universal-silabs-flasher"
51-
"zha-quirks"
52-
"zigpy"
5350
];
5451

55-
5652
build-system = [
5753
setuptools
5854
wheel
@@ -75,6 +71,7 @@ buildPythonPackage rec {
7571
];
7672

7773
nativeCheckInputs = [
74+
freezegun
7875
pytest-asyncio
7976
pytest-timeout
8077
pytest-xdist

pkgs/development/python-modules/zigpy-deconz/default.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5+
fetchpatch2,
56
pyserial,
67
pyserial-asyncio,
78
pytest-asyncio,
@@ -25,6 +26,13 @@ buildPythonPackage rec {
2526
hash = "sha256-z/QulOkvkV/1Z+M7EfzdfGvrrtkapYcvfz+3AijR46k=";
2627
};
2728

29+
patches = [
30+
(fetchpatch2 {
31+
url = "https://github.com/zigpy/zigpy-deconz/commit/86fdcd6be824f12ce3bf88b40217a6224cbf5a89.patch";
32+
hash = "sha256-iqpTSJPBMSBZXg5EVXXupxIFRsGCNuxU/oNHZ2VT0Jc=";
33+
})
34+
];
35+
2836
postPatch = ''
2937
substituteInPlace pyproject.toml \
3038
--replace ', "setuptools-git-versioning<2"' "" \

pkgs/development/python-modules/zigpy-xbee/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
buildPythonPackage rec {
1515
pname = "zigpy-xbee";
16-
version = "0.20.1";
16+
version = "0.20.2";
1717
pyproject = true;
1818

1919
disabled = pythonOlder "3.8";
@@ -22,7 +22,7 @@ buildPythonPackage rec {
2222
owner = "zigpy";
2323
repo = "zigpy-xbee";
2424
rev = "refs/tags/${version}";
25-
hash = "sha256-H0rs4EOzz2Nx5YuwqTZp2FGF1z2phBgSIyraKHHx4RA=";
25+
hash = "sha256-d5TOX2sKA2E6b6KHvAdhxEknD6fOF4qRjCMpBKEsicA=";
2626
};
2727

2828
postPatch = ''

0 commit comments

Comments
 (0)