fix(ci): allow transitive prereleases in FastMCP prerelease job#32
Merged
Conversation
FastMCP 3.4.0 splits into fastmcp + a transitive fastmcp-slim package. Pinning fastmcp==3.4.0b1 pulls fastmcp-slim==3.4.0b1, a prerelease not named in our pyproject, so `uv sync --prerelease if-necessary-or-explicit` refuses it and dependency resolution fails before any test runs. The nightly prerelease job has failed every night since FastMCP 3.4.0b1 appeared on PyPI. Switch to --prerelease=allow, which is the correct setting for a prerelease-testing job. Verified the full test suite passes against FastMCP 3.4.0b1 (436 passed, 4 skipped, 3 xfailed) — there is no SDK breaking change, only the packaging split.
kashishhora
approved these changes
Jun 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
3.4.0b1landed on PyPI. The failure is in the install step, not a test — thetest-mcp-prereleasejob passes all tests; only the FastMCP job breaks.fastmcp+ a transitivefastmcp-slimpackage. Pinningfastmcp==3.4.0b1drags in a prereleasefastmcp-slim==3.4.0b1that isn't named in ourpyproject.toml, souv sync --prerelease if-necessary-or-explicitrefuses it and resolution fails (No solution found ... try: --prerelease=allow).--prerelease allow, the correct setting for a prerelease-testing job. The stablemcp-compatibility.ymlworkflow is unaffected (it uses no--prereleaseflags).There is no SDK breaking change — the full suite passes against FastMCP 3.4.0b1. The 3.4 change is purely a packaging split.
Test plan
uv pip compilewithif-necessary-or-explicitfails identically--prerelease allowresolves:fastmcp 3.4.0b1,fastmcp-slim 3.4.0b1,mcp 1.28.0uv sync --extra dev --extra community --prerelease allowon a sed-modified pyproject → exit 0workflow_dispatchto confirm the nightly job goes green