From a82514b182dacc35f39661b52f00051c35a8b169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 19 Jan 2026 22:42:37 -0800 Subject: [PATCH] python3Packages.slowapi: disable fewer tests --- pkgs/development/python-modules/slowapi/default.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/slowapi/default.nix b/pkgs/development/python-modules/slowapi/default.nix index 9130e2e22f17..bf4412ff471a 100644 --- a/pkgs/development/python-modules/slowapi/default.nix +++ b/pkgs/development/python-modules/slowapi/default.nix @@ -9,7 +9,6 @@ httpx, poetry-core, pytestCheckHook, - pythonAtLeast, redis, starlette, }: @@ -43,14 +42,10 @@ buildPythonPackage rec { ]; disabledTests = [ - # AssertionError: Regex pattern 'parameter `request` must be an instance of starlette.requests.Request' does not match 'This portal is not running'. - "test_endpoint_request_param_invalid" - "test_endpoint_response_param_invalid" # AssertionError: assert '1740326049.9886339' == '1740326049' "test_headers_no_breach" "test_headers_breach" - ] - ++ lib.optionals (pythonAtLeast "3.10") [ "test_multiple_decorators" ]; + ]; pythonImportsCheck = [ "slowapi" ];