aboutsummaryrefslogtreecommitdiffstats
path: root/snap
diff options
context:
space:
mode:
authorArif Ali <arif.ali@canonical.com>2023-02-03 20:08:15 +0000
committerJake Hunsaker <jhunsake@redhat.com>2023-02-08 15:41:58 -0500
commitda23b44644ae6bb5a2abda444f0cd8e5cc50184e (patch)
treed81e67f3573ea5b59fa7fb994d4602997fed3293 /snap
parentd4f56eeebb277a0c9eb0ef246121edcccb64a8ba (diff)
downloadsos-da23b44644ae6bb5a2abda444f0cd8e5cc50184e.tar.gz
[snap][testing] Fix bionic snap runtime
When the snap is being packaged via core22, it used python3.10 but bionic used python3.6 and seems have runtime issues there. Added the sos alias for testing, to ensure that when the stage one testing is done, that sos is correctly tested within the snap This alternative ensures that the packaging module is packaged in the snap, and can use this if the pkg_resources version does not work Add a wrapper function in utlities, so that the parse_version can be used in a consistent way across the sos project Closes: #3126 Signed-off-by: Arif Ali <arif.ali@canonical.com>
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 2fe65699..1b9421f7 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -30,6 +30,7 @@ parts:
- setuptools
- wheel
- python_magic
+ - packaging
apps:
sos: