← Back to issue list

build(deps)!: update to pydantic 2

View original Github issue

Metadata

Project
craft-store
Number
#193
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Merged the breaking Pydantic 2 upgrade in #193 (commit 026b78d), updating dependencies and model code across 21 files (+135/-90).

Resolution: closed resolved

Reason: PR #193 was approved and merged into the main branch as commit 026b78d, completing the Pydantic 2 migration.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the guidelines for contributing? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `tox`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged the breaking Pydantic 2 upgrade in #193 (commit 026b78d), updating dependencies and model code across 21 files (+135/-90).
stealth/space-bunny-alpha — closed resolved Merged PR #193 as commit 026b78d, completing the breaking migration from Pydantic 1 to Pydantic 2 across dependencies and code.
stealth/space-bunny-alpha — closed resolved Merged breaking upgrade to Pydantic 2 in craft-store: PR #193 (commit 026b78d) updated dependencies and code across 21 files (+135/-90), lifting the earlier pydantic<2.0 pin.
stealth/space-bunny-alpha — closed resolved Merged canonical/craft-store#193, completing the breaking upgrade to Pydantic 2 across dependencies and code (21 files, +135/-90).
qwen/qwen3.6-35b-a3b — — Merged to upgrade the project to pydantic 2. Approved by two reviewers, the update modified 21 files with 135 additions and 90 deletions.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/craft-store#89 (confidence 100%)

    Earlier PR #89 pinned Pydantic below 2.0; #193 performed the eventual major-version migration.

  • Related To: canonical/craft-store#238 (confidence 100%)

    Follow-up PR #238 added workarounds for bugs introduced by Pydantic 2.10.x.

Related issues

Issue Project State Summary Similarity
#5173 build(deps): update pydantic etc. (main) snapcraft merged Merged #5173 via commit 2973439a0, updating pydantic 2.9.2→2.10.3 and pydantic-core 2.23.4→2.27.1.
84%
#2000 build(deps): update dependency pydantic to v1.10.19 (hotfix/2.7) charmcraft merged Merged PR #2000 into hotfix/2.7, updating pinned pydantic from 1.10.14 to 1.10.19 in two files.
78%
#493 build(deps): update dependency pydantic to ~=2.14.0 (main) imagecraft merged Merged Renovate PR #493 updating pydantic dependency from 2.13.5 to 2.14.0.
77%
#2155 build(deps): update dependency pydantic to v2.10.6 (main) charmcraft closed Pydantic 2.10.6 update closed unmerged; a later toolchain and Pydantic update merged in canonical/charmcraft#2310 via commit e635550d.
77%
#1999 build(deps): update pydantic etc. (main) charmcraft closed Renovate PR #1999 proposed Pydantic 2.10.2 and pydantic-core 2.27.1, but was closed unmerged after 664 days of inactivity; neither version landed.
77%
#1833 build(deps): update dependency pydantic-core to v2.23.0 (main) charmcraft closed Closed unmerged after maintainers deferred the core-only bump to a future Pydantic update; the broader dependency update later merged in #2310 as e635550d.
76%
#401 build!: update to pydantic 2 craft-application merged Merged PR #401 as commit c2f0978a, migrating craft-application to Pydantic 2 across 23 files; craft-grammar#34 was required for the tests.
76%
#5762 build(deps): update bugfixes (main) snapcraft merged Merged #5762 via commit 022b5c566, updating ruff-pre-commit v0.12.11→v0.12.12 and pydantic-kitbash 0.0.7→0.0.8.
76%
#466 build(deps): update dependency pydantic to ~=2.13.5 (main) imagecraft merged Merged Renovate PR updating pydantic from ~=2.12.5 to ~=2.13.5 in pyproject.toml; commit b865a31.
76%
#451 build(deps): bump pydantic to v2 craft-providers merged Merged PR #451 upgraded craft-providers to Pydantic v2 for 2.0; current project metadata requires pydantic~=2.4.
76%