From d652974d1a645c504abb65ee5e85d11e738df936 Mon Sep 17 00:00:00 2001 From: Florian Date: Tue, 10 May 2022 22:34:02 +0200 Subject: [PATCH] python3Packages.sanic: fix build on aarch64 (#172155) Co-authored-by: Sandro --- pkgs/development/python-modules/sanic/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/sanic/default.nix b/pkgs/development/python-modules/sanic/default.nix index 91d8c564315..228bf2a5624 100644 --- a/pkgs/development/python-modules/sanic/default.nix +++ b/pkgs/development/python-modules/sanic/default.nix @@ -28,7 +28,7 @@ buildPythonPackage rec { format = "setuptools"; disabled = pythonOlder "3.7" || - pythonAtLeast "3.10"; # see GHSA-7p79-6x2v-5h88 + pythonAtLeast "3.10"; # see GHSA-7p79-6x2v-5h88 src = fetchFromGitHub { owner = "sanic-org"; @@ -125,6 +125,13 @@ buildPythonPackage rec { "test_raw_headers" # noisy_exceptions sometimes missing from sanic stdout "test_noisy_exceptions" + ] ++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [ + # test fail on aarch64 + "test_tls_wrong_options" + "test_cookie_expires" + "test_gunicorn_worker" + "test_gunicorn_worker_no_logs" + "test_gunicorn_worker_with_logs" ]; disabledTestPaths = [