From d6d2d6c6d7fcd5b71e97b9ee5f25c72f30eb9127 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 22 Jul 2022 17:12:45 +0200 Subject: [PATCH] python3Packages.twisted: skip failing tests on aarch64-darwin Seen on hydra for both python3.9 and python3.10 on aarch64-darwin exclusively. --- pkgs/development/python-modules/twisted/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/twisted/default.nix b/pkgs/development/python-modules/twisted/default.nix index ceaadd74ee6e..7779f0531370 100644 --- a/pkgs/development/python-modules/twisted/default.nix +++ b/pkgs/development/python-modules/twisted/default.nix @@ -104,6 +104,9 @@ buildPythonPackage rec { # twisted.python.runtime.platform.supportsINotify() == False substituteInPlace src/twisted/python/_inotify.py --replace \ "ctypes.util.find_library(\"c\")" "'${stdenv.cc.libc}/lib/libc.so.6'" + '' + lib.optionalString (stdenv.isAarch64 && stdenv.isDarwin) '' + echo 'AbortConnectionTests_AsyncioSelectorReactorTests.test_fullWriteBufferAfterByteExchange.skip = "Timeout after 120 seconds"' >> src/twisted/internet/test/test_tcp.py + echo 'AbortConnectionTests_AsyncioSelectorReactorTests.test_resumeProducingAbort.skip = "Timeout after 120 seconds"' >> src/twisted/internet/test/test_tcp.py ''; # Generate Twisted's plug-in cache. Twisted users must do it as well. See