Unverified Commit e536cd73 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

esphome: 2024.12.4 -> 2025.2.0 (#383404)

parents ff4c467b 25063132
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@

buildPythonPackage rec {
  pname = "aioesphomeapi";
  version = "29.1.0";
  version = "29.1.1";
  pyproject = true;

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

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

  disabledTests = [
    # https://github.com/esphome/aioesphomeapi/pull/1081
    "test_request_while_handshaking"
  ];

  disabledTestPaths = [
    # benchmarking requires pytest-codespeed
    "tests/benchmarks"
  ];

  __darwinAllowLocalNetworking = true;

  pythonImportsCheck = [ "aioesphomeapi" ];

  meta = with lib; {
+3 −3
Original line number Diff line number Diff line
@@ -13,19 +13,19 @@

buildPythonPackage rec {
  pname = "esphome-dashboard";
  version = "20241217.1";
  version = "20250212.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "esphome";
    repo = "dashboard";
    rev = "refs/tags/${version}";
    hash = "sha256-Mirihvts8G2D4e5Jn7S0dWEJ+sOHZ+fvzsNaLpAOyMA=";
    hash = "sha256-9yXG9jwB284xTM6L3HWQCRD9Ki1F8yHaEl1vDNDxogw=";
  };

  npmDeps = fetchNpmDeps {
    inherit src;
    hash = "sha256-fWQvDMeuRjyToHhhZH1KtLWuhgAvq900cCja2dvLQyU=";
    hash = "sha256-B0Lx4aH+7NVSMY9qUUOiVeLgIL5wI3JolC9eLzjbRRA=";
  };

  build-system = [ setuptools ];
+9 −3
Original line number Diff line number Diff line
@@ -22,14 +22,14 @@ let
in
python.pkgs.buildPythonApplication rec {
  pname = "esphome";
  version = "2024.12.4";
  version = "2025.2.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = pname;
    repo = pname;
    tag = version;
    hash = "sha256-Ff3NuLHKRLoBbjqb92vvDcSbSJnjCwm5FmSDwnEI0p4=";
    hash = "sha256-V9nDDgRgMOko271lQ3D3BQIMtZmFnUhAuFavyPFufEM=";
  };

  build-systems = with python.pkgs; [
@@ -72,9 +72,9 @@ python.pkgs.buildPythonApplication rec {
    colorama
    cryptography
    esphome-dashboard
    esphome-glyphsets
    freetype-py
    icmplib
    glyphsets
    kconfiglib
    packaging
    paho-mqtt
@@ -125,6 +125,12 @@ python.pkgs.buildPythonApplication rec {
    pytestCheckHook
  ];

  disabledTests = [
    # race condition, also visible in upstream tests
    # tests/dashboard/test_web_server.py:78: IndexError
    "test_devices_page"
  ];

  postCheck = ''
    $out/bin/esphome --help > /dev/null
  '';