-
Notifications
You must be signed in to change notification settings - Fork 456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snapcraft v7 fails to build core18 snap with local plugins #4285
Comments
Looks like we need to redirect the import done here |
Correct, Snapcraft 7 redirects selected legacy imports to |
Support legacy local plugins that invoke `snapcraft.sources.get` by redirecting imports to `snapcraft_legacy`. This is similar to the strategy used for V1 and V2 plugins. Fixes canonical#4285 Signed-off-by: Claudio Matsuoka <[email protected]>
Support legacy local plugins that invoke `snapcraft.sources.get` by redirecting imports to `snapcraft_legacy`. This is similar to the strategy used for V1 and V2 plugins. Fixes canonical#4285 Signed-off-by: Claudio Matsuoka <[email protected]>
Just tested the building of nextcloud-snap with snapcraft 7.5.3 and it succeeded! Thanks for this! |
The bug that was hiting us has been solved in 7.5.3: canonical/snapcraft#4285 We have to stick with 7.x, as 8.x will deprecate core18 snaps. Fixes nextcloud-snap#2122
Bug Description
Trying to build the nextcloud-snap, which uses local plugins, with snapcraft v7.x fails.
It works OK with snapcraft v6.x
See https://forum.snapcraft.io/t/snapcraft-7-refuses-to-build-core18-snap/30592 for more context.
To Reproduce
Try to build the nextcloud-snap with snapcraft >= 7.0
Environment
Using LXD on Ubuntu 20.04 LTS.
snapcraft.yaml
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: