Merge pull request #264866 from NixOS/home-assistant

home-assistant: 2023.10.5 -> 2023.11.0
This commit is contained in:
Martin Weinelt 2023-11-02 02:06:44 +01:00 committed by GitHub
commit d144c0d5f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 173 additions and 109 deletions

View File

@ -455,6 +455,7 @@ in {
"govee_ble"
"homekit_controller"
"inkbird"
"improv_ble"
"keymitt_ble"
"led_ble"
"medcom_ble"

View File

@ -4,13 +4,12 @@
, fetchFromGitHub
, pythonOlder
, setuptools
, wheel
}:
buildPythonPackage rec {
pname = "aioairzone-cloud";
version = "0.3.0";
format = "pyproject";
version = "0.3.1";
pyproject = true;
disabled = pythonOlder "3.7";
@ -18,12 +17,11 @@ buildPythonPackage rec {
owner = "Noltari";
repo = "aioairzone-cloud";
rev = "refs/tags/${version}";
hash = "sha256-tsx98DG/TvTrVwUy9fscErf+3zUC5XVs50lHKW/9pdQ=";
hash = "sha256-PWdyyzdPXDOfZgyLasT9TW+g+So2wOkcf9Fy77Oydl4=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [

View File

@ -2,6 +2,7 @@
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pint
, poetry-core
, pytestCheckHook
, pythonOlder
@ -9,7 +10,7 @@
buildPythonPackage rec {
pname = "aiocomelit";
version = "0.0.9";
version = "0.3.0";
format = "pyproject";
disabled = pythonOlder "3.10";
@ -18,7 +19,7 @@ buildPythonPackage rec {
owner = "chemelli74";
repo = "aiocomelit";
rev = "refs/tags/v${version}";
hash = "sha256-xVSxXiHSyUa31X+eOK5ZXH/+Uwm8lfStY0nZ2mKWFpI=";
hash = "sha256-o8i1H4MsK21kJVbLD22PAUqj5Q9k31JfdZQYARPQICc=";
};
postPatch = ''
@ -32,6 +33,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
aiohttp
pint
];
nativeCheckInputs = [

View File

@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "aiohomekit";
version = "3.0.6";
version = "3.0.9";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "Jc2k";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-e7KSgUOEA3iAR4QdUhjYcHsPdtCJRxu6u+uxuDMaghQ=";
hash = "sha256-YaLSpWSaiEP7X+IujrQgXgWl3aPc1WDMq2yaMUTu328=";
};
nativeBuildInputs = [

View File

@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "aiounifi";
version = "63";
version = "64";
format = "pyproject";
disabled = pythonOlder "3.11";
@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "Kane610";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-am11pFgYMRccUNaK/iKdp6mfk5NQ4QnU41xbFiGCMPs=";
hash = "sha256-A6IfUUaXv/Dm8yncgC0SFBrabCFx0Y24pOul0bqxBLc=";
};
postPatch = ''

View File

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "aiovodafone";
version = "0.3.1";
version = "0.4.2";
format = "pyproject";
disabled = pythonOlder "3.10";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "chemelli74";
repo = "aiovodafone";
rev = "refs/tags/v${version}";
hash = "sha256-Zitssjoe88T7gphfAQXyv2el7jbMLKTnr1GSe5LTWnI=";
hash = "sha256-sWONjWchXu5pRFXY/ZhOXvF0z/qUc1LjqcaSiVPA1MU=";
};
postPatch = ''

View File

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "bleak-retry-connector";
version = "3.2.1";
version = "3.3.0";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "Bluetooth-Devices";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-3dftk/C6g6Hclc/N8LlsYcZfxA1I6bMiXkzRcUg69Oc=";
hash = "sha256-5yhr+W2ZSy/uSgmz23pyIKcoJ34h/eDsoyv+N9Hi36w=";
};
postPatch = ''

