← Back to issue list

providers: remove deprecated `build_base` parameter

View original Github issue

Metadata

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

Current evaluation

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+.

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 `build_base` parameter for craft-provider's `launched_environment()` was deprecated in craft-providers 1.11.0. Targeting `main` because `hotfix/7.4` is still using craft-providers 1.10.0. source: https://chat.charmhub.io/charmhub/pl/nrgr4q5e8tna8ggpwdu69wuhwh

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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+.
qwen3.6-35b-a3b-mtp-q6 Merged to main, removing the deprecated build_base parameter from craft-provider's launched_environment() method. This update aligns with craft-providers 1.11.0 and drops legacy configuration. Code coverage remained unchanged.
qwen3.6-35b-a3b-mtp-q6 Merged into main. Removed the deprecated build_base parameter from craft-provider's launched_environment() method. Code coverage remained unchanged upon integration.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
84%
#3934 providers: deprecate SnapcraftBuilddBaseConfiguration snapcraft merged 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.
73%
#4663 fix: use "devel" bases on build plan snapcraft merged Merged after approval and passing CI. Updates BuildInfos to use devel bases for craft-providers via a new get_effective_base parameter. Removed an obsolete get_build_plan method from Project. Squash-merged.
71%