← Back to issue list

build(deps): bump pydantic to v2

View original Github issue

Metadata

Project
craft-providers
Number
#451
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #451 upgraded craft-providers to Pydantic v2 for 2.0; current project metadata requires pydantic~=2.4.

Resolution: closed resolved

Reason: PR #451 was merged after maintainer approval, completing the Pydantic v2 migration for the 2.0 release. The project currently declares pydantic~=2.4, confirming the upgrade remains in place.

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`? ----- Update pydantic to v2 This is going into `feature/2.0` so we can land it whenever

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #451 upgraded craft-providers to Pydantic v2 for 2.0; current project metadata requires pydantic~=2.4.
stealth/space-bunny-alpha — closed resolved Merged PR #451 as commit f380a9e, upgrading Pydantic from v1 to v2 and adapting the project’s models to the v2 validation APIs.
qwen/qwen3.6-35b-a3b — closed resolved Merged PR #451 to bump pydantic to v2 on the feature/2.0 branch, updating dependencies and passing all tests.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#48 build(deps): bump pydantic from 1.8.1 to 1.8.2 craft-providers closed Superseded by merged PR canonical/craft-providers#49, which re-froze requirements and upgraded pydantic from 1.8.1 to 1.8.2.
84%
#483 upgrade to pydantic 2.x craft-providers closed PR #483 (a one-line pyproject.toml bump to pydantic>=2) was closed unmerged by its author as a duplicate; maintainers pointed to craft-providers#451, which landed as commit f380a9e and set pydantic~=2.4.
80%
#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.
79%
#648 build(deps): update bugfixes craft-providers merged Merged dependency updates in craft-providers#648 (commit 9a77e48): mypy 1.11.2, pyright 1.1.379, and pytest-time 0.3.2.
79%
#4675 build(deps): bump craft-providers to 1.20.2 snapcraft merged Merged PR #4675 (commit 8c2c801e7) bumped the craft-providers dependency to 1.20.2 in pyproject.toml and uv.lock on the hotfix/7.5 branch.
78%
#497 build(deps): bump craft-providers to 1.23.0 rockcraft merged Merged PR #497 (commit 924b6080) bumped craft-providers to 1.23.0 (+3/-3 across pyproject.toml, uv.lock, requirements). Reseated onto hotfix/1.2 by maintainer request for a 1.2.2 patch release; #509 (cf96cab5) later bumped to 1.23.1.
77%
#137 build(deps): bump craft-providers to 1.19.2 craft-application merged Merged as 2ad49dff: bumped craft-providers 1.19.1→1.19.2 in pyproject.toml (+1/-1), picking up the base-v2→base-v3 tag fix so LXD instances created by 1.16.0 still start.
77%
#509 build(deps): bump craft-providers to 1.23.1 rockcraft merged Merged PR #509 (commit cf96cab5) bumped the craft-providers dependency to 1.23.1 in pyproject.toml and uv.lock to pick up its LTS LXD version parsing fix from craft-providers#532.
77%
#193 build(deps)!: update to pydantic 2 craft-store merged Merged the breaking Pydantic 2 upgrade in #193 (commit 026b78d), updating dependencies and model code across 21 files (+135/-90).
76%
#370 chore(deps): update dependency pydantic to v2 craft-providers closed Renovate pydantic v2 bump closed unmerged by mr-cal to defer migration to a larger craft effort; the upgrade later landed in merged PR #451 (commit f380a9e) for 2.0.
76%