← Back to issue list

build(deps): update craft-application and craft-providers

View original Github issue

Metadata

Project
charmcraft
Number
#2069
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged in charmcraft#2069 (f65ecc0e), updating craft-application and craft-providers to isolate build environments per platform, fixing #2058 and speeding multi-base builds.

Resolution: closed resolved

Reason: PR #2069 merged as commit f65ecc0e. The dependency update gives each platform a unique build environment and resolves the container reuse described in charmcraft#2058.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Use a unique build environment for each platform in a charm recipe. ### Scenario 1 * Fixes a bug where multiple platforms would build in the same build environment if the platforms had the same `build-on` and `build-for` entries. ```yaml platforms: noble: build-on: [riscv64] build-for: [riscv64] noble-debug: build-on: [riscv64] build-for: [riscv64] ``` ### Scenario 2 * Improves build time for multi-base recipes. Previously, Charmcraft would tear down and recreate the same container when building for a different base if the platforms had the same `build-on` and `build-for` entries. ```yaml platforms: jammy: build-on: [ubuntu@22.04:riscv64] build-for: [ubuntu@22.04:riscv64] noble: build-on: [ubuntu@24.04:riscv64] build-for: [ubuntu@24.04:riscv64] ``` Fixes #2058 (CRAFT-3847)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in charmcraft#2069 (f65ecc0e), updating craft-application and craft-providers to isolate build environments per platform, fixing #2058 and speeding multi-base builds.
stealth/space-bunny-alpha — closed resolved Merged #2069 (f65ecc0e), updating craft-application and craft-providers to isolate build environments per platform, fixing #2058 and speeding multi-base builds.
stealth/space-bunny-alpha — closed resolved Merged #2069 (f65ecc0e): updated craft-application and craft-providers to use a unique build environment per platform, fixing #2058.
qwen/qwen3.6-35b-a3b — — Merged craft-application and craft-providers update. Uses unique build environments per platform, fixing a bug where identical build-on/build-for entries shared environments. Reduces multi-base build times. Resolves #2058.
qwen3.6-35b-a3b-mtp-q6 — — Merged craft-application and craft-providers. Uses unique build environments per platform, fixing a bug where identical build-on/build-for entries shared containers. Cuts multi-base build times by avoiding container recreation. Closes #2058.

Update history

No update history recorded yet.

Related work

  • Related To: charmcraft#2058 (confidence 100%)

    The shared-container bug explicitly fixed by merged PR #2069.

  • Related To: canonical/craft-application#600 (confidence 85%)

    Upstream work tracked platform-specific build-environment naming delivered through the dependency update.

Related issues

Issue Project State Summary Similarity
#569 build(deps): bump craft-application to 2.7.0 rockcraft merged Merged #569, updating craft-application to 2.7.0 across seven files and adding the required _providers_base() implementation.
81%
#1596 build(deps): use craft-application 2.0.0 charmcraft merged Merged as commit 212b2005, updating Charmcraft to craft-application 2.0.0 and adapting affected code across 13 files.
80%
#4796 build(deps): bump craft-application to 2.7.0 snapcraft merged Merged in 5dad5eb62: upgraded craft-application to 2.7.0 and implemented _providers_base() to map project bases to provider aliases.
79%
#4625 build(deps): bump craft-providers to 1.23.0 snapcraft merged Merged PR #4625 bumped craft-providers to 1.23.0 on the feature/craft-application branch (base-v7 tag, buildd daily for Noble/devel, non-interactive apt). Sibling bumps #4623/#4624 landed on other branches.
79%
#4421 build(deps): bump craft-providers to 1.19.1 snapcraft merged Merged PR #4421 bumped craft-providers to 1.19.1, added devel-base tests, and fixed Multipass test execution in commit caa3c9c23.
77%
#1493 build(deps): update dependencies charmcraft merged Merged dependency updates in charmcraft#1493 via commit c545a05f, changing two files (+47/-70).
77%
#4624 build(deps): bump craft-providers to 1.23.0 snapcraft merged Merged PR #4624 (commit 9c09fe176) bumped craft-providers to 1.23.0 in 3 files, bringing base-v7 support, buildd daily for Noble/devel, and non-interactive apt installs. Followed by #4673 (1.23.1).
77%
#4623 build(deps): bump craft-providers to 1.23.0 snapcraft merged Merged PR #4623 (commit 7c5a20468) bumped craft-providers to 1.23.0 across 3 files, adding base-v7 tag support, buildd daily images for Noble/devel, and noninteractive apt. Backported to main via #4624 (9c09fe176).
77%
#5379 build(deps): bump craft-platforms to 0.7.0 snapcraft merged Dependabot-style PR #5379 merged as commit 7901bef79, bumping craft-platforms to 0.7.0 and fixing spread tests tests/spread/core24/chisel-base and tests/spread/core-devel/base-snap; residual platforms test failures deferred to craft-application#705.
77%
#2097 build(deps): update bugfixes (main) charmcraft merged Merged in canonical/charmcraft#2097, updating ruff-pre-commit v0.9.2, craft-application 4.8.2, and pyfakefs 5.7.4.
76%