From da23b44644ae6bb5a2abda444f0cd8e5cc50184e Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Fri, 3 Feb 2023 20:08:15 +0000 Subject: [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 --- snap/snapcraft.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'snap') 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: -- cgit