Unverified Commit cb53f97f authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

home-assistant: 2026.3.4 -> 2026.4.0 (#504899)

parents 0fa49a12 dec237b6
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -77,11 +77,10 @@ in
          # configure the recorder component to use the postgresql db
          recorder.db_url = "postgresql://@/hass";

          # we can't load default_config, because the updater requires
          # network access and would cause an error, so load frontend
          # here explicitly.
          # https://www.home-assistant.io/integrations/frontend/
          frontend = { };
          # without these some components that are loaded anyway fail to find
          # their dependencies
          default_config = { };
          infrared = { };

          # include some popular integrations, that absolutely shouldn't break
          knx = { };
@@ -288,7 +287,7 @@ in
          wait_for_homeassistant(cursor)

      with subtest("Check that no errors were logged"):
          hass.fail("journalctl -u home-assistant -o cat | grep -q ERROR")
          hass.fail("journalctl -u home-assistant -o cat | grep -q 'ERROR ('")

      with subtest("Check systemd unit hardening"):
          hass.log(hass.succeed("systemctl cat home-assistant.service"))
+14 −8
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  fetchFromGitHub,
  setuptools,
  wheel,
  setuptools-scm,
  aiocoap,
  pycryptodomex,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "aioairctrl";
  version = "0.2.6";
  version = "0.3.1";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-mQNgkgQ83GOSc0g0ATctlr4ZeB7g8iGd4qTZfyoO8DM=";
  src = fetchFromGitHub {
    owner = "kongo09";
    repo = "aioairctrl";
    tag = "v${version}";
    hash = "sha256-Ea5OMbpwDubhnpY5K0CVXZneEGtNWkqkQQ7JwVa/JNU=";
  };

  build-system = [
    setuptools
    wheel
    setuptools-scm
  ];

  dependencies = [
@@ -30,9 +33,12 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "aioairctrl" ];

  doCheck = false; # no tests
  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = {
    changelog = "https://github.com/kongo09/aioairctrl/releases/tag/${src.tag}";
    description = "Library for controlling Philips air purifiers (using encrypted CoAP)";
    homepage = "https://github.com/kongo09/aioairctrl";
    license = lib.licenses.mit;
+2 −2
Original line number Diff line number Diff line
@@ -16,14 +16,14 @@

buildPythonPackage rec {
  pname = "aioamazondevices";
  version = "13.0.1";
  version = "13.3.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "chemelli74";
    repo = "aioamazondevices";
    tag = "v${version}";
    hash = "sha256-FCHANMtOMGiV+RqAXRUHpax2UH4xwLRHaJzWvXwZC7U=";
    hash = "sha256-DaQbcWnE/Ij8NpBJ7d0YjWQwKn+mxNw4P4RPT0Lmfs8=";
  };

  build-system = [ poetry-core ];
+2 −2
Original line number Diff line number Diff line
@@ -26,14 +26,14 @@

buildPythonPackage (finalAttrs: {
  pname = "aioesphomeapi";
  version = "44.2.0";
  version = "44.8.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "esphome";
    repo = "aioesphomeapi";
    tag = "v${finalAttrs.version}";
    hash = "sha256-YJhNHNeY6952XrNthhLEzo/GVkKQC5QOcvTpAVbgRic=";
    hash = "sha256-8vc9efKFXTQ1or4uAIMo7ElHc7gaaxKheWGb2RcppbQ=";
  };

  build-system = [
+3 −6
Original line number Diff line number Diff line
@@ -10,29 +10,26 @@
  pytest-cov-stub,
  pytest-timeout,
  pytestCheckHook,
  pythonOlder,
  setuptools,
  yarl,
}:

buildPythonPackage rec {
  pname = "aiohasupervisor";
  version = "0.3.3";
  version = "0.4.3";
  pyproject = true;

  disabled = pythonOlder "3.12";

  src = fetchFromGitHub {
    owner = "home-assistant-libs";
    repo = "python-supervisor-client";
    tag = version;
    hash = "sha256-v6w+g1M3VR/an3a5MfWf8fDCHNzRC4+05L7GW45PzWU=";
    hash = "sha256-h22y62f+pdoHYKqPeKNGFkVS7/IMWbxaAoDLomwAB40=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail 'version = "0.0.0"' 'version = "${version}"' \
      --replace-fail "setuptools>=68.0,<80.10" "setuptools"
      --replace-fail "setuptools>=68.0,<82.1" "setuptools"
  '';

  build-system = [ setuptools ];
Loading