← Back to issue list

repo: fix resolution of virtual build packages

View original Github issue

Metadata

Project
snapcraft
Number
#3035
Type
pull request
State
merged
Author
cjp256
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #3035 in commit 9e9290554, restoring virtual build-package resolution, preserving versions, logging resolved packages, and adding unit and spread tests.

Resolution: closed resolved

Reason: PR #3035 was merged as commit 9e9290554, fixing resolution of virtual build and stage packages and adding regression coverage.

Evaluated by: mr-cal-bot

No scores available.

Issue body

With my previous PR, virtual build packages are no longer found. Ensure that build and stage packages are resolved the best we can, and persist any potential versioning. Log any build and stage packages that have been resolved so the user can see any assumptions we're making to resolve it. Add unit and spread test coverage. Signed-off-by: Chris Patterson <chris.patterson@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #3035 in commit 9e9290554, restoring virtual build-package resolution, preserving versions, logging resolved packages, and adding unit and spread tests.
stealth/space-bunny-alpha — closed resolved Merged PR #3035: fixed virtual build-package resolution, preserved build/stage package versions, logged assumptions, and added unit/spread tests.
qwen/qwen3.6-35b-a3b — — Merged fix for virtual build package resolution regression. Ensures proper resolution and versioning persistence for build and stage packages, adds logging, and includes unit and spread tests. Approved and passed CI.
qwen3.6-35b-a3b-mtp-q6 — — Merged fix for virtual build package resolution. Ensures build and stage packages are properly resolved with version persistence, logs assumptions, and adds unit and spread test coverage. Initially noted a dependency on PR #3036.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#3036 (confidence 99%)

    The author explicitly noted that #3035 depended on PR #3036, which stabilized the Travis build channel.

Related issues

Issue Project State Summary Similarity
#3084 repo: fix for multi-arch virtual-packages snapcraft merged Merged PR #3084 as caf0e0ca5, fixing multi-architecture virtual-package resolution by checking provider architecture, restoring target_versions, and correcting the apt architecture API.
74%
#3047 repos: fix returned strings for install_stage_packages() snapcraft merged Merged PR #3047 in commit 2e6549953, fixing install_stage_packages() to return resolved package version strings and adding unit coverage.
72%
#3221 repo: install requested build-package versions snapcraft merged Merged PR #3221 (commit 727c46f22) restored installation of versioned build packages, using --allow-downgrades so requested apt versions are honored.
72%