From bf145bdbf06e6bd4b5941e8239a140f788f55a0e Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Mon, 19 Jun 2023 15:37:51 +0100 Subject: [build][snap] Fix build of snap Originally, it was working by coincidence Reference: https://github.com/canonical/rockcraft/issues/225#issuecomment-1597025315 Signed-off-by: Arif Ali --- snap/snapcraft.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'snap') diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index a50d7c03..94f427c2 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -19,13 +19,17 @@ parts: override-pull: | craftctl default craftctl set version="$(git describe --tags --always)" + build-attributes: + - enable-patchelf build-packages: - git - python3 - snapcraft - gettext stage-packages: - - python3-venv + - python3.10-minimal + - libpython3.10-minimal + - libpython3.10-stdlib python-packages: - pip - setuptools -- cgit