summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2020-12-11 15:57:01 +0000
committerGitHub <noreply@github.com>2020-12-11 15:57:01 +0000
commit2864156233f4e2e899ddbdeac1f8fe68426f811c (patch)
tree60d7ddf4feb40c08074318ed1b8111915cc4d0c3 /pkgs
parent08ca2dcebbaf0d399a918ed178884c7a0e35c431 (diff)
parent422ae014bb0808fd33e5d2f2d862f75f0c4932c7 (diff)
Merge pull request #106659 from mweinelt/hass-0.118-deps
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/hass-nabucasa/default.nix1
-rw-r--r--pkgs/servers/home-assistant/default.nix4
2 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/hass-nabucasa/default.nix b/pkgs/development/python-modules/hass-nabucasa/default.nix
index 1739183c3a81..074085bf8f79 100644
--- a/pkgs/development/python-modules/hass-nabucasa/default.nix
+++ b/pkgs/development/python-modules/hass-nabucasa/default.nix
@@ -15,6 +15,7 @@ buildPythonPackage rec {
postPatch = ''
sed -i 's/"acme.*"/"acme"/' setup.py
+ sed -i 's/"attrs.*"/"attrs"/' setup.py
sed -i 's/"cryptography.*"/"cryptography"/' setup.py
'';
diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix
index bc0622e4f554..147ea06434b7 100644
--- a/pkgs/servers/home-assistant/default.nix
+++ b/pkgs/servers/home-assistant/default.nix
@@ -87,8 +87,10 @@ in with py.pkgs; buildPythonApplication rec {
postPatch = ''
substituteInPlace setup.py \
--replace "aiohttp==3.7.1" "aiohttp>=3.6.3" \
+ --replace "attrs==19.3.0" "attrs>=19.3.0" \
--replace "bcrypt==3.1.7" "bcrypt>=3.1.7" \
--replace "cryptography==3.2" "cryptography" \
+ --replace "pip>=8.0.3,<20.3" "pip" \
--replace "requests==2.25.0" "requests>=2.24.0" \
--replace "ruamel.yaml==0.15.100" "ruamel.yaml>=0.15.100"
substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"'
@@ -172,6 +174,8 @@ in with py.pkgs; buildPythonApplication rec {
"test_device_tracker_not_home"
# Racy https://github.com/home-assistant/core/issues/41425
"test_cached_event_message"
+ # ValueError: count must be a positive integer (got 0)
+ "test_media_view"
];
preCheck = ''