python314Packages.uvloop: skip failing test on aarch64-darwin

This is guarded to save rebuilds and could be generalized later.
This commit is contained in:
Martin Weinelt
2025-12-28 10:44:31 +01:00
parent 3557e60914
commit 8a5a3e116f
@@ -2,9 +2,9 @@
lib,
stdenv,
buildPythonPackage,
pythonAtLeast,
pythonOlder,
fetchFromGitHub,
fetchpatch,
# build-system
cython,
@@ -79,7 +79,14 @@ buildPythonPackage rec {
"tests/test_fs_event.py::Test_UV_FS_EVENT_RENAME::test_fs_event_rename"
# 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"
];
preCheck = ''
# force using installed/compiled uvloop