From d8db949832947e43665c34ec52f6aecf9c60ca25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 1 May 2021 22:28:26 +0200 Subject: [PATCH 1/2] python3Packages.fritzconnection: 1.4.2 -> 1.5.0 https://fritzconnection.readthedocs.io/en/1.5.0/sources/changes.html --- pkgs/development/python-modules/fritzconnection/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fritzconnection/default.nix b/pkgs/development/python-modules/fritzconnection/default.nix index 8e54cb6897cc..ad157fbda4c0 100644 --- a/pkgs/development/python-modules/fritzconnection/default.nix +++ b/pkgs/development/python-modules/fritzconnection/default.nix @@ -2,14 +2,14 @@ buildPythonPackage rec { pname = "fritzconnection"; - version = "1.4.2"; + version = "1.5.0"; # no tests on PyPI src = fetchFromGitHub { owner = "kbr"; repo = pname; rev = version; - sha256 = "02w1hwbfwbh5xlq433myzv6ms7jqxg8kn3d6znq4ic22zprzf5r2"; + sha256 = "sha256-Iw7R+39rpoCTrRD74kBihF7AMcJWxy2xdPhKLznWdlo="; }; disabled = pythonOlder "3.6"; From d4917fafb536a9a62073e84347541494f708f78f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 7 May 2021 17:22:57 +0200 Subject: [PATCH 2/2] home-assistant: enable fritz component tests These tests require pytest-mock for the mocker fixture, but it isn't declared anywhere. https://github.com/home-assistant/core/issues/50253 --- pkgs/servers/home-assistant/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 4df380e2b5a0..6e37666c78d9 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -176,6 +176,7 @@ in with py.pkgs; buildPythonApplication rec { # test infrastructure asynctest pytest-aiohttp + pytest-mock pytest-rerunfailures pytest-xdist pytestCheckHook @@ -237,6 +238,7 @@ in with py.pkgs; buildPythonApplication rec { "folder" "folder_watcher" "freebox" + "fritz" "fritzbox" "fritzbox_callmonitor" "frontend"