← Back to issue list

Migrate to Pydantic 2

View original Github issue

Metadata

Project
snapcraft
Number
#4941
Type
issue
State
closed
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Closed without resolution. Pydantic 2 migration tasks were superseded by internal Jira ticket CRAFT-3159. No pull requests were merged or code changes implemented.

Suggested action:

No scores available.

Issue body

### What needs to get done Migrate to v2: - validation sets - project model - metadata model - linter - core22|24 plugins ### Why it needs to get done Pydantic 1 is EOL

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution. Pydantic 2 migration tasks were superseded by internal Jira ticket CRAFT-3159. No pull requests were merged or code changes implemented.
qwen/qwen3.6-35b-a3b Closed and superseded by internal Jira ticket CRAFT-3159. Pydantic 2 migration for models, linter, and plugins was deferred to internal tracking following Pydantic 1 EOL.
qwen/qwen3.6-35b-a3b Closed and superseded by internal Jira ticket CRAFT-3159 to track the Pydantic 2 migration across models, linter, and plugins. The GitHub issue was archived after internal tracking began.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. The Pydantic 2 migration was superseded by internal Jira ticket CRAFT-3159. No code changes or pull requests were merged, leaving the task unresolved.
qwen3.6-35b-a3b-mtp-q6 Closed without a stated resolution or linked pull request. The Pydantic 2 migration remains unaddressed and appears abandoned.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
95%
#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.
91%
#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.
88%
#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.
79%
#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.
78%
#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.
74%
#499 Update to pydantic-yaml >=1.0.0 craft-parts closed Closed without documented resolution. The pydantic-yaml update request was synced to internal Jira ticket CRAFT-2940, but no code changes or merge details were provided.
70%
#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.
70%