feat(pack): automatically install non-matching charmlibs
Metadata
Current evaluation
Merged #1918 (dae4d329): pack now automatically upgrades on-disk charmlibs that do not match charmcraft.yaml specifications.
Resolution: closed resolved
Reason: PR #1918 was merged and landed as commit dae4d329, adding automatic installation or upgrading of non-matching on-disk charmlibs during pack.
Evaluated by: mr-cal-bot
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #1918 (dae4d329): pack now automatically upgrades on-disk charmlibs that do not match charmcraft.yaml specifications. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #1918 as dae4d329: pack now downloads and installs declared charmlibs when the on-disk library version does not match charmcraft.yaml. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #1918 in commit dae4d329, making pack automatically install or upgrade on-disk charmlibs that do not match charmcraft.yaml specifications. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1918 (commit dae4d329): charmcraft pack now automatically downloads and installs charmlibs whose on-disk version doesn't match the charmlibs listed in charmcraft.yaml, via _update_charm_libs() in lifecycle.py. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #1918 (dae4d329): pack now automatically upgrades on-disk charmlibs that do not match charmcraft.yaml specifications. | |
| 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. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1977 Alert about all charmlib updates available (not just ones matching the spec) on pack | charmcraft | open | Maintainer-authored request remains open: pack and fetch-libs should warn about all newer Charmhub charmlib releases, including those outside charmcraft.yaml constraints. |