From e1990cfa2b9a51af9b3ed33a8dc023d86551edc5 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Fri, 19 Nov 2021 20:18:54 -0300 Subject: [PATCH] python3Packages.sanic: skip tests on all archs --- pkgs/development/python-modules/sanic/default.nix | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/sanic/default.nix b/pkgs/development/python-modules/sanic/default.nix index 1f7775c1d84f..6161f5c5eb02 100644 --- a/pkgs/development/python-modules/sanic/default.nix +++ b/pkgs/development/python-modules/sanic/default.nix @@ -85,19 +85,14 @@ buildPythonPackage rec { "test_auto_reload" "test_no_exceptions_when_cancel_pending_request" "test_ipv6_address_is_not_wrapped" - ] ++ lib.optionals stdenv.isDarwin [ - # https://github.com/sanic-org/sanic/issues/2298 - "test_no_exceptions_when_cancel_pending_request" - ] ++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [ # These appear to be very sensitive to output of commands - # Output is different on aarch64 - "test_server_run" - "test_host_port" - "test_num_workers" "test_access_logs" - "test_version" - # Failing for a different reason than Darwin + "test_auto_reload" + "test_host_port" "test_no_exceptions_when_cancel_pending_request" + "test_num_workers" + "test_server_run" + "test_version" ]; # avoid usage of nixpkgs-review in darwin since tests will compete usage