Merge ~javier-fs/maas:lp2091370 into maas:master

Proposed by Javier Fuentes
Status: Merged
Approved by: Javier Fuentes
Approved revision: 054d6fbc745b176dd13a33a73bc12edb932bbbb8
Merge reported by: MAAS Lander
Merged at revision: not available
Proposed branch: ~javier-fs/maas:lp2091370
Merge into: maas:master
Diff against target: 22 lines (+4/-0)
1 file modified
snap/snapcraft.yaml (+4/-0)
Reviewer Review Type Date Requested Status
MAAS Lander Approve
Alexsander de Souza Approve
Review via email: mp+479164@code.qastaging.launchpad.net

Commit message

fix: pip, setuptools and wheel versions in MAAS snap

Description of the change

Fix for https://bugs.launchpad.net/maas/+bug/2091370

The Snapcraft Python plugin creates a virtual environment and installs the latest version of pip, setuptools and wheel. However, the packages installed in the virtual environment and the ones defined in stage-packages seem to overlap, thus, having the latest version of pip, setuptools and wheel available in MAAS. This can potentially create issues.

Defining certain Python packages in the MAAS snapcraft.yaml files solve the issue, aligning the version of the packages with the Ubuntu Core version.

To post a comment you must log in.
Revision history for this message
Alexsander de Souza (alexsander-souza) wrote :

+1

review: Approve
Revision history for this message
Javier Fuentes (javier-fs) wrote :

jenkins: !test

Revision history for this message
MAAS Lander (maas-lander) wrote :

UNIT TESTS
-b lp2091370 lp:~javier-fs/maas/+git/maas into -b master lp:~maas-committers/maas

STATUS: SUCCESS
COMMIT: 054d6fbc745b176dd13a33a73bc12edb932bbbb8

review: Approve
Revision history for this message
MAAS Lander (maas-lander) wrote :

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches