π The fast, Pythonic way to build MCP servers and clients.
Cap anthropic dependency to <1 (#4864)
Robert Craigiebbc44b89ac87
diff --git a/fastmcp_slim/pyproject.toml b/fastmcp_slim/pyproject.tomlindex ea6b7b6ac..8dc7dd9f4 100644--- a/fastmcp_slim/pyproject.toml+++ b/fastmcp_slim/pyproject.toml@@ -65,7 +65,7 @@ bump = truefallback-version = "0.0.0"[tool.hatch.metadata.hooks.uv-dynamic-versioning.optional-dependencies]-anthropic = ["anthropic>=0.48.0"]+anthropic = ["anthropic>=0.48.0,<1"]apps = ["prefab-ui>=0.18.0"]# PyJWT floor: transitive via msal; CVE-2026-32597 affects <= 2.11.0azure = ["azure-identity>=1.16.0", "PyJWT>=2.12.0"]diff --git a/uv.lock b/uv.lockindex 7408bec06..cb903b3f5 100644--- a/uv.lock+++ b/uv.lock@@ -13,7 +13,7 @@ resolution-markers = [][options]-exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values.+exclude-newer = "2026-08-15T18:52:05.050937Z"exclude-newer-span = "P1W"[options.exclude-newer-package]@@ -1043,7 +1043,7 @@ server = [[package.metadata]requires-dist = [- { name = "anthropic", marker = "extra == 'anthropic'", specifier = ">=0.48.0" },+ { name = "anthropic", marker = "extra == 'anthropic'", specifier = ">=0.48.0,<1" },{ name = "authlib", marker = "extra == 'client'", specifier = ">=1.6.11" },{ name = "authlib", marker = "extra == 'server'", specifier = ">=1.6.11" },{ name = "azure-identity", marker = "extra == 'azure'", specifier = ">=1.16.0" },