← Back to issue list

errors: update pydantic validation error checking (CRAFT-788)

View original Github issue

Metadata

Project
craft-parts
Number
#167
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #167 updated validation error handling for Pydantic 1.9 ErrorDict data in commit 93589e1a; merge commit ae183854.

Resolution: closed resolved

Reason: PR #167 was approved and merged, correctly handling Pydantic 1.9 ErrorDict validation data via commit 93589e1a.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Pydantic 1.9 uses `TypedDict` to hold validation error information instead of a plain dictionary. Update craft-parts to correctly handle `ErrorDict` data. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #167 updated validation error handling for Pydantic 1.9 ErrorDict data in commit 93589e1a; merge commit ae183854.
stealth/space-bunny-alpha — closed resolved Merged #167 via ae183854 (change 93589e1a) to handle Pydantic 1.9 TypedDict-based ErrorDict validation data.
stealth/space-bunny-alpha — closed resolved Pydantic validation error handling was updated for ErrorDict in merged PR #167 (merge ae183854; change 93589e1a), resolving CRAFT-788 compatibility.
qwen/qwen3.6-35b-a3b — — Merged update to align craft-parts with Pydantic 1.9 by replacing plain dictionary error handling with TypedDict. Approved by reviewer, passed CI, and modified six files to correctly parse ErrorDict validation data.
qwen3.6-35b-a3b-mtp-q6 — — Merged update to craft-parts error handling to support Pydantic 1.9's TypedDict for validation errors, replacing plain dictionary handling. Resolves CRAFT-788.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#94 errors: reformat pydantic validation error (CRAFT-368) craft-parts merged Merged PR #94 (commit33a49dce, merged as e209ddee) reformatted pydantic validation errors into human-readable bullets in craft_parts/errors.py.
78%