snapcraft: add pkg_resources to the snap

From subiquity, we sometimes execute entry point python scripts such as:

 * usr/bin/ubuntu-advantage
 * usr/bin/ssh-import-id

Those scripts require pkg_resources on core20 to run properly:

  from pkg_resources import load_entry_point

On core22, the scripts will be a bit more flexible but for now, we need
python3-pkg-resources in the snap.

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
Olivier Gayot 2023-01-27 10:35:55 +01:00
parent 32afc4b515
commit 85af81718e
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ parts:
- python3-jsonschema
- python3-minimal
- python3-oauthlib
- python3-pkg-resources
- python3-pyrsistent
- python3-pyudev
- python3-requests