Merge pull request #324850 from NixOS/home-assistant

home-assistant: 2024.7.0 -> 2024.7.1
This commit is contained in:
Martin Weinelt 2024-07-05 18:49:24 +02:00 committed by GitHub
commit 4279ffb5aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 19 additions and 46 deletions

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "aiowebostv";
version = "0.4.1";
version = "0.4.2";
pyproject = true;
disabled = pythonOlder "3.9";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "home-assistant-libs";
repo = "aiowebostv";
rev = "refs/tags/v${version}";
hash = "sha256-pjHm+oCwbiD2dtkl30yATIVP85R72xEk/cmA+a5b05c=";
hash = "sha256-RrSEl/U6UzPoE2151opDe0QRmj6M6wAtsQyF4/dd8ek=";
};
nativeBuildInputs = [ setuptools ];

View File

@ -20,7 +20,7 @@
buildPythonPackage rec {
pname = "python-kasa";
version = "0.7.0.2";
version = "0.7.0.3";
pyproject = true;
disabled = pythonOlder "3.8";
@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "python-kasa";
repo = "python-kasa";
rev = "refs/tags/${version}";
hash = "sha256-Ah2SmKHinpjPMNl1cn2I5FouxhVvg56tg70dOM7C444=";
hash = "sha256-jbyc4YeUKjioUFXL5SVdgeUlSIiOCJ7D0cZRWPiKZII=";
};
build-system = [ poetry-core ];

View File

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "velbus-aio";
version = "2024.7.1";
version = "2024.7.5";
pyproject = true;
disabled = pythonOlder "3.7";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "Cereal2nd";
repo = "velbus-aio";
rev = "refs/tags/${version}";
hash = "sha256-lKCeNQkI+KxhDZ2DYZPteLxJ5J1vBahyH2S7QTYAUiQ=";
hash = "sha256-nGFx4ZqGTLMOmYNZam5jLKUsL3GxyyDwT8WFSEX9Qcs=";
fetchSubmodules = true;
};

View File

@ -2,7 +2,7 @@
# Do not edit!
{
version = "2024.7.0";
version = "2024.7.1";
components = {
"3_day_blinds" = ps: with ps; [
];
@ -687,7 +687,7 @@
"command_line" = ps: with ps; [
];
"compensation" = ps: with ps; [
numpy
numpy_1
];
"concord232" = ps: with ps; [
]; # missing inputs: concord232
@ -784,7 +784,7 @@
home-assistant-intents
ifaddr
mutagen
numpy
numpy_1
pillow
psutil-home-assistant
pynacl
@ -2133,7 +2133,7 @@
pyipp
];
"iqvia" = ps: with ps; [
numpy
numpy_1
pyiqvia
];
"irish_rail_transport" = ps: with ps; [
@ -4294,7 +4294,7 @@
]; # missing inputs: stookwijzer
"stream" = ps: with ps; [
ha-av
numpy
numpy_1
pyturbojpeg
];
"streamlabswater" = ps: with ps; [
@ -4465,7 +4465,7 @@
"template" = ps: with ps; [
];
"tensorflow" = ps: with ps; [
numpy
numpy_1
pillow
pycocotools
tensorflow
@ -4697,7 +4697,7 @@
"travisci" = ps: with ps; [
]; # missing inputs: TravisPy
"trend" = ps: with ps; [
numpy
numpy_1
];
"tts" = ps: with ps; [
ha-ffmpeg

View File

@ -485,7 +485,7 @@ let
extraBuildInputs = extraPackages python.pkgs;
# Don't forget to run update-component-packages.py after updating
hassVersion = "2024.7.0";
hassVersion = "2024.7.1";
in python.pkgs.buildPythonApplication rec {
pname = "homeassistant";
@ -503,13 +503,13 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = "refs/tags/${version}";
hash = "sha256-0+h8Ml/EuEqfTh+TXyrCw07GpyyL84NlgJwPbLc/8XU=";
hash = "sha256-y3VYxlPit9LuC+9F+fQoJs3WD9LsvrMZMiSCqbzkgmk=";
};
# Secondary source is pypi sdist for translations
sdist = fetchPypi {
inherit pname version;
hash = "sha256-bxA6iJ90SYM8HOexyq5biKzTlQvU+V2UGtrKMR2+KWQ=";
hash = "sha256-pFsv0guypnRPeZOg2WrG2HL27W903iANHkvdQ8dCJHo=";
};
build-system = with python.pkgs; [
@ -549,9 +549,6 @@ in python.pkgs.buildPythonApplication rec {
src = ./patches/ffmpeg-path.patch;
ffmpeg = "${lib.getBin ffmpeg-headless}/bin/ffmpeg";
})
# https://github.com/home-assistant/core/pull/121135
./patches/august-pathlib-import.patch
];
postPatch = ''

View File

@ -4,7 +4,7 @@ buildPythonPackage rec {
# the frontend version corresponding to a specific home-assistant version can be found here
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
pname = "home-assistant-frontend";
version = "20240703.0";
version = "20240705.0";
format = "wheel";
src = fetchPypi {
@ -12,7 +12,7 @@ buildPythonPackage rec {
pname = "home_assistant_frontend";
dist = "py3";
python = "py3";
hash = "sha256-O6BpAQrMcP+h33tT2IxuupKo+5qkkDYXNwd6XCrj0CU=";
hash = "sha256-uZs/2/+fmnZzDzEuzEus0LDUNTSQIs/jL4FMBJBpXAE=";
};
# there is nothing to strip in this package

View File

@ -1,25 +0,0 @@
From b6a23fad3537e0baa026b2a7eb5bff8a4246780b Mon Sep 17 00:00:00 2001
From: Martin Weinelt <mweinelt@users.noreply.github.com>
Date: Thu, 4 Jul 2024 01:18:28 +0200
Subject: [PATCH] Fix broken pathlib import in august integration (#121135)
---
homeassistant/components/august/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/homeassistant/components/august/__init__.py b/homeassistant/components/august/__init__.py
index eec794896f6bb..53aa3cdffd8cb 100644
--- a/homeassistant/components/august/__init__.py
+++ b/homeassistant/components/august/__init__.py
@@ -2,10 +2,10 @@
from __future__ import annotations
+from pathlib import Path
from typing import cast
from aiohttp import ClientResponseError
-from path import Path
from yalexs.exceptions import AugustApiAIOHTTPError
from yalexs.manager.exceptions import CannotConnect, InvalidAuth, RequireValidation
from yalexs.manager.gateway import Config as YaleXSConfig

View File

@ -41,6 +41,7 @@ PKG_SET = "home-assistant.python.pkgs"
PKG_PREFERENCES = {
"fiblary3": "fiblary3-fork", # https://github.com/home-assistant/core/issues/66466
"HAP-python": "hap-python",
"numpy": "numpy_1",
"ollama-hass": "ollama",
"sentry-sdk": "sentry-sdk",
"slackclient": "slack-sdk",