diff --git a/pkgs/development/python-modules/mcp/default.nix b/pkgs/development/python-modules/mcp/default.nix index 654a284178f8..af6971573fa7 100644 --- a/pkgs/development/python-modules/mcp/default.nix +++ b/pkgs/development/python-modules/mcp/default.nix @@ -79,6 +79,11 @@ buildPythonPackage rec { pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies); + pytestFlagsArray = [ + "-W" + "ignore::pydantic.warnings.PydanticDeprecatedSince211" + ]; + disabledTests = [ # attempts to run the package manager uv "test_command_execution"