python3Packages.mcp: skip flaky test on darwin

This commit is contained in:
Gaetan Lepage 2025-06-06 11:24:42 +02:00
parent 59ff5c82d6
commit fe80df2ba6

View file

@ -1,5 +1,6 @@
{ {
lib, lib,
stdenv,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
@ -100,7 +101,8 @@ buildPythonPackage rec {
"ignore::pydantic.warnings.PydanticDeprecatedSince211" "ignore::pydantic.warnings.PydanticDeprecatedSince211"
]; ];
disabledTests = [ disabledTests =
[
# attempts to run the package manager uv # attempts to run the package manager uv
"test_command_execution" "test_command_execution"
@ -115,6 +117,10 @@ buildPythonPackage rec {
# inline_snapshot._exceptions.UsageError: snapshot value should not change. Use Is(...) for dynamic snapshot parts # inline_snapshot._exceptions.UsageError: snapshot value should not change. Use Is(...) for dynamic snapshot parts
"test_build_metadata" "test_build_metadata"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# Flaky: ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
"test_notification_validation_error"
]; ];
__darwinAllowLocalNetworking = true; __darwinAllowLocalNetworking = true;