fix(deps): cap pydantic-ai in examples extra below 2.0

Merged
SH
4mo ago
+2-2

Summary

  • Cap pydantic-ai in the examples optional-dependency group at <2.0.0, matching the existing pydantic-ai-slim>=1.83.0,<2.0.0 cap on the pydantic-ai extra.
  • Regenerate uv.lock to record the narrowed specifier. Resolution is unchanged (still pydantic-ai 1.83.0) — only the declared constraint moves. CI runs uv sync --all-extras --locked, which hard-fails on a lockfile whose constraints have drifted from pyproject.toml.
  • Closes an inconsistency left from #194, which capped mcp at <2.0.0 but left the examples extra unbounded against a breaking pydantic-ai v2.

PR created for the release fix

#194 merged with a squash subject that had no conventional-commit type prefix, so release-please parsed zero releasable commits and never opened a release PR. This PR's fix: prefix restores the release train; the resulting 2.10.1 will also carry #194's mcp<2.0.0 pin out to PyPI.


Summary by cubic

Cap pydantic-ai in the examples extra to <2.0.0 and update uv.lock to match. This aligns with the pydantic-ai extra, avoids v2 breakage, and keeps CI lockfile checks passing.