From 70f4f8ece4efe7c71b17d460f64e08d295c2dc4b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 3 Apr 2025 20:25:36 +0200 Subject: [PATCH] python313Packages.mcp: ignore pydantic 2.11 deprecations --- pkgs/development/python-modules/mcp/default.nix | 5 +++++ 1 file changed, 5 insertions(+) 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"