← Back to issue list

Parts depending on other remote parts aren't properly added

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1645350
Type
issue
State
closed
Author
~3v1n0
Labels
—
Created
Updated
Closed

Current evaluation

Remote-part dependencies were fixed by merged snapcore/snapcraft PR #930 (commit 6c012194b), adding parser support for parts defined in remote origins.

Resolution: closed resolved

Reason: PR #930, “parser: support remote dependencies,” was merged as commit 6c012194b. The reporter explicitly linked the closed Launchpad issue to that fix.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This bug has been triggered by https://github.com/ubuntu/snapcraft-desktop-helpers/pull/26 So basically having a wiki with something like: --- maintainer: Marco Trevisan <email address hidden> origin: lp:snapcraft-parser-example description: parent part that depends on child parts: [parent] --- maintainer: John Doe <email address hidden> origin: lp:snapcraft-parser-example description: example part on which parent depends on parts: [child] Won't be correctly be parsed, since the parent's 'after' contains 'child'.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Remote-part dependencies were fixed by merged snapcore/snapcraft PR #930 (commit 6c012194b), adding parser support for parts defined in remote origins.
stealth/space-bunny-alpha — closed resolved Remote-part dependencies were not resolved because a part's 'after' could reference a part defined in another wiki. Fixed by merged PR snapcraft#930 (commit 6c012194b), which retries parsing parts after valid remote parts load; closes LP: #1645350.
stealth/space-bunny-alpha — closed resolved Fixed by commit 6c012194b, which added parser support for remote dependencies (PR #930).
qwen/qwen3.6-35b-a3b — — Abandoned and closed without resolution. Remote part dependencies failed to parse correctly when referenced via the 'after' directive. The report received no follow-up comments over three years.
qwen/qwen3.6-35b-a3b — — Remote part dependency parsing failures were closed without resolution. Zero comments and over nine years of inactivity indicate the report was abandoned.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#930 (confidence 99%)

    Merged parser change adding support for remote part dependencies.

  • Caused By: snapcraft-desktop-helpers#26 (confidence 95%)

    The issue reporter identified this change as triggering the parser bug.

Related issues

Issue Project State Summary Similarity
#1750866 Remote parts can't depend on other remote parts snapcraft (launchpad) closed Remote-part dependency support remained unresolved; proposed fix snapcore/snapcraft#2105 stalled, and Launchpad #1750866 was later closed without a merged resolution.
82%
#930 parser: support remote dependencies snapcraft merged Merged in snapcraft#930 (commit 6c012194b), adding remote-dependency support by retrying parts after valid remote parts load. Fixes LP: #1645350.
77%
#1800057 Remote parts don't seem to work in snapcraft 3.0 snapcraft (launchpad) closed Snapcraft 3.0 intentionally excluded remote parts when a base was set; maintainers directed users to extensions or inline part definitions as the migration path.
76%
#1622435 snapcraft does not respect filesets of remote parts snapcraft (launchpad) closed Remote-part filesets were not resolved because plugins loaded before the project. Fixed by merged PR canonical/snapcraft#799 (commit 1a282439c), which centralized project loading so remote parts' filesets resolve.
74%
#590 Integrate with new remote parts snapcraft merged Merged PR #590 as commit 9c9fb6949, integrating Snapcraft with the new remote-parts service and updating part loading, caching, and related tests.
74%
#1618092 parser fails to identify a remote part that isn't found in the origin's snapcraft.yaml snapcraft (launchpad) closed Closed without a recorded code fix; no resolving PR or commit was found for the missing remote-part parser validation.
70%