python3Packages.uvloop: fix riscv64-linux build (#530770)

This commit is contained in:
Gaétan Lepage
2026-06-11 18:16:19 +00:00
committed by GitHub
@@ -73,11 +73,18 @@ buildPythonPackage rec {
# https://github.com/MagicStack/uvloop/issues/709
"tests/test_process.py::TestAsyncio_AIO_Process::test_cancel_post_init"
]
++ lib.optionals (stdenv.hostPlatform.isDarwin) [
++ lib.optionals stdenv.hostPlatform.isDarwin [
# Segmentation fault
"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.isRiscV64 [
# SSL record layer failures & ConnectionResetError
"tests/test_tcp.py::Test_AIO_TCPSSL"
"tests/test_tcp.py::Test_UV_TCPSSL"
"tests/test_unix.py::Test_AIO_UnixSSL"
"tests/test_unix.py::Test_UV_UnixSSL"
];
preCheck = ''