From 7f428e89d7a86e54d5d91cdb79509ca4ce47a618 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 9 May 2021 05:26:11 +0200 Subject: [PATCH] python3Packages.uvloop: disable problematic test on aarch64 This test case gets stuck on our aarch64 builder since the 0.15.0 upgrade, and so the package has not been in the cache for aarch64, since the job reliably timed out. The issue didn't get noticed earlier because the package does in fact build on some aarch64 machines, like my raspberry pi 4. Reported upstream at https://github.com/MagicStack/uvloop/issues/412. --- pkgs/development/python-modules/uvloop/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/uvloop/default.nix b/pkgs/development/python-modules/uvloop/default.nix index 3ba9dcb5f14..125850a080f 100644 --- a/pkgs/development/python-modules/uvloop/default.nix +++ b/pkgs/development/python-modules/uvloop/default.nix @@ -44,8 +44,15 @@ buildPythonPackage rec { "--assert=plain" "--strict" "--tb=native" + ] ++ lib.optionals (stdenv.isAarch64) [ + # test gets stuck in epoll_pwait on hydras aarch64 builders + # https://github.com/MagicStack/uvloop/issues/412 + "--deselect" "tests/test_tcp.py::Test_AIO_TCPSSL::test_remote_shutdown_receives_trailing_data" + ]; + + disabledTestPaths = [ # ignore code linting tests - "--ignore=tests/test_sourcecode.py" + "tests/test_sourcecode.py" ]; # force using installed/compiled uvloop vs source by moving tests to temp dir