1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

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!
{
version = "2023.3.6";
version = "2023.4.0";
components = {
"3_day_blinds" = ps: with ps; [
];
@ -629,9 +629,6 @@
"danfoss_air" = ps: with ps; [
pydanfossair
];
"darksky" = ps: with ps; [
python-forecastio
];
"datadog" = ps: with ps; [
datadog
];
@ -661,12 +658,14 @@
bluetooth-data-tools
dbus-fast
fnvhash
av
hass-nabucasa
hassil
home-assistant-frontend
home-assistant-intents
ifaddr
janus
numpy
pillow
psutil-home-assistant
pyserial
@ -986,6 +985,8 @@
"escea" = ps: with ps; [
pescea
];
"esera_onewire" = ps: with ps; [
];
"esphome" = ps: with ps; [
aioesphomeapi
aiohttp-cors
@ -2104,8 +2105,6 @@
fnvhash
sqlalchemy
];
"magicseaweed" = ps: with ps; [
]; # missing inputs: magicseaweed
"mailbox" = ps: with ps; [
aiohttp-cors
];
@ -2541,6 +2540,7 @@
nuheat
];
"nuki" = ps: with ps; [
aiohttp-cors
pynuki
];
"numato" = ps: with ps; [
@ -2685,12 +2685,25 @@
]; # missing inputs: lightify
"otbr" = ps: with ps; [
aiohttp-cors
bellows
fnvhash
ifaddr
janus
pillow
psutil-home-assistant
pyroute2
pyserial-asyncio
pyserial
python-otbr-api
pyudev
sqlalchemy
zeroconf
zha-quirks
zigpy-deconz
zigpy-xbee
zigpy-zigate
zigpy-znp
zigpy
];
"otp" = ps: with ps; [
pyotp
@ -2902,6 +2915,8 @@
pillow
pyzbar
];
"quadrafire" = ps: with ps; [
];
"quantum_gateway" = ps: with ps; [
quantum-gateway
];
@ -4001,6 +4016,8 @@
"verisure" = ps: with ps; [
vsure
];
"vermont_castings" = ps: with ps; [
];
"versasense" = ps: with ps; [
pyversasense
];
@ -4030,6 +4047,12 @@
"vlc_telnet" = ps: with ps; [
aiovlc
];
"voice_assistant" = ps: with ps; [
aiohttp-cors
hassil
home-assistant-intents
mutagen
];
"voicerss" = ps: with ps; [
];
"volkszaehler" = ps: with ps; [
@ -4432,7 +4455,6 @@
"cpuspeed"
"crownstone"
"daikin"
"darksky"
"datadog"
"debugpy"
"deconz"
@ -4469,6 +4491,7 @@
"ecobee"
"econet"
"ecowitt"
"edl21"
"efergy"
"eight_sleep"
"elgato"
@ -4527,6 +4550,7 @@
"fritzbox_callmonitor"
"fronius"
"frontend"
"frontier_silicon"
"fully_kiosk"
"garages_amsterdam"
"gdacs"
@ -4735,6 +4759,7 @@
"network"
"nexia"
"nextbus"
"nextcloud"
"nextdns"
"nibe_heatpump"
"nightscout"
@ -4752,6 +4777,7 @@
"nut"
"nws"
"nx584"
"obihai"
"octoprint"
"omnilogic"
"onboarding"
@ -4942,6 +4968,7 @@
"telegram"
"telegram_bot"
"tellduslive"
"temper"
"template"
"tesla_wall_connector"
"text"
@ -5007,6 +5034,7 @@
"vilfo"
"vizio"
"vlc_telnet"
"voice_assistant"
"voicerss"
"volumio"
"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 {
version = "0.33";
src = fetchFromGitHub {
@ -98,15 +89,6 @@ let
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 {
version = "3.3.0";
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 {
version = "1.0.1";
src = fetchFromGitHub {
@ -242,22 +214,6 @@ let
inherit version;
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
@ -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
vultr = super.vultr.overridePythonAttrs (oldAttrs: rec {
version = "0.1.2";
@ -327,7 +273,7 @@ let
extraBuildInputs = extraPackages python.pkgs;
# Don't forget to run parse-requirements.py after updating
hassVersion = "2023.3.6";
hassVersion = "2023.4.0";
in python.pkgs.buildPythonApplication rec {
pname = "homeassistant";
@ -343,7 +289,7 @@ in python.pkgs.buildPythonApplication rec {
# Primary source is the pypi sdist, because it contains translations
src = fetchPypi {
inherit pname version;
hash = "sha256-4PS6ozyqJddF6Jp9cKRojUtHTTNd3xo2oTDboowQACk=";
hash = "sha256-50zDSXFd9VmPlt5DrKL240AuhF87rXX7ieMJbmIoj/4=";
};
# Secondary source is git for tests
@ -351,7 +297,7 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = "refs/tags/${version}";
hash = "sha256-+u1kCyIzTQrMvO6slr1YW0kZqkh4QGxUo5ucJzxkfEE=";
hash = "sha256-cel7WtndC/UXUgo9paP2QiSzdpBCo7s570cK8MouVdQ=";
};
nativeBuildInputs = with python3.pkgs; [
@ -425,6 +371,7 @@ in python.pkgs.buildPythonApplication rec {
python-slugify
pyyaml
requests
ulid-transform
voluptuous
voluptuous-serialize
yarl
@ -477,6 +424,8 @@ in python.pkgs.buildPythonApplication rec {
"--showlocals"
# AssertionError: assert 1 == 0
"--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"
];

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 = "20230309.1";
version = "20230405.0";
format = "wheel";
src = fetchPypi {
@ -12,7 +12,7 @@ buildPythonPackage rec {
pname = "home_assistant_frontend";
dist = "py3";
python = "py3";
hash = "sha256-o9NIJHmjr3hQxCNl+DGyIfAfXugn8o9O30B46xqsSXo=";
hash = "sha256-9n/LziR4YJLUK3UKHxWlrxJcr2Dx8ph52j8Xbl7MZ/Y=";
};
# there is nothing to strip in this package

View file

@ -39,25 +39,24 @@ let
};
extraDisabledTests = {
roku = [
# homeassistant.components.roku.media_player:media_player.py:428 Media type music is not supported with format None (mime: audio/x-matroska)
"test_services_play_media_audio"
vesync = [
# homeassistant.components.vesync:config_validation.py:863 The 'vesync' option has been removed, please remove it from your configuration
"test_async_get_config_entry_diagnostics__single_humidifier"
"test_async_get_device_diagnostics__single_fan"
];
};
extraPytestFlagsArray = {
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"
];
history_stats = [
# Flaky: AssertionError: assert '0.0' == '12.0'
"--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 = [
# 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"
];
modem_callerid = [