python3Packages.sanic: fix build on aarch64 (#172155)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
main
Florian 2 years ago committed by GitHub
parent 46a967fd88
commit d652974d1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      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 = [

Loading…
Cancel
Save