← Back to issue list

build(deps): bump craft-providers to 1.20.1

View original Github issue

Metadata

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

Current evaluation

Merged as commit 7bd0d3a38, bumping craft-providers to 1.20.1 to fix LXD base-instance setup failures ("Instance setup failed") introduced in1.16.0 by auto-cleaning improperly set-up base instances.

Resolution: closed resolved

Reason: PR #4462 was approved and merged into main in commit 7bd0d3a38, updating the craft-providers pin to 1.20.1, which auto-cleans improperly initialised base instances and resolves the "Instance setup failed. Check LXD logs for more details" regression from craft-providers 1.16.0.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint`? - [x] Have you successfully run `pytest tests/unit`? ----- This resolves a bug introduced in `1.16.0` where improperly set-up base instances would cause snapcraft to fail with the error `Instance setup failed. Check LXD logs for more details`. ### Changelog #### 1.20.1 - Update base compatibility tag from ``base-v3`` to ``base-v4`` - If an existing base instance is not setup, then it is auto-cleaned. If the process that created the not setup base instance is inactive, then ``craft-providers`` will immediately auto-clean the instance. #### 1.20.0 - Snaps injected from the host will have their base snap injected into the instance.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as commit 7bd0d3a38, bumping craft-providers to 1.20.1 to fix LXD base-instance setup failures ("Instance setup failed") introduced in1.16.0 by auto-cleaning improperly set-up base instances.
stealth/space-bunny-alpha — closed resolved Merged #4462 in commit 7bd0d3a38, bumping craft-providers to 1.20.1 to auto-clean improperly initialized base instances and prevent LXD setup failures.
stealth/space-bunny-alpha — closed resolved Merged snapcraft PR #4462 as 7bd0d3a38, bumping craft-providers to 1.20.1 to fix improperly initialized base instances with base-v4 compatibility and instance auto-cleanup.
stealth/space-bunny-alpha — closed resolved Merged in PR #4462, bumping craft-providers to 1.20.1 (commit 7bd0d3a38) to fix base-instance setup failures via compatibility-tag updates and automatic cleanup.
stealth/space-bunny-alpha — closed resolved Merged PR #4462 (7bd0d3a38) updated craft-providers to 1.20.1, fixing failures with improperly initialized base instances.
qwen/qwen3.6-35b-a3b — — Merged update bumping craft-providers to 1.20.1. Fixes a bug where improperly set-up base instances cause snapcraft failures by updating base compatibility tags and adding auto-cleanup for inactive instances. Approved and passed CI.
qwen3.6-35b-a3b-mtp-q6 — — Merged dependency bump to craft-providers 1.20.1. Fixes snapcraft failures on improperly configured base instances by updating the base compatibility tag to v4 and enabling automatic cleanup of stale instances. Merged after passing tests.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/craft-providers (confidence 60%)

    The actual code fix (base compatibility tag base-v3 -> base-v4 and auto-clean of unsetup base instances) lives in craft-providers 1.20.1; snapcraft only bumped the pin.

  • Related To: snapcore/snapcraft#4438 (confidence 35%)

    Follows the prior craft-providers 1.19.2 bump that shipped the regression-causing 1.16.0-era instance setup change.

  • Related To: snapcore/snapcraft#4675 (confidence 30%)

    Next craft-providers 1.20.2 bump (commit 8c2c801e7), continuing the same dependency update series.

Related issues

Issue Project State Summary Similarity
#1370 build(deps): bump craft-providers to 1.19.2 charmcraft merged Merged PR #1370 in commit 543b5957, bumping craft-providers to 1.19.2; its base-v3 compatibility tag fixes startup failures for LXD instances created by 1.16.0.
92%
#4437 build(deps): bump craft-providers to 1.19.2 snapcraft merged Merged as commit 7f03ece0b, updating craft-providers to 1.19.2 and its base-v3 LXD compatibility fix; equivalent update #4438 landed as 3ddaf758b.
89%
#137 build(deps): bump craft-providers to 1.19.2 craft-application merged Merged as 2ad49dff: bumped craft-providers 1.19.1→1.19.2 in pyproject.toml (+1/-1), picking up the base-v2→base-v3 tag fix so LXD instances created by 1.16.0 still start.
88%
#403 build(deps): bump craft-providers to 1.19.2 rockcraft merged Merged PR #403 (commit 4da091b6) bumped craft-providers to 1.19.2 in Rockcraft's frozen requirements, adopting base-v3 to fix LXD instances created with craft-providers 1.16.0 failing to start.
85%
#509 build(deps): bump craft-providers to 1.23.1 rockcraft merged Merged PR #509 (commit cf96cab5) bumped the craft-providers dependency to 1.23.1 in pyproject.toml and uv.lock to pick up its LTS LXD version parsing fix from craft-providers#532.
85%
#4552 build(deps): bump craft-providers to 1.22.0 snapcraft merged Merged craft-providers 1.22.0 to stop apt source updates on Ubuntu devel images, resolving Launchpad bug 2051567 in commit 89961cfc3.
84%
#4551 build(deps): bump craft-providers to 1.22.0 snapcraft merged Merged in snapcraft#4551 via commit 7e6149fcf, upgrading craft-providers to 1.22.0 and resolving Launchpad bug 2051567.
83%
#4530 build(deps): bump craft-providers to 1.21.0 snapcraft merged Merged as commit ba4a2fb18: bumped craft-providers to 1.21.0 (base-v6 compat, Ubuntu 24.04 Noble support, dropped Mantic) as a prerequisite for snapcraft#4519; follow-up support landed in #4532.
82%
#4676 build(deps): bump craft-providers to 1.23.1 (#4673) snapcraft merged Merged the craft-providers 1.23.1 update across three dependency files; originating PR #4673 landed as commit 39a9c0478.
82%
#5247 build(deps): bump craft-providers to 2.2.0, finalize 8.6.2 changelog snapcraft merged Merged PR #5247 as commit 10abc58cb, updating craft-providers to 2.2.0 to fix the LXD setup race and finalizing the 8.6.2 changelog.
82%