View File

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "blinkpy";
version = "0.22.0";
version = "0.22.2";
pyproject = true;
disabled = pythonOlder "3.8";
@ -23,9 +23,14 @@ buildPythonPackage rec {
owner = "fronzbot";
repo = "blinkpy";
rev = "refs/tags/v${version}";
hash = "sha256-r8kf5L6bvtivqd9dSi8om1wIi8IHmipKFckNMPT515I=";
hash = "sha256-T6ryiWVpraaXzwHYBXjuIO8PUqUcQBcLi1+O+iNBaoc=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace ', "wheel~=0.40.0"' ""
'';
nativeBuildInputs = [
setuptools
];

View File

@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "google-nest-sdm";
version = "3.0.2";
version = "3.0.3";
format = "setuptools";
disabled = pythonOlder "3.10";
@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "allenporter";
repo = "python-google-nest-sdm";
rev = "refs/tags/${version}";
hash = "sha256-NNHkcOCoG5Xagc0jTR50uHMA5mMgsh3BIzVJ77OEEjk=";
hash = "sha256-VO/TY/QBzVFxqIumVJjw+Ic0hrqkRBS+7wQKBhcN9Jw=";
};
propagatedBuildInputs = [

View File

@ -4,12 +4,15 @@
, atomicwrites-homeassistant
, attrs
, buildPythonPackage
, ciso8601
, cryptography
, fetchFromGitHub
, pycognito
, pytest-aiohttp
, pytest-timeout
, pytestCheckHook
, pythonOlder
, setuptools
, snitun
, syrupy
, xmltodict
@ -17,16 +20,16 @@
buildPythonPackage rec {
pname = "hass-nabucasa";
version = "0.71.0";
format = "setuptools";
version = "0.74.0";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "nabucasa";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-2v8LEVYY7PEzcIMaXcy9h+8O2KrU0zTKyZb2IrO35JQ=";
hash = "sha256-r4Huvn9mBqnASpUd+drwORE+fApLV/l6Y3aO/UIiEC8=";
};
postPatch = ''
@ -36,11 +39,17 @@ buildPythonPackage rec {
--replace "snitun==" "snitun>=" \
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
acme
aiohttp
atomicwrites-homeassistant
attrs
ciso8601
cryptography
pycognito
snitun
];

View File

@ -7,7 +7,6 @@
, http-ece
, python-dateutil
, python-magic
, pytz
, requests
, six
, pytestCheckHook
@ -15,42 +14,60 @@
, pytest-vcr
, requests-mock
, setuptools
, pytest-cov
}:
buildPythonPackage rec {
pname = "mastodon-py";
# tests are broken on last release, check after next release (> 1.8.1)
version = "unstable-2023-06-24";
format = "pyproject";
version = "1.8.1";
pyproject = true;
src = fetchFromGitHub {
owner = "halcy";
repo = "Mastodon.py";
rev = "cd86887d88bbc07de462d1e00a8fbc3d956c0151";
hash = "sha256-rJocFvtBPrSSny3lwENuRsQdAzi3u8b+SfDNGloniWI=";
rev = "refs/tags/${version}";
hash = "sha256-r0AAUjd2MBfZANEpyztMNyaQTlGWvWoUVjJNO1eL218=";
};
postPatch = ''
sed -i '/addopts/d' setup.cfg
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
blurhash
cryptography
decorator
http-ece
python-dateutil
python-magic
pytz
requests
six
];
passthru.optional-dependencies = {
blurhash = [
blurhash
];
webpush = [
http-ece
cryptography
];
};
nativeCheckInputs = [
pytestCheckHook
pytest-mock
pytest-vcr
pytest-cov
requests-mock
setuptools
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
disabledTests = [
"test_notifications_dismiss_pre_2_9_2"
"test_status_card_pre_2_9_2"
"test_stream_user_direct"
"test_stream_user_local"
];
pythonImportsCheck = [ "mastodon" ];

View File

@ -29,14 +29,14 @@
buildPythonPackage rec {
pname = "matrix-nio";
version = "0.21.2";
version = "0.22.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "poljar";
repo = "matrix-nio";
rev = version;
hash = "sha256-eK5DPmPZ/hv3i3lzoIuS9sJXKpUNhmBv4+Nw2u/RZi0=";
hash = "sha256-hFSS2Nys95YJgBNED8SBan24iRo2q/UOr6pqUPAF5Ms=";
};
postPatch = ''

View File

@ -1,15 +1,17 @@
{ lib
, buildPythonPackage
, aiohttp
, bitarray
, async-timeout
, chacha20poly1305-reuseable
, cryptography
, deepdiff
, fetchFromGitHub
, ifaddr
, mediafile
, miniaudio
, netifaces
, protobuf
, pydantic
, pyfakefs
, pytest-aiohttp
, pytest-asyncio
, pytest-httpserver
@ -18,23 +20,25 @@
, pythonRelaxDepsHook
, pythonOlder
, requests
, setuptools
, srptools
, stdenv
, tabulate
, zeroconf
}:
buildPythonPackage rec {
pname = "pyatv";
version = "0.13.4";
format = "setuptools";
version = "0.14.4";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "postlund";
repo = pname;
repo = "pyatv";
rev = "refs/tags/v${version}";
hash = "sha256-rZnL18vO8eYn70GzeKSY528iTc0r/seGv0dYDYGHNzw=";
hash = "sha256-w3WOlZFfuCmekUsr8msi2LXTm6j8/Bk49L3MiYF7lOM=";
};
postPatch = ''
@ -59,24 +63,28 @@ buildPythonPackage rec {
nativeBuildInputs = [
pythonRelaxDepsHook
setuptools
];
propagatedBuildInputs = [
aiohttp
bitarray
async-timeout
chacha20poly1305-reuseable
cryptography
ifaddr
mediafile
miniaudio
netifaces
protobuf
pydantic
requests
srptools
tabulate
zeroconf
];
nativeCheckInputs = [
deepdiff
pyfakefs
pytest-aiohttp
pytest-asyncio
pytest-httpserver
@ -84,10 +92,6 @@ buildPythonPackage rec {
pytestCheckHook
];
pytestFlagsArray = [
"--asyncio-mode=legacy"
];
disabledTests = lib.optionals (stdenv.isDarwin) [
# tests/protocols/raop/test_raop_functional.py::test_stream_retransmission[raop_properties2-2-True] - assert False
"test_stream_retransmission"

View File

@ -8,12 +8,13 @@
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, syrupy
, yarl
}:
buildPythonPackage rec {
pname = "python-opensky";
version = "0.2.0";
version = "0.2.1";
format = "pyproject";
disabled = pythonOlder "3.10";
@ -22,7 +23,7 @@ buildPythonPackage rec {
owner = "joostlek";
repo = "python-opensky";
rev = "refs/tags/v${version}";
hash = "sha256-62ncinv6XUGB1dYle/yqSCyJNbGD9BLaOqrF/zjL2fA=";
hash = "sha256-xNXFvCUZ/x5ox3KxmG3eA73wpX4fwhvAVmlfcKiT1V8=";
};
postPatch = ''
@ -47,6 +48,7 @@ buildPythonPackage rec {
aresponses
pytest-asyncio
pytestCheckHook
syrupy
];
pythonImportsCheck = [

View File

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "zeroconf";
version = "0.115.2";
version = "0.119.0";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "jstasiak";
repo = "python-zeroconf";
rev = "refs/tags/${version}";
hash = "sha256-qLJWOZyWyLx5orDbvVSluA+zFvHN2393hyVC3ty87ug=";
hash = "sha256-VaqKk2WrRLZM2tfx3+y9GngEc6rMcw0b12ExFVfDYf4=";
};
nativeBuildInputs = [

View File

@ -2,6 +2,7 @@
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, zigpy
@ -27,6 +28,7 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];

View File

@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "zigpy";
version = "0.57.2";
version = "0.58.1";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zigpy";
rev = "refs/tags/${version}";
hash = "sha256-v4H8syWbXqmfvOznRECgSjYi246+socPJTffb79MXK4=";
hash = "sha256-i2P9QyhT/UQ8Xu0IfQ2OzAxIiMF4H04Jkz3/6e2FCpY=";
};
postPatch = ''

View File

@ -2,7 +2,7 @@
# Do not edit!
{
version = "2023.10.5";
version = "2023.11.0";
components = {
"3_day_blinds" = ps: with ps; [
];
@ -682,6 +682,8 @@
"cpuspeed" = ps: with ps; [
py-cpuinfo
];
"cribl" = ps: with ps; [
];
"crownstone" = ps: with ps; [
aiohttp-cors
crownstone-cloud
@ -944,6 +946,8 @@
"eafm" = ps: with ps; [
aioeafm
];
"eastron" = ps: with ps; [
];
"easyenergy" = ps: with ps; [
easyenergy
];
@ -984,7 +988,6 @@
pythonegardia
];
"eight_sleep" = ps: with ps; [
pyeight
];
"electrasmart" = ps: with ps; [
]; # missing inputs: pyElectra
@ -1245,6 +1248,9 @@
"fitbit" = ps: with ps; [
aiohttp-cors
fitbit
fnv-hash-fast
psutil-home-assistant
sqlalchemy
];
"fivem" = ps: with ps; [
fivem-api
@ -1538,6 +1544,13 @@
psutil-home-assistant
sqlalchemy
];
"google_tasks" = ps: with ps; [
aiohttp-cors
fnv-hash-fast
google-api-python-client
psutil-home-assistant
sqlalchemy
];
"google_translate" = ps: with ps; [
gtts
];
@ -1959,10 +1972,31 @@
aiohttp-cors
aioimaplib
];
"imap_email_content" = ps: with ps; [
"improv_ble" = ps: with ps; [
aioesphomeapi
aiohttp-cors
aioimaplib
];
aioruuvigateway
aioshelly
async-interrupt
bleak
bleak-retry-connector
bluetooth-adapters
bluetooth-auto-recovery
bluetooth-data-tools
dbus-fast
esphome-dashboard-api
fnv-hash-fast
hassil
home-assistant-intents
ifaddr
mutagen
psutil-home-assistant
pyserial
pyudev
sqlalchemy
webrtc-noise-gain
zeroconf
]; # missing inputs: py-improv-ble-client
"incomfort" = ps: with ps; [
incomfort-client
];
@ -2370,6 +2404,9 @@
psutil-home-assistant
sqlalchemy
];
"local_todo" = ps: with ps; [
ical
];
"locative" = ps: with ps; [
aiohttp-cors
];
@ -3241,6 +3278,8 @@
"poolsense" = ps: with ps; [
poolsense
];
"portlandgeneral" = ps: with ps; [
];
"powerwall" = ps: with ps; [
tesla-powerwall
];
@ -3332,6 +3371,7 @@
];
"python_script" = ps: with ps; [
restrictedpython
restrictedpython
];
"qbittorrent" = ps: with ps; [
]; # missing inputs: python-qbittorrent
@ -3464,6 +3504,21 @@
psutil-home-assistant
sqlalchemy
];
"recovery_mode" = ps: with ps; [
aiohttp-cors
fnv-hash-fast
hass-nabucasa
hassil
home-assistant-frontend
home-assistant-intents
janus
mutagen
pillow
psutil-home-assistant
pyturbojpeg
sqlalchemy
webrtc-noise-gain
];
"recswitch" = ps: with ps; [
]; # missing inputs: pyrecswitch
"reddit" = ps: with ps; [
@ -3617,21 +3672,6 @@
"sabnzbd" = ps: with ps; [
pysabnzbd
];
"safe_mode" = ps: with ps; [
aiohttp-cors
fnv-hash-fast
hass-nabucasa
hassil
home-assistant-frontend
home-assistant-intents
janus
mutagen
pillow
psutil-home-assistant
pyturbojpeg
sqlalchemy
webrtc-noise-gain
];
"saj" = ps: with ps; [
pysaj
];
@ -3829,9 +3869,6 @@
pyudev
sqlalchemy
];
"shiftr" = ps: with ps; [
paho-mqtt
];
"shodan" = ps: with ps; [
shodan
];
@ -4208,6 +4245,8 @@
"tailscale" = ps: with ps; [
tailscale
];
"tami4" = ps: with ps; [
]; # missing inputs: Tami4EdgeAPI
"tank_utility" = ps: with ps; [
tank-utility
];
@ -4390,6 +4429,9 @@
];
"tod" = ps: with ps; [
];
"todo" = ps: with ps; [
aiohttp-cors
];
"todoist" = ps: with ps; [
todoist-api-python
];
@ -4733,6 +4775,7 @@
]; # missing inputs: wirelesstagpy
"withings" = ps: with ps; [
aiohttp-cors
aiowithings
fnv-hash-fast
hass-nabucasa
hassil
@ -4742,7 +4785,6 @@
pyturbojpeg
sqlalchemy
webrtc-noise-gain
withings-api
];
"wiz" = ps: with ps; [
aiohttp-cors
@ -5231,6 +5273,7 @@
"google_mail"
"google_pubsub"
"google_sheets"
"google_tasks"
"google_translate"
"google_travel_time"
"google_wifi"
@ -5290,7 +5333,6 @@
"image_processing"
"image_upload"
"imap"
"imap_email_content"
"influxdb"
"inkbird"
"input_boolean"
@ -5347,6 +5389,7 @@
"local_calendar"
"local_file"
"local_ip"
"local_todo"
"locative"
"lock"
"logbook"
@ -5518,6 +5561,7 @@
"rdw"
"recollect_waste"
"recorder"
"recovery_mode"
"reddit"
"remote"
"renault"
@ -5544,7 +5588,6 @@
"ruuvi_gateway"
"ruuvitag_ble"
"sabnzbd"
"safe_mode"
"samsungtv"
"scene"
"schedule"
@ -5657,6 +5700,7 @@
"time_date"
"timer"
"tod"
"todo"
"todoist"
"tolo"
"tomato"

View File

@ -67,26 +67,6 @@ let
];
});
blinkpy = super.blinkpy.overridePythonAttrs (oldAttrs: rec {
version = "0.21.0";
src = fetchFromGitHub {
owner = "fronzbot";
repo = "blinkpy";
rev = "refs/tags/v${version}";
hash = "sha256-0sEZlnS6CJj8nMyjtSFZRALRKdmY0Uu5N6sozPiDG6w=";
};
});
dsmr-parser = super.dsmr-parser.overridePythonAttrs (oldAttrs: rec {
version = "0.33";
src = fetchFromGitHub {
owner = "ndokter";
repo = "dsmr_parser";
rev = "refs/tags/v${version}";
hash = "sha256-Phx8Yqx6beTzkQv0fU8Pfs2btPgKVARdO+nMcne1S+w=";
};
});
geojson = super.geojson.overridePythonAttrs (oldAttrs: rec {
version = "2.5.0";
src = fetchFromGitHub {
@ -385,7 +365,7 @@ let
extraBuildInputs = extraPackages python.pkgs;
# Don't forget to run parse-requirements.py after updating
hassVersion = "2023.10.5";
hassVersion = "2023.11.0";
in python.pkgs.buildPythonApplication rec {
pname = "homeassistant";
@ -401,7 +381,7 @@ in python.pkgs.buildPythonApplication rec {
# Primary source is the pypi sdist, because it contains translations
src = fetchPypi {
inherit pname version;
hash = "sha256-jVw0Mudb/L4Lw3AodwcOTrNJZctSfEIcXUzxozo7saA=";
hash = "sha256-qLs098k/MUvmOl6/tB4SDU55V7KTZ0+T3RUoLH4AQ2Q=";
};
# Secondary source is git for tests
@ -409,7 +389,7 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = "refs/tags/${version}";
hash = "sha256-wKxAwa4t3JbS4puDAufjpzcVLcvEY9Bk73qmg3JeLPk=";
hash = "sha256-I5I/OcVE6nGO7LG3s2I1P/VUbPjPkUc7qj43z99tIRM=";
};
nativeBuildInputs = with python.pkgs; [

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 = "20231005.0";
version = "20231030.1";
format = "wheel";
src = fetchPypi {
@ -12,7 +12,7 @@ buildPythonPackage rec {
pname = "home_assistant_frontend";
dist = "py3";
python = "py3";
hash = "sha256-p93bo5+VQykcuK5f0r848tMoANSexvHDVBm7f3IYOMM=";
hash = "sha256-S363j7HnOxLqCBaml1Kb9xfY0AaqBIgj09NutByn6Xo=";
};
# there is nothing to strip in this package

View File

@ -20,7 +20,7 @@
buildPythonPackage rec {
pname = "home-assistant-intents";
version = "2023.10.2";
version = "2023.10.16";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "home-assistant";
repo = "intents-package";
rev = "refs/tags/${version}";
hash = "sha256-4zaMDYHrUape+s9Z1nfGpud74pbkAeKBpJtmIyLdCjk=";
hash = "sha256-qW5KzABEEBw2tu5+fAoWd8nCxuvTzEU14M8iaSo2WzE=";
fetchSubmodules = true;
};