chore(deps): pin all Python dependencies to exact versions#130
Open
zimeg wants to merge 1 commit into
Open
Conversation
Every variant declared loose or unpinned dependencies (bare pydantic-ai/openai-agents, >= and < ranges), so CI resolved the latest release at run time. pydantic-ai 2.0.0 removed MCPServerStreamableHTTP (now unified under MCPToolset), which would break the pydantic-ai build job on any newly triggered run. Pin every dependency to an exact == version across all three variants' requirements.txt and pyproject.toml. pydantic-ai is pinned to 1.107.0, the last 1.x release that still exports MCPServerStreamableHTTP; migrating to the new MCPToolset API is left for a follow-up. Mirrors the same fix applied to bolt-python-starter-agent.
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.
This pull request pins every Python dependency across all three agent variants to an exact
==version.Summary
pydantic-ai 2.0.0removedMCPServerStreamableHTTP(now unified underMCPToolset) — under the barepydantic-ai[...]spec, any newly triggeredbuild (pydantic-ai)run would fail on import. (This already broke CI on the siblingbolt-python-starter-agent.)==in each variant'srequirements.txtandpyproject.tomlso this cannot recur; Dependabot now drives future bumps.pydantic-aiis pinned to1.107.0, the last 1.x release that still exportsMCPServerStreamableHTTP. Migrating to the newMCPToolsetAPI is left as a follow-up.bolt-python-starter-agent.Testing
requirements.txt, thenpip install -e ".[test]"and runpytest— all three pass (9/9 each).python -c "from pydantic_ai.mcp import MCPServerStreamableHTTP"succeeds under the pinnedpydantic-ai==1.107.0.