fix(deps): cap pydantic-ai in examples extra below 2.0 - #195
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Caps pydantic-ai in the examples optional dependency group to <2.0.0 to prevent accidental upgrades to a breaking v2 release and to keep pyproject.toml consistent with the checked-in uv.lock metadata for locked installs.
Changes:
- Update
pyproject.tomlexamplesextra topydantic-ai>=1.83.0,<2.0.0. - Regenerate
uv.lockso the recordedrequires-distconstraint for theexamplesmarker matches the updated specifier.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
pyproject.toml |
Caps pydantic-ai under the examples optional-dependencies group to <2.0.0. |
uv.lock |
Updates the locked metadata constraint for pydantic-ai under extra == 'examples' to include <2.0.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
No issues found across 2 files
Auto-approved: Caps pydantic-ai below v2 to prevent breakage, matching existing constraints; no behavioral or operational change.
Re-trigger cubic
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
pydantic-aiin theexamplesoptional-dependency group at<2.0.0, matching the existingpydantic-ai-slim>=1.83.0,<2.0.0cap on thepydantic-aiextra.uv.lockto record the narrowed specifier. Resolution is unchanged (still pydantic-ai 1.83.0) — only the declared constraint moves. CI runsuv sync --all-extras --locked, which hard-fails on a lockfile whose constraints have drifted frompyproject.toml.mcpat<2.0.0but left theexamplesextra 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'smcp<2.0.0pin out to PyPI.Summary by cubic
Cap
pydantic-aiin theexamplesextra to<2.0.0and updateuv.lockto match. This aligns with thepydantic-aiextra, avoids v2 breakage, and keeps CI lockfile checks passing.Written for commit 1a5a101. Summary will update on new commits.