← Back to issue list

Migrate to Pydantic 2

View original Github issue

Metadata

Project
craft-archives
Number
#110
Type
issue
State
closed
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Migrated to Pydantic 2. Resolved by merging PR #103 into the feature/2.0 branch, fulfilling the Pydantic 1 end-of-life requirement.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Migrated to Pydantic 2 to address Pydantic 1 end-of-life. Completed and merged via pull request #103 on the feature/2.0 branch.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#657 Migrate to Pydantic 2 rockcraft closed Migrated models and schema to Pydantic 2 ahead of Pydantic 1 EOL. Resolved and merged via pull request #663.
85%
#1768 Migrate to Pydantic 2 charmcraft closed Closed without resolution. The Pydantic 2 migration was logged internally via Jira but no code changes or implementation were recorded in this repository.
81%
#4941 Migrate to Pydantic 2 snapcraft closed Closed without resolution. Pydantic 2 migration tasks were superseded by internal Jira ticket CRAFT-3159. No pull requests were merged or code changes implemented.
79%
#728 Migrate to Pydantic 2.x craft-parts closed The Pydantic 2 migration request was closed without a linked pull request or technical resolution. Activity stopped after an automated Jira ticket was created, suggesting the task was abandoned or managed externally.
78%
#345 Migrate to Pydantic 2 craft-application closed Closed and abandoned without a direct resolution. An internal Jira ticket (CRAFT-2917) was created to track the Pydantic 2 migration separately. No pull request or merge was recorded.
78%
#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.
77%
#4955 chore!: migrate to pydantic 2 snapcraft merged Merged after two approvals and passing CI. Migrates the codebase to Pydantic 2, resolving issue #4941. The author rebased and force-pushed clean commits prior to a rebase-merge.
74%
#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.
73%
#408 chore!: merge pydantic 2 feature branch to main craft-application merged Merged the pydantic 2 feature branch into main, upgrading the codebase and resolving typing issues. Approved by two reviewers and passing CI checks, the merge introduces breaking changes required for the pydantic 2 dependency update.
71%