python3Packages.a2a-sdk: disable tests that fail on Darwin

This commit is contained in:
Sarah Clark
2026-06-14 13:49:27 -07:00
parent 109937ebaf
commit 0e9f1ddd1b
@@ -27,6 +27,7 @@
sqlalchemy,
sse-starlette,
starlette,
stdenv,
uv-dynamic-versioning,
uvicorn,
}:
@@ -104,10 +105,18 @@ buildPythonPackage (finalAttrs: {
pythonImportsCheck = [ "a2a" ];
disabledTests = lib.optionals (pythonAtLeast "3.14") [
# _pickle.PicklingError: Can't pickle local object <function...
"test_notification_triggering"
];
disabledTests =
[ ]
++ lib.optionals (pythonAtLeast "3.14") [
# _pickle.PicklingError: Can't pickle local object <function...
"test_notification_triggering"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# AttributeError: Can't get local object 'FastAPI.setup.<locals>.openap…
"test_notification_triggering_with_in_message_config_e2e"
"test_notification_triggering_after_config_change_e2e"
"test_trace_function_sync_attribute_extractor_error_logged"
];
meta = {
description = "Python SDK for the Agent2Agent (A2A) Protocol";