From 85af81718ec881e3165bc007149333ee8ec67772 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 27 Jan 2023 10:35:55 +0100 Subject: [PATCH] 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 --- snapcraft.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/snapcraft.yaml b/snapcraft.yaml index fb2c04a7..97e6214b 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -109,6 +109,7 @@ parts: - python3-jsonschema - python3-minimal - python3-oauthlib + - python3-pkg-resources - python3-pyrsistent - python3-pyudev - python3-requests