python314Packages.uvloop: skip failing test on x86_64-darwin

This commit is contained in:
Martin Weinelt
2025-12-29 11:40:53 +01:00
parent 308a74cec8
commit ef4313c45c
@@ -80,13 +80,10 @@ buildPythonPackage rec {
# Broken: https://github.com/NixOS/nixpkgs/issues/160904
"tests/test_context.py::Test_UV_Context::test_create_ssl_server_manual_connection_lost"
]
++
lib.optionals
(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 && pythonAtLeast "3.14")
[
# https://github.com/MagicStack/uvloop/issues/709
"tests/test_process.py::TestAsyncio_AIO_Process::test_cancel_post_init"
];
++ lib.optionals (stdenv.hostPlatform.isDarwin && pythonAtLeast "3.14") [
# https://github.com/MagicStack/uvloop/issues/709
"tests/test_process.py::TestAsyncio_AIO_Process::test_cancel_post_init"
];
preCheck = ''
# force using installed/compiled uvloop