← Back to issue list

deps: freeze pydantic-yaml <1.0.0

View original Github issue

Metadata

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

Current evaluation

Merged PR #498 as 5b463227, capping pydantic-yaml below 1.0.0 to avoid breaking API changes pending the refactor tracked in #499.

Resolution: closed resolved

Reason: PR #498 was merged as commit 5b463227, adding the <1.0.0 constraint while #499 tracked the required refactor. The same change was backported by merged PR #519 as cf61a4f6.

Evaluated by: mr-cal-bot

No scores available.

Issue body

pydantic-yaml 1.0.0 changes the API a bit and will need some small refactoring, as noted in #499 - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #498 as 5b463227, capping pydantic-yaml below 1.0.0 to avoid breaking API changes pending the refactor tracked in #499.
stealth/space-bunny-alpha — closed resolved Merged as 5b463227, capping pydantic-yaml below 1.0.0 to avoid breaking API changes tracked in #499; the dependency was later removed by #811.
stealth/space-bunny-alpha — closed resolved Merged #498 as commit 5b463227, capping pydantic-yaml below 1.0.0 to avoid breaking API changes pending the refactor tracked in #499.
qwen/qwen3.6-35b-a3b — — Merged a dependency update freezing pydantic-yaml below 1.0.0 to avoid API breaking changes until refactoring is complete. Approved by one reviewer and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged dependency pin for pydantic-yaml to <1.0.0, preventing breaking API changes until planned refactoring in issue #499 is completed.

Update history

No update history recorded yet.

Related work

  • Related To: craft-parts#499 (confidence 99%)

    Tracked the planned pydantic-yaml 1.x refactor.

  • Related To: craft-parts#519 (confidence 98%)

    Backported the constraint as commit cf61a4f6.

  • Related To: craft-parts#811 (confidence 97%)

    Later removed the pydantic-yaml dependency in commit 1debce16.

  • Related To: craft-parts#645 (confidence 96%)

    A later pydantic-yaml v1 update attempt was closed unmerged.

Related issues

Issue Project State Summary Similarity
#519 deps: freeze pydantic-yaml <1.0.0 (#498) craft-parts merged Merged PR #519 as cf61a4f6, cherry-picking 5b463227 from #498 to cap pydantic-yaml below 1.0.0 and avoid breaking API changes pending refactoring.
97%
#49 deps: freeze pydantic-yaml < 1.0 craft-application merged Merged PR #49 as commit 97c620ab, capping pydantic-yaml below 1.0 to avoid potentially breaking dependency releases.
97%
#499 Update to pydantic-yaml >=1.0.0 craft-parts closed The pydantic-yaml 1.x migration was bypassed when PR #811 removed the unnecessary dependency in commit 1debce16, after PR #498 had temporarily frozen it below 1.0.
82%
#89 deps: freeze pydantic <2.0 craft-store merged Merged PR #89 as commit 86e3c52, pinning pydantic below 2.0 to prevent further breakage; remaining test failures were attributed to #88.
77%
#419 deps: loosen pydantic dependency craft-parts merged PR #419 by lengau merged (commit acf46ada), relaxing the pydantic pin from 1.9.0 to >=1.9.0 now that the upstream pydantic-yaml blocker was resolved; the original pin came from commit b42526df.
77%
#159 setup: pin pydantic-yaml and pydantic versions (CRAFT-718) craft-parts merged Merged in #159 via 0226365f, pinning pydantic-yaml 0.4.2 and pydantic 1.9.0 to restore compatibility and fix #158.
74%
#511 deps: freeze pydantic version craft-parts merged Merged #511 as commit 86fbcb58 to pin pydantic; together with #512, it restored passing CI as validated by #513.
72%
#1194 Update to pydantic-yaml >= 1.0 charmcraft closed pydantic-yaml 1.x integration was completed in commit 22c1a49f during Charmcraft's Pydantic 2 migration, after PR #1191 was closed unmerged.
72%
#971 chore(deps): update dependency pydantic-yaml to v0.9.0 charmcraft closed The pydantic-yaml 0.9.0 bump was closed unmerged after receiving no reviews or CI; a later 1.x migration completed in commit 22c1a49f via #1194.
72%
#645 chore(deps): update dependency pydantic-yaml to v1 craft-parts closed Closed unmerged after 974 days; the dependency remained below v1 and was later removed by merged PR #811 (commit 1debce16).
71%