Skip to content

MAINT: Update fastmcp to >=2.12.0 and fix compatibility issues#890

Merged
basnijholt merged 4 commits into
mainfrom
fastmcp-update
Oct 8, 2025
Merged

MAINT: Update fastmcp to >=2.12.0 and fix compatibility issues#890
basnijholt merged 4 commits into
mainfrom
fastmcp-update

Conversation

@basnijholt
Copy link
Copy Markdown
Collaborator

  • Update fastmcp version constraint from <2.10.0 to >=2.12.0
  • Fix TypedDict import for pydantic 2.12+ compatibility (requires typing_extensions on Python <3.12)
  • Update CallToolResult API usage: result[0].text → result.content[0].text
  • Fix _load_outputs to always return dict (fastmcp structured_content requirement)
  • Update all test assertions to use new API

Tested with fastmcp 2.12.4 and mcp 1.16.0

basnijholt and others added 3 commits October 8, 2025 10:17
- Update fastmcp version constraint from <2.10.0 to >=2.12.0
- Fix TypedDict import for pydantic 2.12+ compatibility (requires typing_extensions on Python <3.12)
- Update CallToolResult API usage: result[0].text → result.content[0].text
- Fix _load_outputs to always return dict (fastmcp structured_content requirement)
- Update all test assertions to use new API

Tested with fastmcp 2.12.4 and mcp 1.16.0
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
pipefunc/mcp.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Oct 8, 2025

CodSpeed Performance Report

Merging #890 will not alter performance

Comparing fastmcp-update (293c66a) with main (f59e48b)

Summary

✅ 6 untouched

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 8, 2025

✅ PR Title Formatted Correctly

The title of this PR has been updated to match the correct format. Thank you!

@basnijholt basnijholt merged commit 9654f3f into main Oct 8, 2025
15 of 17 checks passed
@basnijholt basnijholt deleted the fastmcp-update branch October 8, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant