Skip to content

Commit e536cd7

Browse files
authored
esphome: 2024.12.4 -> 2025.2.0 (NixOS#383404)
2 parents ff4c467 + 2506313 commit e536cd7

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
buildPythonPackage rec {
2828
pname = "aioesphomeapi";
29-
version = "29.1.0";
29+
version = "29.1.1";
3030
pyproject = true;
3131

3232
disabled = pythonOlder "3.9";
@@ -35,7 +35,7 @@ buildPythonPackage rec {
3535
owner = "esphome";
3636
repo = "aioesphomeapi";
3737
tag = "v${version}";
38-
hash = "sha256-/4/FNb6lGlitsAzO0OadWqP02Wx+mnlrA6yzXFm72sg=";
38+
hash = "sha256-umCjsBn0lS94SArvXXGuOfJ1oXmcVLOlrC35Crik9pA=";
3939
};
4040

4141
build-system = [
@@ -61,16 +61,13 @@ buildPythonPackage rec {
6161
pytestCheckHook
6262
];
6363

64-
disabledTests = [
65-
# https://github.com/esphome/aioesphomeapi/pull/1081
66-
"test_request_while_handshaking"
67-
];
68-
6964
disabledTestPaths = [
7065
# benchmarking requires pytest-codespeed
7166
"tests/benchmarks"
7267
];
7368

69+
__darwinAllowLocalNetworking = true;
70+
7471
pythonImportsCheck = [ "aioesphomeapi" ];
7572

7673
meta = with lib; {

pkgs/tools/misc/esphome/dashboard.nix

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

1414
buildPythonPackage rec {
1515
pname = "esphome-dashboard";
16-
version = "20241217.1";
16+
version = "20250212.0";
1717
pyproject = true;
1818

1919
src = fetchFromGitHub {
2020
owner = "esphome";
2121
repo = "dashboard";
2222
rev = "refs/tags/${version}";
23-
hash = "sha256-Mirihvts8G2D4e5Jn7S0dWEJ+sOHZ+fvzsNaLpAOyMA=";
23+
hash = "sha256-9yXG9jwB284xTM6L3HWQCRD9Ki1F8yHaEl1vDNDxogw=";
2424
};
2525

2626
npmDeps = fetchNpmDeps {
2727
inherit src;
28-
hash = "sha256-fWQvDMeuRjyToHhhZH1KtLWuhgAvq900cCja2dvLQyU=";
28+
hash = "sha256-B0Lx4aH+7NVSMY9qUUOiVeLgIL5wI3JolC9eLzjbRRA=";
2929
};
3030

3131
build-system = [ setuptools ];

pkgs/tools/misc/esphome/default.nix

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ let
2222
in
2323
python.pkgs.buildPythonApplication rec {
2424
pname = "esphome";
25-
version = "2024.12.4";
25+
version = "2025.2.0";
2626
pyproject = true;
2727

2828
src = fetchFromGitHub {
2929
owner = pname;
3030
repo = pname;
3131
tag = version;
32-
hash = "sha256-Ff3NuLHKRLoBbjqb92vvDcSbSJnjCwm5FmSDwnEI0p4=";
32+
hash = "sha256-V9nDDgRgMOko271lQ3D3BQIMtZmFnUhAuFavyPFufEM=";
3333
};
3434

3535
build-systems = with python.pkgs; [
@@ -72,9 +72,9 @@ python.pkgs.buildPythonApplication rec {
7272
colorama
7373
cryptography
7474
esphome-dashboard
75+
esphome-glyphsets
7576
freetype-py
7677
icmplib
77-
glyphsets
7878
kconfiglib
7979
packaging
8080
paho-mqtt
@@ -125,6 +125,12 @@ python.pkgs.buildPythonApplication rec {
125125
pytestCheckHook
126126
];
127127

128+
disabledTests = [
129+
# race condition, also visible in upstream tests
130+
# tests/dashboard/test_web_server.py:78: IndexError
131+
"test_devices_page"
132+
];
133+
128134
postCheck = ''
129135
$out/bin/esphome --help > /dev/null
130136
'';

0 commit comments

Comments
 (0)