← Back to issue list

Incorrect extra set on pydantic-yaml

View original Github issue

Metadata

Project
craft-parts
Number
#841
Type
issue
State
closed
Author
dimaqq
Labels
—
Created
Updated
Closed

Current evaluation

Fixed by merged PR #811 (commit 1debce16), which removed the unnecessary pydantic-yaml dependency and its nonexistent pyyaml extra.

Resolution: closed resolved

Reason: The dependency was removed in merged PR #811, committed as 1debce16. The reporter confirmed that this already fixed the problem.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description `pydantic-yaml` doesn't have the `pyyaml` extra. at least not in the current version. Ref: https://github.com/astral-sh/uv/issues/7211 ### To Reproduce Run `uv pip install -e .` ### part yaml ```shell N/A ``` ### Relevant log output ```shell warning: The package `pydantic-yaml==1.3.0` does not have an extra named `pyyaml` ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #811 (commit 1debce16), which removed the unnecessary pydantic-yaml dependency and its nonexistent pyyaml extra.
stealth/space-bunny-alpha — closed resolved Resolved by merged PR #811 (commit 1debce16), which removed pydantic-yaml and eliminated the nonexistent pyyaml extra.
qwen/qwen3.6-35b-a3b — — Resolved via PR #811. The issue was closed as the missing pyyaml extra for pydantic-yaml was already fixed.
qwen/qwen3.6-35b-a3b — — The incorrect pyyaml extra on pydantic-yaml was fixed and the issue closed. Resolution occurred via PR #811, which corrected the dependency extras configuration.
qwen/qwen3.6-35b-a3b — — Incorrect pyyaml extra on pydantic-yaml was fixed by merging PR #811 in canonical/craft-parts, resolving the dependency warning and closing the report.
qwen3.6-35b-a3b-mtp-q6 — — Resolved by merging PR #811, which corrected the pyyaml extra declaration in pydantic-yaml and eliminated the uv installation warning.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#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.
75%
#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.
74%
#811 build(deps): drop unnecessary pydantic-yaml craft-parts merged Merged #811 in commit 1debce16, removing pydantic-yaml because Pydantic 2 models are serialized with model_dump() and PyYAML directly.
74%
#1815 fix(yaml): correctly add default parts charmcraft merged Merged PR #1815 (commit 2a0eb973) fixed YAML default-part handling broken by the Pydantic 2 migration, unblocking Pydantic 2 merge to main via #1817.
73%
#158 ImportError: cannot import name 'YamlModel' from 'pydantic_yaml' craft-parts closed Fixed by merged PR #159, which pinned pydantic-yaml 0.4.2 in setup.py; implementation commit 0226365f, merge commit 9b90997e.
72%
#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.
72%