Merge pull request #122297 from mweinelt/python/uvloop

python3Packages.uvloop: disable problematic test on aarch64
This commit is contained in:
Martin Weinelt 2021-05-10 03:06:55 +02:00 committed by GitHub
commit f5e58926fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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