← Back to issue list

Use pydantic instead of jsonschema for legacy store

View original Github issue

Metadata

Project
snapcraft
Number
#5655
Type
issue
State
open
Author
bepri
Labels
Status: Triaged Type: Enhancement
Created
2025-07-29 17:40:13+00:00
Updated
2025-08-12 13:24:11+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done The legacy code for parsing the store responses should use Pydantic models instead of validating with the `jsonschema` library. ### Why it needs to get done The current legacy code uses a pinned version of jsonschema that is very difficult to upgrade. Instead of upgrading, the code should just move over to using the more modern pydantic models.

Evaluation history

No evaluation history available.