From 8e38df9bf30be5384dc4a3e6096eba7dff52feaa Mon Sep 17 00:00:00 2001 From: Drew Cain Date: Tue, 1 Jul 2025 21:56:04 -0500 Subject: [PATCH] fix: constrain fastmcp version to prevent breaking changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add upper bound constraint to fastmcp dependency (<2.10.0) to fix compatibility issues - Fix justfile lint command to use `uv run ruff` instead of direct `ruff` call - Update uv.lock to reflect dependency changes - Add missing newline at end of pyproject.toml 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude Signed-off-by: Drew Cain --- justfile | 2 +- pyproject.toml | 4 ++-- uv.lock | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/justfile b/justfile index 3df90e410..69d7946d3 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 b9d94fee5..acd0e891e 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 a397ce057..525ab7229 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" },