feat: upgrade to pydantic 2.x
Metadata
Current evaluation
Closed as superseded. The pydantic 2.x migration was already completed in the main branch, rendering this contribution obsolete. The maintainer acknowledged the changes were helpful for the actual upgrade.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox`?
-----
Upgrade craft-application to use pydantic 2.x.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed as superseded. The pydantic 2.x migration was already completed in the main branch, rendering this contribution obsolete. The maintainer acknowledged the changes were helpful for the actual upgrade. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as superseded. The pydantic 2 upgrade was already merged into the main branch, rendering this contribution obsolete. Originally blocked by dependent packages, it was closed after the migration succeeded elsewhere. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #601 feat: upgrade to pydantic 2.x | craft-parts | closed | The pydantic 2.x upgrade for craft-parts was closed as superseded after addressing review feedback on validation error reporting. The changes were replaced by a newer update. | |
| #103 feat: upgrade to pydantic 2.x | craft-archives | merged | Merged the pydantic 2.x upgrade after passing CI and receiving three approvals. The maintainer moved the 13 unresolved review comments to a follow-up issue. | |
| #672 merge feature/pydantic-2 | rockcraft | merged | Merged the pydantic 2 migration branch via rebase after two approvals and passing CI. The update modified 26 files, adding 3661 lines and removing 2150, finalizing the migration and dependency updates. | |
| #60 Migrate to pydantic 2 | imagecraft | merged | Merged after approval. The codebase was migrated to Pydantic V2 with updated craft libraries. Changes span 27 files (+278/-340 lines) and maintain 98% test coverage, resolving FR-8917. |