From 827f7cf3e35336e73bd2f2e43f9dd6ccb7e4b4cc Mon Sep 17 00:00:00 2001 From: Drew Cain Date: Tue, 1 Jul 2025 22:01:59 -0500 Subject: [PATCH] fix: constrain fastmcp version to prevent breaking changes (#203) Signed-off-by: Drew Cain Co-authored-by: Claude --- justfile | 2 +- pyproject.toml | 4 ++-- uv.lock | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/justfile b/justfile index 3df90e41..69d7946d 100644 --- a/justfile +++ b/justfile @@ -17,7 +17,7 @@ test: test-unit test-int # Lint and fix code lint: - ruff check . --fix + uv run ruff check . --fix # Type check code type-check: diff --git a/pyproject.toml b/pyproject.toml index b9d94fee..acd0e891 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ dependencies = [ "alembic>=1.14.1", "pillow>=11.1.0", "pybars3>=0.9.7", - "fastmcp>=2.3.4", + "fastmcp>=2.3.4,<2.10.0", "pyjwt>=2.10.1", "python-dotenv>=1.1.0", "pytest-aio>=1.9.0", @@ -123,4 +123,4 @@ omit = [ ] [tool.logfire] -ignore_no_config = true \ No newline at end of file +ignore_no_config = true diff --git a/uv.lock b/uv.lock index a397ce05..525ab722 100644 --- a/uv.lock +++ b/uv.lock @@ -121,7 +121,7 @@ requires-dist = [ { name = "alembic", specifier = ">=1.14.1" }, { name = "dateparser", specifier = ">=1.2.0" }, { name = "fastapi", extras = ["standard"], specifier = ">=0.115.8" }, - { name = "fastmcp", specifier = ">=2.3.4" }, + { name = "fastmcp", specifier = ">=2.3.4,<2.10.0" }, { name = "greenlet", specifier = ">=3.1.1" }, { name = "icecream", specifier = ">=2.1.3" }, { name = "loguru", specifier = ">=0.7.3" },