3
0
Fork 0
forked from mirrors/nixpkgs

home-assistant: 2023.3.6 -> 2023.4.0

https://www.home-assistant.io/blog/2023/04/05/release-20234/
This commit is contained in:
Martin Weinelt 2023-04-05 23:30:07 +02:00
parent 76f74c2203
commit 79d2de2761
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
4 changed files with 49 additions and 73 deletions

View file

@ -2,7 +2,7 @@
# Do not edit! # Do not edit!
{ {
version = "2023.3.6"; version = "2023.4.0";
components = { components = {
"3_day_blinds" = ps: with ps; [ "3_day_blinds" = ps: with ps; [
]; ];
@ -629,9 +629,6 @@
"danfoss_air" = ps: with ps; [ "danfoss_air" = ps: with ps; [
pydanfossair pydanfossair
]; ];
"darksky" = ps: with ps; [
python-forecastio
];
"datadog" = ps: with ps; [ "datadog" = ps: with ps; [
datadog datadog
]; ];
@ -661,12 +658,14 @@
bluetooth-data-tools bluetooth-data-tools
dbus-fast dbus-fast
fnvhash fnvhash
av
hass-nabucasa hass-nabucasa
hassil hassil
home-assistant-frontend home-assistant-frontend
home-assistant-intents home-assistant-intents
ifaddr ifaddr
janus janus
numpy
pillow pillow
psutil-home-assistant psutil-home-assistant
pyserial pyserial
@ -986,6 +985,8 @@
"escea" = ps: with ps; [ "escea" = ps: with ps; [
pescea pescea
]; ];
"esera_onewire" = ps: with ps; [
];
"esphome" = ps: with ps; [ "esphome" = ps: with ps; [
aioesphomeapi aioesphomeapi
aiohttp-cors aiohttp-cors
@ -2104,8 +2105,6 @@
fnvhash fnvhash
sqlalchemy sqlalchemy
]; ];
"magicseaweed" = ps: with ps; [
]; # missing inputs: magicseaweed
"mailbox" = ps: with ps; [ "mailbox" = ps: with ps; [
aiohttp-cors aiohttp-cors
]; ];
@ -2541,6 +2540,7 @@
nuheat nuheat
]; ];
"nuki" = ps: with ps; [ "nuki" = ps: with ps; [
aiohttp-cors
pynuki pynuki
]; ];
"numato" = ps: with ps; [ "numato" = ps: with ps; [
@ -2685,12 +2685,25 @@
]; # missing inputs: lightify ]; # missing inputs: lightify
"otbr" = ps: with ps; [ "otbr" = ps: with ps; [
aiohttp-cors aiohttp-cors
bellows
fnvhash fnvhash
ifaddr ifaddr
janus
pillow
psutil-home-assistant
pyroute2 pyroute2
pyserial-asyncio
pyserial
python-otbr-api python-otbr-api
pyudev
sqlalchemy sqlalchemy
zeroconf zeroconf
zha-quirks
zigpy-deconz
zigpy-xbee
zigpy-zigate
zigpy-znp
zigpy
]; ];
"otp" = ps: with ps; [ "otp" = ps: with ps; [
pyotp pyotp
@ -2902,6 +2915,8 @@
pillow pillow
pyzbar pyzbar
]; ];
"quadrafire" = ps: with ps; [
];
"quantum_gateway" = ps: with ps; [ "quantum_gateway" = ps: with ps; [
quantum-gateway quantum-gateway
]; ];
@ -4001,6 +4016,8 @@
"verisure" = ps: with ps; [ "verisure" = ps: with ps; [
vsure vsure
]; ];
"vermont_castings" = ps: with ps; [
];
"versasense" = ps: with ps; [ "versasense" = ps: with ps; [
pyversasense pyversasense
]; ];
@ -4030,6 +4047,12 @@
"vlc_telnet" = ps: with ps; [ "vlc_telnet" = ps: with ps; [
aiovlc aiovlc
]; ];
"voice_assistant" = ps: with ps; [
aiohttp-cors
hassil
home-assistant-intents
mutagen
];
"voicerss" = ps: with ps; [ "voicerss" = ps: with ps; [
]; ];
"volkszaehler" = ps: with ps; [ "volkszaehler" = ps: with ps; [
@ -4432,7 +4455,6 @@
"cpuspeed" "cpuspeed"
"crownstone" "crownstone"
"daikin" "daikin"
"darksky"
"datadog" "datadog"
"debugpy" "debugpy"
"deconz" "deconz"
@ -4469,6 +4491,7 @@
"ecobee" "ecobee"
"econet" "econet"
"ecowitt" "ecowitt"
"edl21"
"efergy" "efergy"
"eight_sleep" "eight_sleep"
"elgato" "elgato"
@ -4527,6 +4550,7 @@
"fritzbox_callmonitor" "fritzbox_callmonitor"
"fronius" "fronius"
"frontend" "frontend"
"frontier_silicon"
"fully_kiosk" "fully_kiosk"
"garages_amsterdam" "garages_amsterdam"
"gdacs" "gdacs"
@ -4735,6 +4759,7 @@
"network" "network"
"nexia" "nexia"
"nextbus" "nextbus"
"nextcloud"
"nextdns" "nextdns"
"nibe_heatpump" "nibe_heatpump"
"nightscout" "nightscout"
@ -4752,6 +4777,7 @@
"nut" "nut"
"nws" "nws"
"nx584" "nx584"
"obihai"
"octoprint" "octoprint"
"omnilogic" "omnilogic"
"onboarding" "onboarding"
@ -4942,6 +4968,7 @@
"telegram" "telegram"
"telegram_bot" "telegram_bot"
"tellduslive" "tellduslive"
"temper"
"template" "template"
"tesla_wall_connector" "tesla_wall_connector"
"text" "text"
@ -5007,6 +5034,7 @@
"vilfo" "vilfo"
"vizio" "vizio"
"vlc_telnet" "vlc_telnet"
"voice_assistant"
"voicerss" "voicerss"
"volumio" "volumio"
"volvooncall" "volvooncall"

View file

@ -69,15 +69,6 @@ let
]; ];
}); });
bimmer-connected = super.bimmer-connected.overridePythonAttrs (oldAttrs: rec {
version = "0.12.1";
src = fetchFromGitHub {
inherit (oldAttrs.src) owner repo;
rev = "refs/tags/${version}";
hash = "sha256-wLQ2UkedLSwfbUqmb85QgsDYh0zcbgQOMnhbRHW5Bnw=";
};
});
dsmr-parser = super.dsmr-parser.overridePythonAttrs (oldAttrs: rec { dsmr-parser = super.dsmr-parser.overridePythonAttrs (oldAttrs: rec {
version = "0.33"; version = "0.33";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -98,15 +89,6 @@ let
doCheck = false; doCheck = false;
}); });
gios = super.gios.overridePythonAttrs (oldAttrs: rec {
version = "2.3.0";
src = fetchFromGitHub {
inherit (oldAttrs.src) owner repo;
rev = "refs/tags/${version}";
hash = "sha256-/lAENP9wKZ+h2Iq2e9S7s7Naa0CTl/I2cwCxBEAwsrA=";
};
});
jaraco-abode = super.jaraco-abode.overridePythonAttrs (oldAttrs: rec { jaraco-abode = super.jaraco-abode.overridePythonAttrs (oldAttrs: rec {
version = "3.3.0"; version = "3.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -168,16 +150,6 @@ let
}; };
}); });
# https://github.com/home-assistant/core/pull/80931
pyjwt = super.pyjwt.overridePythonAttrs (oldAttrs: rec {
version = "2.5.0";
src = super.fetchPypi {
pname = "PyJWT";
inherit version;
hash = "sha256-53q4lICQXYaZhEKsV4jzUzP6hfZQR6U0rcOO3zyI/Ds=";
};
});
pykaleidescape = super.pykaleidescape.overridePythonAttrs (oldAttrs: rec { pykaleidescape = super.pykaleidescape.overridePythonAttrs (oldAttrs: rec {
version = "1.0.1"; version = "1.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -242,22 +214,6 @@ let
inherit version; inherit version;
hash = "sha256-w0PwtUZJX116I5xwv1CpmkjXMhwWW4Kvr6hIO56+v24="; hash = "sha256-w0PwtUZJX116I5xwv1CpmkjXMhwWW4Kvr6hIO56+v24=";
}; };
nativeCheckInputs = oldAttrs.nativeCheckInputs ++ (with super; [
pytest-xdist
]);
disabledTestPaths = (oldAttrs.disabledTestPaths or []) ++ [
"test/aaa_profiling"
"test/ext/mypy"
];
});
subarulink = super.subarulink.overridePythonAttrs (oldAttrs: rec {
version = "0.7.0";
src = fetchFromGitHub {
inherit (oldAttrs.src) owner repo;
rev = "refs/tags/v${version}";
hash = "sha256-BxnpdZwbnZF1oWcu3jRDeXvcaweOuVk1R79KpMLB02c=";
};
}); });
# Pinned due to API changes in 0.3.0 # Pinned due to API changes in 0.3.0
@ -282,16 +238,6 @@ let
}; };
}); });
# Pinned due to API changes in 2.0
vsure = super.vsure.overridePythonAttrs (oldAttrs: rec {
version = "1.8.1";
src = super.fetchPypi {
pname = "vsure";
inherit version;
hash = "sha256-Zh83t7yjZU2NjOgCkqPUHbqvEyEWXGITRgr5d2fLtRI=";
};
});
# Pinned due to API changes ~1.0 # Pinned due to API changes ~1.0
vultr = super.vultr.overridePythonAttrs (oldAttrs: rec { vultr = super.vultr.overridePythonAttrs (oldAttrs: rec {
version = "0.1.2"; version = "0.1.2";
@ -327,7 +273,7 @@ let
extraBuildInputs = extraPackages python.pkgs; extraBuildInputs = extraPackages python.pkgs;
# Don't forget to run parse-requirements.py after updating # Don't forget to run parse-requirements.py after updating
hassVersion = "2023.3.6"; hassVersion = "2023.4.0";
in python.pkgs.buildPythonApplication rec { in python.pkgs.buildPythonApplication rec {
pname = "homeassistant"; pname = "homeassistant";
@ -343,7 +289,7 @@ in python.pkgs.buildPythonApplication rec {
# Primary source is the pypi sdist, because it contains translations # Primary source is the pypi sdist, because it contains translations
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-4PS6ozyqJddF6Jp9cKRojUtHTTNd3xo2oTDboowQACk="; hash = "sha256-50zDSXFd9VmPlt5DrKL240AuhF87rXX7ieMJbmIoj/4=";
}; };
# Secondary source is git for tests # Secondary source is git for tests
@ -351,7 +297,7 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant"; owner = "home-assistant";
repo = "core"; repo = "core";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-+u1kCyIzTQrMvO6slr1YW0kZqkh4QGxUo5ucJzxkfEE="; hash = "sha256-cel7WtndC/UXUgo9paP2QiSzdpBCo7s570cK8MouVdQ=";
}; };
nativeBuildInputs = with python3.pkgs; [ nativeBuildInputs = with python3.pkgs; [
@ -425,6 +371,7 @@ in python.pkgs.buildPythonApplication rec {
python-slugify python-slugify
pyyaml pyyaml
requests requests
ulid-transform
voluptuous voluptuous
voluptuous-serialize voluptuous-serialize
yarl yarl
@ -477,6 +424,8 @@ in python.pkgs.buildPythonApplication rec {
"--showlocals" "--showlocals"
# AssertionError: assert 1 == 0 # AssertionError: assert 1 == 0
"--deselect tests/test_config.py::test_merge" "--deselect tests/test_config.py::test_merge"
# AssertionError: assert 2 == 1
"--deselect=tests/helpers/test_translation.py::test_caching"
# tests are located in tests/ # tests are located in tests/
"tests" "tests"
]; ];

View file

@ -4,7 +4,7 @@ buildPythonPackage rec {
# the frontend version corresponding to a specific home-assistant version can be found here # 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 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
pname = "home-assistant-frontend"; pname = "home-assistant-frontend";
version = "20230309.1"; version = "20230405.0";
format = "wheel"; format = "wheel";
src = fetchPypi { src = fetchPypi {
@ -12,7 +12,7 @@ buildPythonPackage rec {
pname = "home_assistant_frontend"; pname = "home_assistant_frontend";
dist = "py3"; dist = "py3";
python = "py3"; python = "py3";
hash = "sha256-o9NIJHmjr3hQxCNl+DGyIfAfXugn8o9O30B46xqsSXo="; hash = "sha256-9n/LziR4YJLUK3UKHxWlrxJcr2Dx8ph52j8Xbl7MZ/Y=";
}; };
# there is nothing to strip in this package # there is nothing to strip in this package

View file

@ -39,25 +39,24 @@ let
}; };
extraDisabledTests = { extraDisabledTests = {
roku = [ vesync = [
# homeassistant.components.roku.media_player:media_player.py:428 Media type music is not supported with format None (mime: audio/x-matroska) # homeassistant.components.vesync:config_validation.py:863 The 'vesync' option has been removed, please remove it from your configuration
"test_services_play_media_audio" "test_async_get_config_entry_diagnostics__single_humidifier"
"test_async_get_device_diagnostics__single_fan"
]; ];
}; };
extraPytestFlagsArray = { extraPytestFlagsArray = {
dnsip = [ dnsip = [
# AssertionError: assert <FlowResultType.FORM: 'form'> == <FlowResultTy...create_entry'> # Tries to resolve DNS entries
"--deselect tests/components/dnsip/test_config_flow.py::test_options_flow" "--deselect tests/components/dnsip/test_config_flow.py::test_options_flow"
]; ];
history_stats = [ history_stats = [
# Flaky: AssertionError: assert '0.0' == '12.0' # Flaky: AssertionError: assert '0.0' == '12.0'
"--deselect tests/components/history_stats/test_sensor.py::test_end_time_with_microseconds_zeroed" "--deselect tests/components/history_stats/test_sensor.py::test_end_time_with_microseconds_zeroed"
]; ];
logbook = [
"--deselect tests/components/logbook/test_websocket_api.py::test_recorder_is_far_behind "
];
modbus = [ modbus = [
# homeassistant.components.modbus.modbus:modbus.py:317 Pymodbus: modbusTest: Modbus Error: test connect exception
"--deselect tests/components/modbus/test_init.py::test_pymodbus_connect_fail" "--deselect tests/components/modbus/test_init.py::test_pymodbus_connect_fail"
]; ];
modem_callerid = [ modem_callerid = [