← Back to issue list

packaging: pin Pydantic to <2.0.0

View original Github issue

Metadata

Project
craft-parts
Number
#488
Type
pull request
State
merged
Author
tigarmo
Labels
Created
Updated
Closed

Current evaluation

Merged dependency update pinning Pydantic to <2.0.0 to prevent craft_parts compatibility issues until full v2 support is added. Approved by a reviewer and passed CI.

Suggested action:

No scores available.

Issue body

Pydantic 2.0.0 has recently been released and craft_parts needs work to support it. - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged dependency update pinning Pydantic to <2.0.0 to prevent craft_parts compatibility issues until full v2 support is added. Approved by a reviewer and passed CI.
qwen3.6-35b-a3b-mtp-q6 Merged to pin Pydantic to versions below 2.0.0, maintaining craft_parts compatibility until full Pydantic 2 support is implemented.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#765 Update dependencies, specially unpinning pydantic now that craft-parts is up to it charmcraft merged Merged after approval. Updated dependencies, specifically unpinning pydantic now that craft-parts supports the newer version. Changes span three files.
79%
#168 release: craft-parts 1.1.2 craft-parts merged Merged release craft-parts 1.1.2. Unpins pydantic and pylint dependencies, fixes setup.py URL, resolves pydantic validation error handling, and removes unused requirements files. Approved by reviewer and passed CI checks.
77%
#160 release: craft-parts 1.1.1 craft-parts merged Merged craft-parts 1.1.1 release after reviewer approval and passing CI. Updates pin pydantic and pydantic-yaml dependency versions across five files to stabilize builds.
76%
#601 feat: upgrade to pydantic 2.x craft-parts closed The pydantic 2.x upgrade for craft-parts was closed as superseded after addressing review feedback on validation error reporting. The changes were replaced by a newer update.
75%
#159 setup: pin pydantic-yaml and pydantic versions (CRAFT-718) craft-parts merged Pins pydantic-yaml and pydantic versions to resolve API compatibility issues and fix #158. The change is temporary pending separate API updates. Approved and merged after passing CI.
74%
#401 build!: update to pydantic 2 craft-application merged Merged to update the codebase to Pydantic 2. Approved by two reviewers and passed CI. The change modified 23 files (+531/-342). Initial test failures were resolved after the craft-grammar dependency received a corresponding update.
72%