mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 12:45:27 +03:00
python3Packages.mcp: skip flaky test on darwin
This commit is contained in:
parent
59ff5c82d6
commit
fe80df2ba6
1 changed files with 18 additions and 12 deletions
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
stdenv,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
|
||||||
|
@ -100,22 +101,27 @@ buildPythonPackage rec {
|
||||||
"ignore::pydantic.warnings.PydanticDeprecatedSince211"
|
"ignore::pydantic.warnings.PydanticDeprecatedSince211"
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests =
|
||||||
# attempts to run the package manager uv
|
[
|
||||||
"test_command_execution"
|
# attempts to run the package manager uv
|
||||||
|
"test_command_execution"
|
||||||
|
|
||||||
# performance-dependent test
|
# performance-dependent test
|
||||||
"test_messages_are_executed_concurrently"
|
"test_messages_are_executed_concurrently"
|
||||||
|
|
||||||
# ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
|
# ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
|
||||||
"test_client_session_version_negotiation_failure"
|
"test_client_session_version_negotiation_failure"
|
||||||
|
|
||||||
# AttributeError: 'coroutine' object has no attribute 'client_metadata'
|
# AttributeError: 'coroutine' object has no attribute 'client_metadata'
|
||||||
"TestOAuthClientProvider"
|
"TestOAuthClientProvider"
|
||||||
|
|
||||||
# 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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue