deps: loosen pydantic dependency
Metadata
Current evaluation
Merged after approval and passing CI. Loosened the pydantic dependency constraint, removing the previous freeze at version 1.9 now that the upstream pydantic-yaml compatibility issue is resolved.
Suggested action: —
No scores available.
Issue body
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Pydantic was frozen at 1.9 due a pydantic-yaml dependency that has been resolved upstream. https://github.com/canonical/craft-parts/pull/221/commits/b42526df48de47857ce807336da3eed4ef14f017
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval and passing CI. Loosened the pydantic dependency constraint, removing the previous freeze at version 1.9 now that the upstream pydantic-yaml compatibility issue is resolved. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes to loosen the pydantic dependency constraint. The version was previously pinned to 1.9 due to a pydantic-yaml compatibility issue, which has been resolved upstream, enabling broader version compatibility. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #519 deps: freeze pydantic-yaml <1.0.0 (#498) | craft-parts | merged | Merged a dependency freeze pinning pydantic-yaml below version 1.0.0 to prevent breaking API changes that require future refactoring. Cherry-picked, approved, passed CI, and modified one file. | |
| #498 deps: freeze pydantic-yaml <1.0.0 | craft-parts | merged | Merged a dependency update freezing pydantic-yaml below 1.0.0 to avoid API breaking changes until refactoring is complete. Approved by one reviewer and passed CI checks. | |
| #49 deps: freeze pydantic-yaml < 1.0 | craft-application | merged | Merged into main after two approvals and passing CI. The change pins pydantic-yaml to versions below 1.0 to prevent breaking changes. Code coverage remains unchanged. | |
| #89 deps: freeze pydantic <2.0 | craft-store | merged | Merged a dependency update freezing pydantic to versions below 2.0. Approved and passed CI. Proceeded despite unrelated test failures from issue #88 to prevent further breakages. | |
| #511 deps: freeze pydantic version | craft-parts | merged | Merged to freeze pydantic version. Resolved Jammy test failures from PR #512. Approved by one reviewer, passed CI, and merged with a two-line change. | |
| #159 setup: pin pydantic-yaml and pydantic versions (CRAFT-718) | craft-parts | merged | Pins pydantic-yaml and pydantic versions to resolve API compatibility issues and fix #158. The change is temporary pending separate API updates. Approved and merged after passing CI. | |
| #348 build(deps): bump pydantic from 1.8.1 to 1.8.2 | charmcraft | merged | Merged a Dependabot PR upgrading pydantic from 1.8.1 to 1.8.2. The update patches CVE-2021-29510, fixing an infinite loop bug in date parsing, alongside other schema and configuration fixes. Approved and merged successfully. | |
| #1777 feat(deps)!: switch to pydantic 2 | charmcraft | merged | Merged pydantic 2 upgrade, incorporating #1776. Approved by two reviewers, the update modified 81 files with a net reduction of over 15,000 lines, completing the major version migration. | |
| #811 build(deps): drop unnecessary pydantic-yaml | craft-parts | merged | Merged to remove the pydantic-yaml dependency, as Pydantic 2 uses model_dump() with PyYAML directly. Approved by two reviewers and passed CI checks. | |
| #971 chore(deps): update dependency pydantic-yaml to v0.9.0 | charmcraft | closed | Closed unmerged. The pydantic-yaml update to v0.9.0 received no reviews and was abandoned. Renovate bot will ignore this specific version update. |