This is an automated email from the ASF dual-hosted git repository. cgivre pushed a commit to branch feat/drill-mcp-server in repository https://gitbox.apache.org/repos/asf/drill-mcp.git
commit c3d750904b55c956a3a7144f313fd91954badd54 Author: cgivre <[email protected]> AuthorDate: Wed Aug 12 15:11:24 2026 -0400 fix: raise mcp and pydantic dependency floors to the true minimums mcp>=1.2.0 permitted resolving to a 1.x release that lacks mcp.server.mcpserver.MCPServer entirely, which this code imports; raise the floor to mcp>=2.0 (no upper cap: a future rename should fail loudly at import, not be pre-emptively blocked). mcp>=2.0 itself transitively requires pydantic>=2.12.0, so the declared pydantic>=2.6 was never a reachable floor in practice; raised to match. sqlglot>=25.0, httpx>=0.27, and PyYAML>=6.0 were each verified against their exact declared floor and left unchanged. --- pyproject.toml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ce14953..4e0e66c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,10 +29,17 @@ readme = "README.md" requires-python = ">=3.11" license = { text = "Apache-2.0" } dependencies = [ - "mcp>=1.2.0", + # 2.0 renamed FastMCP to MCPServer and moved it to mcp.server.mcpserver; + # the mcp.server.fastmcp module path this code would need on 1.x does + # not exist there. No upper cap: a future 3.x doing the same rename + # again should fail loudly at import with a clear traceback rather than + # have this package pre-emptively block every install in the meantime. + "mcp>=2.0", "httpx>=0.27", "sqlglot>=25.0", - "pydantic>=2.6", + # mcp itself requires pydantic>=2.12.0 transitively, so 2.6 was never a + # reachable floor in practice; stated here to match the real minimum. + "pydantic>=2.12", "PyYAML>=6.0", ]
