← Back to issue list

chore(deps): update craft-providers to 1.18.0

View original Github issue

Metadata

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

Current evaluation

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged dependency upgrade to craft-providers 1.18.0. Enables stdout and stderr capture on snap install failures, optimizes LXD instance creation, and adds an opt-in shared pip cache. Codecov confirmed merge with 0.01% coverage gain.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1294 chore(deps): craft-providers to v1.18.0 charmcraft merged Dependency update for craft-providers to v1.18.0 was approved by two reviewers, passed CI checks, and successfully merged with minimal changes across two files.
87%
#409 chore(deps): update craft-providers to 1.19.2 rockcraft merged Merged update to craft-providers 1.19.2, fixing blocking looping timer and error log collection bugs. Approved by reviewer and passed CI.
87%
#1414 chore(deps): use craft-providers 1.19.3 charmcraft merged Merged dependency update to craft-providers 1.19.3, resolving cache directory deletion issues. Approved by two reviewers, passed CI checks, and integrated without unresolved comments.
86%
#420 chore(deps): update dependency craft-providers to v1.20.0 rockcraft merged Merged automated dependency update upgrading craft-providers from v1.19.2 to v1.20.0. Approved by two reviewers and passed CI checks before integration.
85%
#1004 chore(deps): update dependency craft-providers to v1.7.1 charmcraft merged Merged automated dependency update for craft-providers from v1.7.0 to v1.7.1. Approved by a reviewer, passed CI checks, and auto-merged via Renovate bot.
83%
#1023 chore(deps): update dependency craft-providers to v1.7.2 charmcraft merged Merged automated dependency update for craft-providers from v1.7.1 to v1.7.2. Approved by a reviewer, passed CI checks, and auto-merged via Renovate configuration.
83%
#903 chore: update craft-providers rockcraft merged The craft-providers update was merged after receiving approval from two reviewers and passing all CI checks. Changes affected two files with minor adjustments (+5/-5 lines).
83%
#1610 chore(deps): update dependency craft-providers to v1.23.1 charmcraft merged Merged an automated dependency update for craft-providers from v1.23.0 to v1.23.1. Generated by Renovate, approved by two reviewers, passed CI checks, and merged with minimal changes across two files.
82%
#206 requirements: update craft-providers to 1.8.0 rockcraft merged Merged update to craft-providers 1.8.0. Adds auto-cleaning for interrupted build instances, LXD image remote support, and updated base compatibility tags. Approved by two reviewers and passed CI.
82%
#1504 chore(deps): update internal packages charmcraft merged Merged automated dependency updates for craft-parts to 1.26.2 and craft-providers to 1.22.0. Approved by two reviewers, passed CI, and merged without conflicts.
82%