chore(deps): pin all Python dependencies to exact versions#75
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, which broke the pydantic-ai build job on every PR regardless of what it changed. 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. - slack-bolt, slack-cli-hooks: range -> == - pydantic-ai, openai-agents: unpinned -> == - claude-agent-sdk, aiohttp: >= -> == - pytest, pytest-asyncio: unpinned -> == - ruff: 0.15.17 -> 0.15.19
zimeg
commented
Jun 24, 2026
|
|
||
| [project.optional-dependencies] | ||
| test = [ | ||
| "pytest", |
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), which broke thebuild (pydantic-ai)job on every open PR — including ones that did not touch pydantic-ai.==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.ruff0.15.17 → 0.15.19,slack-bolt/slack-cli-hooks/claude-agent-sdk/aiohttpranges → exact,pytest/pytest-asyncio/openai-agentsunpinned → exact.Testing
requirements.txtand runpytest— all three pass (6/6 each).python -c "from pydantic_ai.mcp import MCPServerStreamableHTTP"succeeds under the pinnedpydantic-ai==1.107.0.ruff check .in each variant with 0.15.19 — all clean.