Unverified Commit f5e58926 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #122297 from mweinelt/python/uvloop

python3Packages.uvloop: disable problematic test on aarch64
parents 56dc147d 7f428e89
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -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