From 9043d626c47b1e44366b71f0a6c663d6143195a1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 15 Apr 2022 21:31:01 +0200 Subject: [PATCH] python3Packages.requests: disable fatal tests on aarch64-darwin --- pkgs/development/python-modules/requests/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/python-modules/requests/default.nix b/pkgs/development/python-modules/requests/default.nix index 0e823536f541..559ce70533ce 100644 --- a/pkgs/development/python-modules/requests/default.nix +++ b/pkgs/development/python-modules/requests/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , brotli , brotlicffi , buildPythonPackage @@ -66,6 +67,15 @@ buildPythonPackage rec { "test_use_proxy_from_environment" "TestRequests" "TestTimeout" + ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ + # Fatal Python error: Aborted + "test_basic_response" + "test_text_response" + ]; + + disabledTestPaths = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ + # Fatal Python error: Aborted + "tests/test_lowlevel.py" ]; pythonImportsCheck = [