← Back to issue list

requirements: update craft-providers to 1.8.0

View original Github issue

Metadata

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

Current evaluation

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.

Suggested action:

No scores available.

Issue body

- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- Update craft-providers to 1.8.0. The main value-add for rockcraft users is the auto-cleaning of instances that are interrupted during setup. ### Changelog #### 1.8.0 (2023-03-01) ------------------ - **Track if instances are properly setup when launching. If the instance did not fully complete setup and auto-clean is enabled, the instance will be cleaned and recreated.** - Add new field `setup` to instance configuration to track set up status - Update base compatibility tag from `base-v0` to `base-v1` - Add new BuilddBaseAliases for Lunar and Kinetic - Add support for interim Ubuntu releases for LXD - Add support for custom LXD image remotes. LXD remotes can now add any remote server to retrieve images from using the `RemoteImage` class. - Add deprecation warning for LXD function `configure_buildd_image_remote()`. Usage of this function should be replaced with RemoteImage's `add_remote()`. - Rename BuilddBase function `setup_instance_config()` to `update_compatibility_tag()` - Update brew for macos CI tests - Update readthedocs link in readme - **Capture subproccess error details when snap removal fails** (originally raised by @bencekov for rockcraft) - Add default for `_run_lxc()` parameter `check=True` - Refactor lxd unit and integration tests - Enable more pylint checks - Use new `use_base_instance` parameter when launching LXD instances from LXDProvider

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Merged maintainer mr-cal's dependency update to craft-providers 1.8.0. The upgrade enables automatic cleanup of interrupted build instances, updates LXD provider compatibility tags, and incorporates provider stability improvements and deprecation fixes.
qwen3.6-35b-a3b-mtp-q6 Merged update to craft-providers 1.8.0, enabling auto-cleaning of interrupted build instances, adding LXD remote support, updating compatibility tags, and improving snap removal error handling.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#198 requirements: update craft-providers to 1.7.2 rockcraft merged Merged an update to the craft-providers dependency, upgrading it to version 1.7.2. The change incorporates LXD performance improvements, id map validation, and base instance caching. Approved by two reviewers, passed CI checks, and modified three files.
87%
#24 requirements: update craft-providers rockcraft merged Merged update to craft-providers 1.2.0, significantly improving warm-start performance for build instances. Approved by one reviewer, passed CI checks, and changed three files.
84%
#4020 requirements: update craft-providers to 1.7.1 snapcraft merged Merged update to bump the craft-providers dependency to version 1.7.1. Approved by two reviewers, passed CI checks, and maintained existing code coverage across two files.
84%
#4032 requirements: update craft-providers to 1.7.2 snapcraft merged Merged dependency update to craft-providers 1.7.2. Resolves LXD instance ID map checking for core22 snaps, preventing dubious ownership errors when multiple users launch the same instance. Approved and passed CI.
84%
#4244 requirements: update craft-providers to 1.10.1 snapcraft merged Merged update to craft-providers 1.10.1, resolving #4181. Changes include setting LXD hostnames, updating the Multipass Lunar image to stable, and pinning urllib3 below version 2. Approved by one reviewer and passed CI checks.
83%
#137 build(deps): bump craft-providers to 1.19.2 craft-application merged Merged dependency update to craft-providers 1.19.2. Resolves LXD instance startup failures by migrating the base compatibility tag from v2 to v3. Approved by reviewers, passed CI, and merged with no coverage impact.
83%
#4437 build(deps): bump craft-providers to 1.19.2 snapcraft merged Merged update bumping craft-providers to 1.19.2. Resolves LXD instance startup failures by updating the base compatibility tag from base-v2 to base-v3. Approved by reviewers and passed CI.
83%
#4438 build(deps): bump craft-providers to 1.19.2 snapcraft merged Merged dependency update bumping craft-providers to 1.19.2. Fixes LXD instance startup failures for instances created with 1.16.0 by updating the base compatibility tag to base-v3. Approved by two reviewers and passed CI.
83%
#509 build(deps): bump craft-providers to 1.23.1 rockcraft merged Merged dependency update bumping craft-providers to 1.23.1. Resolves LTS LXD version parsing. Approved by two reviewers, passed CI, and modified three files.
83%
#403 build(deps): bump craft-providers to 1.19.2 rockcraft merged Merged bumping craft-providers to 1.19.2. Fixes LXD startup failures from base tag changes and enforces disk device requirements in the default LXD profile. Approved by two reviewers with passing CI.
83%