Skip to content

Relax anyio version so it is compatible with MCP servers #455

@Antonio-RiveroMartnez

Description

@Antonio-RiveroMartnez

Description

We’ve run into a dependency conflict between fastmcp and firebolt-sdk due to incompatible anyio version requirements:

  • fastmcp → depends on mcp, which has a hard requirement on anyio>=4.5 (ref)
  • firebolt-sqlalchemy → depends on firebolt-sdk which, since 1.6.0, has a hard requirement on anyio<4.5 (ref)

Because of a high/critical security vulnerability, we had to upgrade to a newer firebolt-sqlalchemy (1.1.0) which pulls in firebolt-sdk>=1.6.0, and this introduced the conflict.

Request

Could the anyio<4.5 pin in firebolt-sdk be relaxed or removed (if it’s compatible with ≥4.5)? Or is there any hard limitation/issue that's forcing the <4.5?

It would help unblock usage with mcp when building MCP servers that connects to Firebolt

How to reproduce

python -m venv venv && source venv/bin/activate
pip install "mcp>=1.2.0" "firebolt-sqlalchemy>=1.1.0"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions