python3Packages.reflex: disable tests that fail in Darwin sandbox (#434499)

This commit is contained in:
Peder Bergebakken Sundt
2025-08-19 21:04:42 +02:00
committed by GitHub
@@ -31,6 +31,7 @@
rich,
sqlmodel,
starlette-admin,
stdenv,
typer,
typing-extensions,
unzip,
@@ -124,8 +125,14 @@ buildPythonPackage rec {
# tries to run bun or npm
"test_output_system_info"
# Comparison with magic string
# TODO Recheck on next update as it appears to be fixed in 8.0.x
"test_background_task_no_block"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# PermissionError: [Errno 1] Operation not permitted (fails in sandbox)
"test_is_process_on_port_free_port"
"test_is_process_on_port_occupied_port"
"test_is_process_on_port_both_protocols"
"test_is_process_on_port_concurrent_access"
];
disabledTestPaths = [