Skip to content

deps: Update fastmcp requirement from <4,>=3.2.4 to >=3.2.4,<5 - #970

Open
dependabot[bot] wants to merge 2 commits into
stagingfrom
dependabot/pip/fastmcp-gte-3.2.4-and-lt-5
Open

dependabot[bot] wants to merge 2 commits into
stagingfrom
dependabot/pip/fastmcp-gte-3.2.4-and-lt-5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 10, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on fastmcp to permit the latest version.

Release notes

Sourced from fastmcp's releases.

v4.0.3: Once Is Enough

Multi-server clients with legacy-only backends now avoid unnecessary startup retries, and tools returning unconstrained sequences no longer send images twice. This patch also fixes task timing values rejected by strict clients and cleans up unfinished Monty callbacks when execution ends.

What's Changed

Enhancements ✨

Fixes 🐞

Docs 📚

New Contributors

Full Changelog: PrefectHQ/fastmcp@v4.0.2...v4.0.3

Changelog

Sourced from fastmcp's changelog.


title: "Changelog" icon: "list-check" rss: true tag: NEW

v4.0.5: No Country for Loose Ints

Tool parameters declared strict with Field(strict=True), StrictInt, or a strict model config are honored again, on both direct calls and task submission. Since the SDK v2 migration the server's lax default overrode them and silently coerced values.

Security 🔒

Fixes 🐞

Full Changelog: v4.0.4...v4.0.5

v4.0.4: Here Be No Dragons

OpenAPI request bodies get most of the attention in this patch: multipart string arrays are sent as repeated fields, whole-body arguments no longer clobber same-named HTTP parameters, dictionary bodies and raw content types survive intact, and JSON scalar bodies are encoded. On the auth side, OAuthProxy rejects ID-JAG tokens unless identity assertion is configured and refuses non-positive upstream token expiries. Clients now follow empty pagination cursors and servers reject malformed ones.

Enhancements ✨

Security 🔒

Fixes 🐞

... (truncated)

Commits
  • 7129236 Add v4.0.3 changelog entries (#5007)
  • f79bc82 chore: Update SDK documentation (#4945)
  • 6e0859f fix task timing field serialization (#5003)
  • 855cb7a Clarify release title history lookup (#5006)
  • 6236ac1 Clean up unfinished Monty callbacks (#5005)
  • 6c2fbe7 docs: attribute the back-channel removal to SEP-2322/2575, not SEP-2577 (#4988)
  • e68bacc perf: avoid duplicate startup for mixed-era backends (#4971)
  • 032b9f6 fix: don't infer an output schema for unconstrained sequences (#4999)
  • 75d50ff ci: deploy docs through Mintlify's admin API and wait for a verdict (#4996)
  • a338cfb docs: point What's New at the changelog for later releases (#4992)
  • Additional commits viewable in compare view

@dependabot @github

dependabot Bot commented on behalf of github Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown

code-review-graph review

Overall risk: 0.00 (LOW) — 0 changed function(s)/class(es), 0 affected flow(s), 0 test gap(s)

Token savings: this graph-backed report used ~1,666 fewer tokens (~96%) than reading every changed file in full (estimated, chars/4 approximation).


Powered by code-review-graph — local-first analysis; no code leaves the CI runner.

@tirth8205

Copy link
Copy Markdown
Owner

Outside this sweep's mission of verified coding-session token savings: widening FastMCP to <5 permits major version 4 without repairing a selected failure. The current Python 3.11 and Windows checks also fail, so protocol compatibility needs separate evidence before changing that dependency contract.

@tirth8205
tirth8205 changed the base branch from main to staging September 15, 2026 13:10
@dependabot
dependabot Bot force-pushed the dependabot/pip/fastmcp-gte-3.2.4-and-lt-5 branch from fa3ef25 to 7e384e3 Compare September 15, 2026 18:23
@tirth8205

tirth8205 commented Sep 15, 2026

Copy link
Copy Markdown
Owner

This fails the checks once merged into staging.

Merge: clean fast-forward (pyproject.toml only). Gates as instructed, run in the merged worktree where uv.lock still pins fastmcp 3.4.5: pytest -> "3223 passed, 9 skipped, 2 xpassed, 1 warning in 170.33s"; ruff -> "All checks passed!"; mypy -> "Success: no issues found in 72 source files". That run does NOT exercise the PR, because the only thing the PR does is admit fastmcp 4.x and the lock kept 3.4.5.

To fix:

  • Migrate code_review_graph/prompts.py:15 to an import that exists on both 3.x and 4.x (e.g. from fastmcp.prompts import Message, with a 3.x fallback if needed) and verify the rest of the FastMCP surface used in code_review_graph/main.py (FastMCP(), @mcp.tool/@mcp.prompt, mcp.list_tools, mcp.local_p...
  • Run the full suite with fastmcp 4.x actually installed (uv lock --upgrade-package fastmcp) and commit the regenerated uv.lock so the lock matches the new constraint.
  • Update the stale rationale comment in pyproject.toml (lines 29-31) and the fastmcp<4 cap references in docs/FEATURES.md:18 and docs/ROADMAP.md:16 (CHANGELOG.md:483 is historical and can stay).

Merge origin/staging into your branch first to reproduce it.

PRs now target staging, not main. Yours was retargeted already, so nothing to do there.

@tirth8205 tirth8205 added the checks-failing Fails CI when merged into staging label Sep 15, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/fastmcp-gte-3.2.4-and-lt-5 branch 7 times, most recently from c881903 to e37bcda Compare September 17, 2026 00:51
@dependabot dependabot Bot changed the title deps: update fastmcp requirement from <4,>=3.2.4 to >=3.2.4,<5 deps: Update fastmcp requirement from <4,>=3.2.4 to >=3.2.4,<5 Sep 18, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/fastmcp-gte-3.2.4-and-lt-5 branch from e37bcda to d33e9ab Compare September 18, 2026 11:50
Updates the requirements on [fastmcp](https://github.com/PrefectHQ/fastmcp) to permit the latest version.
- [Release notes](https://github.com/PrefectHQ/fastmcp/releases)
- [Changelog](https://github.com/PrefectHQ/fastmcp/blob/main/docs/changelog.mdx)
- [Commits](PrefectHQ/fastmcp@v3.2.4...v4.0.3)

---
updated-dependencies:
- dependency-name: fastmcp
  dependency-version: 4.0.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/fastmcp-gte-3.2.4-and-lt-5 branch from d33e9ab to 002dac1 Compare September 18, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

checks-failing Fails CI when merged into staging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant