← Back to issue list

feat(pack): automatically install non-matching charmlibs

View original Github issue

Metadata

Project
charmcraft
Number
#1918
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged. The pack command now automatically upgrades charmlibs on disk that do not match charmcraft.yaml specifications. Approved by two reviewers and implemented by maintainer lengau.

Suggested action:

No scores available.

Issue body

If `charmcraft.yaml` specifies charmlibs, pack will now automatically upgrade libraries on disk that don't match the specifications in the yaml file.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged. The pack command now automatically upgrades charmlibs on disk that do not match charmcraft.yaml specifications. Approved by two reviewers and implemented by maintainer lengau.
qwen3.6-35b-a3b-mtp-q6 Merged. The pack command now automatically upgrades charmlibs on disk that do not match charmcraft.yaml specifications, ensuring library versions align with project definitions during packaging.
qwen3.6-35b-a3b-mtp-q6 Merged. Pack now automatically upgrades charmlibs on disk to match charmcraft.yaml specifications during packaging, ensuring library versions align with project requirements.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1003 pack: include the charm libraries dependencies (CRAFT-1559) charmcraft merged Merged changes integrating charm library dependencies into the pack process. Introduces a charmlibs helper to collect PYDEPS, updates library parsing, and refactors get_libs_from_tree. Approved and merged after CI checks.
75%
#1977 Alert about all charmlib updates available (not just ones matching the spec) on pack charmcraft open Feature request: charmcraft pack should warn about any available charmlib update, not just those matching the charm-libs spec; fetch-libs likewise. Open since 2023, no maintainer response beyond Jira sync; charmlibs commands are now deprecated.
73%