aboutsummaryrefslogtreecommitdiffstats
path: root/snap
diff options
context:
space:
mode:
authorArif Ali <arif.ali@canonical.com>2023-06-19 15:37:51 +0100
committerJake Hunsaker <jacob.r.hunsaker@gmail.com>2023-06-21 09:59:48 -0400
commitbf145bdbf06e6bd4b5941e8239a140f788f55a0e (patch)
tree3e37b3dfff74c573a7cd21719757b18633cf0e31 /snap
parentcc8d97cc133c74b80c6f304ea68b5828457aa0d3 (diff)
downloadsos-bf145bdbf06e6bd4b5941e8239a140f788f55a0e.tar.gz
[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 <arif.ali@canonical.com>
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml6
1 files changed, 5 insertions, 1 deletions
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