← Back to issue list

setup: pin pydantic-yaml and pydantic versions (CRAFT-718)

View original Github issue

Metadata

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

Current evaluation

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.

Suggested action:

No scores available.

Issue body

Pin dependencies with API changes to allow craft-parts to run correctly. Code will be updated to the current API in a separate PR. Pylint will be unpinned after warnings issued by newer versions are addressed. Fixes #158. 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
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Merged. Pinned pydantic-yaml and pydantic versions to resolve API compatibility issues and fix #158. Full API updates and pylint unpinning will be addressed in subsequent pull requests.

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.
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.
75%
#488 packaging: pin Pydantic to <2.0.0 craft-parts merged 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.
74%
#49 deps: freeze pydantic-yaml < 1.0 craft-application merged Merged into main after two approvals and passing CI. The change pins pydantic-yaml to versions below 1.0 to prevent breaking changes. Code coverage remains unchanged.
74%
#519 deps: freeze pydantic-yaml <1.0.0 (#498) craft-parts merged Merged a dependency freeze pinning pydantic-yaml below version 1.0.0 to prevent breaking API changes that require future refactoring. Cherry-picked, approved, passed CI, and modified one file.
73%
#419 deps: loosen pydantic dependency craft-parts merged Merged after approval and passing CI. Loosened the pydantic dependency constraint, removing the previous freeze at version 1.9 now that the upstream pydantic-yaml compatibility issue is resolved.
73%
#499 Update to pydantic-yaml >=1.0.0 craft-parts closed Closed without documented resolution. The pydantic-yaml update request was synced to internal Jira ticket CRAFT-2940, but no code changes or merge details were provided.
70%
#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.
70%