chore(deps): update craft-providers to 1.18.0
Metadata
Current evaluation
Merged #4409 (commit bf37fd4a) bumping craft-providers from 1.17.0 to 1.18.0, gaining stdout/stderr capture for failed snap installs in instances and LXD base-instance speedups.
Resolution: closed resolved
Reason: The PR was merged into main as commit bf37fd4aa 'chore(deps): update craft-providers to 1.18.0 (#4409)', changing the pinned craft-providers version to 1.18.0 (3 files, +3/-3). It was later superseded by follow-up bumps such as #4421 to 1.19.1.
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`?
-----
Update craft-providers to 1.18.0. The primary motivation for this PR is to capture stdout and stderr when installing a snap inside an instance fails. There are some other performance improvements when creating base instances for LXD.
1.17.0 introduces the global pip cache, but this is an opt-in feature so snapcraft's behavior is unchanged.
### Changelog
#### 1.18.0 (2023-09-28)
- Check if base instance status before copying
- Fail quickly when LXD errors do not involve instance creation
- Add check parameter to execute_run
#### 1.17.0 (2023-09-22)
- Use a shared pip cache across instances
- Remove Ubuntu 22.10 (Kinetic) support
- Capture details for snap errors
#### 1.16.0 (2023-08-25)
- Improve LXD instance creation process to avoid race conditions. The base instance is now created first and copied to an instance. Retry, timeout, and locking mechanisms prevent multiple processes from creating the same base instance.
- Add LXD functions check_instance_status(), config_set(), config_get(), and restart()
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #4409 (commit bf37fd4a) bumping craft-providers from 1.17.0 to 1.18.0, gaining stdout/stderr capture for failed snap installs in instances and LXD base-instance speedups. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #4409 (commit bf37fd4aa), updating craft-providers to 1.18.0 to capture snap-install errors and improve LXD base-instance creation. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged PR updating craft-providers to 1.18.0. Approved by two reviewers and passed CI checks. The update improves LXD instance creation and adds stderr capture on install failures. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged dependency update to craft-providers 1.18.0. Improves LXD instance creation, captures stdout and stderr on snap install failures, and enables shared pip caching. Codecov confirmed merge with a 0.01% coverage increase. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/snapcraft#4421
(confidence 80%)
Follow-up dependabot bump of craft-providers to 1.19.1, superseding this 1.18.0 pin.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #409 chore(deps): update craft-providers to 1.19.2 | rockcraft | merged | Merged PR #409 updated craft-providers to 1.19.2, a stopgap for blocking looping-timer and missing error-log bugs. | |
| #420 chore(deps): update dependency craft-providers to v1.20.0 | rockcraft | merged | Merged PR #420 in commit 47e05667, upgrading craft-providers from 1.19.2 to 1.20.0. | |
| #1610 chore(deps): update dependency craft-providers to v1.23.1 | charmcraft | merged | Renovate PR #1610 was merged in commit f8582941, updating craft-providers from 1.23.0 to 1.23.1. | |
| #1004 chore(deps): update dependency craft-providers to v1.7.1 | charmcraft | merged | Renovate bumped craft-providers from 1.7.0 to 1.7.1 in charmcraft's pinned requirements. Merged via commit c598065f, landed through merge commit 6f35d244 (PR #1004). | |
| #903 chore: update craft-providers | rockcraft | merged | Merged #903 as commit 3b18ef58 to update craft-providers; all reported lint, tests, builds, security scans, and policy checks passed. | |
| #1294 chore(deps): craft-providers to v1.18.0 | charmcraft | merged | Dependabot-style bump of craft-providers to v1.18.0 merged to main via commit 59b70f01, changing the pin in two dependency files (+2/-2). Approved by 2 reviewers, no follow-up revert. | |
| #1023 chore(deps): update dependency craft-providers to v1.7.2 | charmcraft | merged | Renovate PR #1023 was approved and merged, bumping the craft-providers pin from 1.7.1 to 1.7.2 in two requirements files (+2/-2 lines), as commit d1970b2d. | |
| #1414 chore(deps): use craft-providers 1.19.3 | charmcraft | merged | Merged PR #1414 in commit a9575037, upgrading craft-providers to 1.19.3 so deleted cache directories are handled correctly. | |
| #1281 chore(deps): update dependency craft-providers to v1.18.0 - autoclosed | charmcraft | closed | Renovate's craft-providers 1.18.0 bump was auto-closed unmerged; the identical update landed via PR #1294 in commit 59b70f01, bumping the pin in two dependency files (+2/-2). | |
| #984 chore(deps): update internal packages | charmcraft | merged | Renovate's internal dependency bump merged into main via PR #984 (merge commit e4f6b9f1): craft-parts 1.17.1→1.18.0, craft-providers 1.6.2→1.7.0, snap-helpers 0.3.1→0.3.2. |