π The fast, Pythonic way to build MCP servers and clients.
Pin without uv-specific config
Jeremiah Lowinbc48f9be9dc0
diff --git a/pyproject.toml b/pyproject.tomlindex b87bd627c..e296fe0bc 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -9,7 +9,7 @@ dependencies = ["httpx>=0.28.1",# "mcp>=1.7.1,<2.0.0",# use git commit until 1.7.2 is released- "mcp",+ "mcp @ git+https://github.com/modelcontextprotocol/python-sdk.git@a027d75f609000378522c5873c2a16aa1963d487","openapi-pydantic>=0.5.1","rich>=13.9.4","typer>=0.15.2",@@ -72,6 +72,9 @@ build-backend = "hatchling.build"[tool.hatch.version]source = "uv-dynamic-versioning"+[tool.hatch.metadata]+allow-direct-references = true+[tool.uv-dynamic-versioning]vcs = "git"style = "pep440"@@ -79,13 +82,6 @@ bump = truefallback-version = "0.0.0"-[tool.uv]--[tool.uv.sources]-mcp = { git = "https://github.com/modelcontextprotocol/python-sdk", rev = "a027d75f609000378522c5873c2a16aa1963d487" }-# uncomment to omit `dev` default group-# default-groups = []-[tool.pytest.ini_options]asyncio_mode = "auto"asyncio_default_fixture_loop_scope = "session"diff --git a/uv.lock b/uv.lockindex 893a4ff92..df71b5da9 100644--- a/uv.lock+++ b/uv.lock@@ -339,7 +339,7 @@ dev = [requires-dist = [{ name = "exceptiongroup", specifier = ">=1.2.2" },{ name = "httpx", specifier = ">=0.28.1" },- { name = "mcp", git = "https://github.com/modelcontextprotocol/python-sdk?rev=a027d75f609000378522c5873c2a16aa1963d487" },+ { name = "mcp", git = "https://github.com/modelcontextprotocol/python-sdk.git?rev=a027d75f609000378522c5873c2a16aa1963d487" },{ name = "openapi-pydantic", specifier = ">=0.5.1" },{ name = "python-dotenv", specifier = ">=1.1.0" },{ name = "rich", specifier = ">=13.9.4" },@@ -572,7 +572,7 @@ wheels = [[[package]]name = "mcp"version = "1.7.1.dev17+a027d75"-source = { git = "https://github.com/modelcontextprotocol/python-sdk?rev=a027d75f609000378522c5873c2a16aa1963d487#a027d75f609000378522c5873c2a16aa1963d487" }+source = { git = "https://github.com/modelcontextprotocol/python-sdk.git?rev=a027d75f609000378522c5873c2a16aa1963d487#a027d75f609000378522c5873c2a16aa1963d487" }dependencies = [{ name = "anyio" },{ name = "httpx" },