Migrate to Pydantic 2
Metadata
Current evaluation
Pydantic 2 migration was completed in merged PR #103 (commit b69f44a) on feature/2.0; the branch later reached main through PR #123.
Resolution: closed resolved
Reason: Maintainer lengau closed #110 after confirming completion in PR #103, merged as commit b69f44a. PR #123 subsequently merged feature/2.0 into main.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
Migrate to pydantic 2
### Why it needs to get done
pydantic 1 goes EOL in June
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Pydantic 2 migration was completed in merged PR #103 (commit b69f44a) on feature/2.0; the branch later reached main through PR #123. | |
| stealth/space-bunny-alpha | — | closed resolved | Pydantic 2 migration was completed in merged PR #103 (commit b69f44a), landing on the feature/2.0 branch. | |
| qwen/qwen3.6-35b-a3b | — | — | Migrated to Pydantic 2. Resolved by merging PR #103 into the feature/2.0 branch, fulfilling the Pydantic 1 end-of-life requirement. | |
| qwen/qwen3.6-35b-a3b | — | — | The Pydantic 2 migration was completed and merged via PR #103 on the feature/2.0 branch. | |
| qwen/qwen3.6-35b-a3b | — | — | Migrated to Pydantic 2. Completed and merged via pull request #103 on the feature/2.0 branch, resolving the Pydantic 1 end-of-life requirement. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
craft-archives#103
(confidence 100%)
Merged Pydantic 2.x upgrade in commit b69f44a and explicitly cited as the migration's completion.
-
Related To:
craft-archives#123
(confidence 99%)
Merged feature/2.0, containing the completed migration, into main in commit 15a1623.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #345 Migrate to Pydantic 2 | craft-application | closed | Pydantic 2 migration landed via merged PR #401, commit c2f0978a, updating 23 files and replacing the issue's Pydantic 1 requirements. | |
| #1768 Migrate to Pydantic 2 | charmcraft | closed | Migrated Charmcraft to Pydantic 2 via merged PR #1777 (70078b03), with the feature branch merged to main in #1817 (394e6e55). | |
| #4941 Migrate to Pydantic 2 | snapcraft | closed | Pydantic 2 migration completed in merged snapcraft#4955 via commit 1fc8fe6ab, resolving CRAFT-3159. | |
| #1778 Work/1768/pydantic 2 | charmcraft | closed | Closed unmerged as an exploratory branch; the Pydantic 2 migration landed via #1777 (70078b03), followed by main-branch integration in #1817 (394e6e55). | |
| #1817 chore: merge pydantic 2 support to main | charmcraft | merged | Pydantic 2 support was merged into main by PR #1817 (commit 394e6e55), completing the migration begun in #1777 across 52 files. | |
| #728 Migrate to Pydantic 2.x | craft-parts | closed | Pydantic 2 migration landed in canonical/craft-parts#771 via commit 6b155294, followed by cleanup in #778; craft-parts now requires pydantic>=2.0.0. | |
| #60 Migrate to pydantic 2 | imagecraft | merged | PR #60 merged as commit be1741a, migrating Imagecraft to Pydantic V2 and newer craft libraries (FR-8917); pyproject now pins pydantic~=2.12.5. Approved by one reviewer with no unresolved comments. | |
| #408 chore!: merge pydantic 2 feature branch to main | craft-application | merged | Merged into main via c3aae96c, making Pydantic 2 required and incorporating final typing fixes from 25ea79c; the change is explicitly breaking. | |
| #672 merge feature/pydantic-2 | rockcraft | merged | Merged feature/pydantic-2 into main, completing Rockcraft's Pydantic 2 migration and final dependency updates after two approvals. | |
| #173 feat: upgrade to pydantic 2.x | craft-application | closed | Closed unmerged after the Pydantic 2 migration landed via craft-application#401 (c2f0978a); maintainer lengau credited #173 as helpful during that migration. |