lpci snap build errors out with snapcraft 8.x

Bug #2053109 reported by Guruprasad
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lpci
Fix Released
High
Guruprasad

Bug Description

We build the lpci snap on the core20 base using the latest version of snapcraft and the builds are breaking with the 8.x versions of snapcraft due to mismatch between the installed pip version (22.0.2) and the expected version, 20.0.2. This is because snapcraft 8.x is built on core22 unlike 7.x which is built on core20, the same as that of the lpci snap. The lpci snap build process some how depends on the version of python that snapcraft uses instead of using the one from core20. https://launchpadlibrarian.net/709960065/buildlog_snap_ubuntu_focal_amd64_lpci_BUILDING.txt.gz contains the logs for a build failure due to this issue.

For now, we have worked around this issue on the Launchpad snap recipe for lpci by pinning snapcraft to the 7.x/stable channel.

Investigate this issue further and fix the snap to build with snapcraft 8.x.

Related branches

Guruprasad (lgp171188)
Changed in lpci:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Guruprasad (lgp171188)
Guruprasad (lgp171188)
Changed in lpci:
status: In Progress → Fix Committed
Revision history for this message
Guruprasad (lgp171188) wrote :

lpci version 0.2.6 has been built with this fix and released.

Changed in lpci:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.