← Back to issue list

providers: deprecate SnapcraftBuilddBaseConfiguration

View original Github issue

Metadata

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

Current evaluation

Merged. Deprecated SnapcraftBuilddBaseConfiguration, replacing it with BuilddBase from craft-providers. Compatibility tagging now uses the BuilddBase constructor. Approved by one reviewer and passed CI checks.

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`? ----- The class `SnapcraftBuilddBaseConfiguration` no longer is needed, so the parent class (`BuilddBase`) in `craft-providers` is used instead. Additionally, the compatibility tag is now set via the `BuilddBase` constructor. Similar [PR in rockcraft](https://github.com/canonical/rockcraft/pull/72). (CRAFT-1282, CRAFT-1355)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged. Deprecated SnapcraftBuilddBaseConfiguration, replacing it with BuilddBase from craft-providers. Compatibility tagging now uses the BuilddBase constructor. Approved by one reviewer and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 Merged. Deprecated SnapcraftBuilddBaseConfiguration, replacing it with BuilddBase from craft-providers. Compatibility tags are now set via the BuilddBase constructor, aligning with upstream updates and addressing CRAFT-1282 and CRAFT-1355.
qwen3.6-35b-a3b-mtp-q6 Merged. Deprecated SnapcraftBuilddBaseConfiguration, replacing it with BuilddBase from craft-providers. Compatibility tags are now set via the BuilddBase constructor, aligning with upstream updates and addressing CRAFT-1282 and CRAFT-1355.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#72 providers: deprecate RockcraftBuilddBaseConfiguration rockcraft merged Merged deprecation of RockcraftBuilddBaseConfiguration, replacing it with BuilddBase using a compatibility tag parameter. Removes the custom class with no functional impact. Approved and passed CI.
78%
#892 (internal) Remove CharmcraftBuilddBaseConfiguration and use BuilddBase directly (CRAFT-1278, CRAFT-1356). charmcraft merged Removed CharmcraftBuilddBaseConfiguration in favor of direct BuilddBase usage. Merged after single reviewer approval, modifying six files and resolving CRAFT-1278 and CRAFT-1356.
73%
#4462 build(deps): bump craft-providers to 1.20.1 snapcraft merged 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.
73%
#4204 providers: remove deprecated `build_base` parameter snapcraft merged Merged into main after approval and CI checks. Removes the deprecated build_base parameter from craft-provider's launched_environment method, aligning with craft-providers 1.11.0+.
73%
#4505 chore: remove deprecated parameter `build-base` snapcraft merged Merged to remove the deprecated build-base parameter from craft-providers, eliminating a deprecation warning. Approved, passed CI and tests, and modified three files. The fix was already on the main branch.
72%
#402 providers: introduce charmcraft base configuration (CRAFT-261) charmcraft merged Merged after approval and passing CI. Adds CharmcraftBuilddBaseConfiguration to extend buildd image setup with python3-pip, python3-setuptools, and Charmcraft snap injection for provider environments.
70%