From 2e0b261da8c4a08d642bcbf115ffbca5d69ff481 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 13 Mar 2021 10:44:31 +0100 Subject: [PATCH] python3Packages.urllib3: disable two tests that fail on aarch64 Use null workaround to avoid rebuild on other platforms. --- pkgs/development/python-modules/urllib3/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/urllib3/default.nix b/pkgs/development/python-modules/urllib3/default.nix index c255eea04c5c..ea554efe353d 100644 --- a/pkgs/development/python-modules/urllib3/default.nix +++ b/pkgs/development/python-modules/urllib3/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , brotli , buildPythonPackage , certifi @@ -46,6 +47,14 @@ buildPythonPackage rec { trustme ]; + disabledTests = if stdenv.hostPlatform.isAarch64 then + [ + "test_connection_closed_on_read_timeout_preload_false" + "test_ssl_failed_fingerprint_verification" + ] + else + null; + pythonImportsCheck = [ "urllib3" ]; meta = with lib; {