From d9e209e1fea7acf45e146c1a96886e891497b8f0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 9 Dec 2023 17:58:38 +0100 Subject: [PATCH] python311Packages.python-bsblan: disable tests that fail with aiohttp 3.9.1 --- pkgs/development/python-modules/python-bsblan/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/python-bsblan/default.nix b/pkgs/development/python-modules/python-bsblan/default.nix index 2ffc8ed0b7f2..bfa3f38e4597 100644 --- a/pkgs/development/python-modules/python-bsblan/default.nix +++ b/pkgs/development/python-modules/python-bsblan/default.nix @@ -55,6 +55,12 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = lib.optionals (lib.versionAtLeast aiohttp.version "3.9.0") [ + # https://github.com/liudger/python-bsblan/issues/808 + "test_http_error400" + "test_not_authorized_401_response" + ]; + pythonImportsCheck = [ "bsblan" ];