From ce2c071f8d65d1bf1b7b863495a24883d09da133 Mon Sep 17 00:00:00 2001 From: phanirithvij Date: Tue, 24 Sep 2024 12:07:33 +0530 Subject: [PATCH] python310Packages.aiohttp: disable failing test Signed-off-by: phanirithvij --- pkgs/development/python-modules/aiohttp/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix index 576ea16a39f8..255294df0aa8 100644 --- a/pkgs/development/python-modules/aiohttp/default.nix +++ b/pkgs/development/python-modules/aiohttp/default.nix @@ -6,6 +6,7 @@ fetchFromGitHub, substituteAll, python, + isPy310, # build-system cython, @@ -113,6 +114,11 @@ buildPythonPackage rec { # don't run benchmarks "test_import_time" ] + # these tests fail with python310 but succeeds with 11+ + ++ lib.optionals isPy310 [ + "test_https_proxy_unsupported_tls_in_tls" + "test_tcp_connector_raise_connector_ssl_error" + ] ++ lib.optionals stdenv.hostPlatform.is32bit [ "test_cookiejar" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "test_addresses" # https://github.com/aio-libs/aiohttp/issues/3572, remove >= v4.0.0