Merge pull request #366 from jlowin/git-commit

Pin mcp commit without uv-specific config
This commit is contained in:
Jeremiah Lowin 2025-05-07 22:51:19 -04:00 committed by GitHub
commit 0e758c3af3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 10 deletions

View file

@ -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 = true
fallback-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"

4
uv.lock generated
View file

@ -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" },