← Back to issue list

Migrate to Pydantic 2

View original Github issue

Metadata

Project
charmcraft
Number
#1768
Type
issue
State
closed
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Closed without resolution. The Pydantic 2 migration was logged internally via Jira but no code changes or implementation were recorded in this repository.

Suggested action:

No scores available.

Issue body

### What needs to get done Migrate to pydantic 2 with feature branches of craft libraries ### Why it needs to get done pydantic 1 is deprecated

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. The Pydantic 2 migration was logged internally via Jira but no code changes or implementation were recorded in this repository.
qwen/qwen3.6-35b-a3b Closed and superseded by internal Jira ticket CRAFT-3160. The Pydantic 2 migration request was moved to internal tracking rather than resolved directly in this repository.
qwen/qwen3.6-35b-a3b The Pydantic 2 migration request was closed without a public resolution. A bot comment forwarded the task to internal Jira ticket CRAFT-3160, indicating the work was tracked internally or abandoned.
qwen3.6-35b-a3b-mtp-q6 Closed and routed to internal Jira tracking (CRAFT-3160) without code changes. The Pydantic 2 migration was deferred or abandoned, as no pull requests or implementation branches were created.
qwen3.6-35b-a3b-mtp-q6 Closed and synced to internal Jira ticket CRAFT-3160. No fix or merge was applied here. The Pydantic 2 migration remains pending or was managed externally.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
91%
#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.
90%
#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.
87%
#110 Migrate to Pydantic 2 craft-archives closed Migrated to Pydantic 2. Resolved by merging PR #103 into the feature/2.0 branch, fulfilling the Pydantic 1 end-of-life requirement.
81%
#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.
76%
#1778 Work/1768/pydantic 2 charmcraft closed Closed without merging. Opened to assess the scope of a Pydantic 2 migration, but abandoned after initial review. No code reviews or CI checks were initiated.
76%
#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.
75%
#201 do we need Pydantic? craft-cli closed Closed without resolution or comments. The proposal to drop the unused Pydantic dependency and avoid a Pydantic 2 migration was abandoned.
72%