Make DNS plugin snaps use core20 (#8106)

Fixes #8103.

* Update the DNS plugin generator script to core20 syntax

* Generate new snapcraft.yamls for the DNS plugins

* Update certbot.wrapper to search for python3.8 paths
This commit is contained in:
ohemorange
2020-06-23 09:31:08 -07:00
committed by GitHub
parent 25d1977d4f
commit bce14ae65f
16 changed files with 31 additions and 46 deletions
+2 -3
View File
@@ -15,7 +15,7 @@ summary: ${DESCRIPTION}
description: ${DESCRIPTION}
confinement: strict
grade: devel
base: core18
base: core20
adopt-info: ${PLUGIN}
parts:
@@ -23,7 +23,6 @@ parts:
plugin: python
source: .
constraints: [\$SNAPCRAFT_PART_SRC/snap-constraints.txt]
python-version: python3
override-pull: |
snapcraftctl pull
snapcraftctl set-version \`grep ^version \$SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"\`
@@ -35,6 +34,6 @@ slots:
interface: content
content: certbot-1
read:
- \$SNAP/lib/python3.6/site-packages
- \$SNAP/lib/python3.8/site-packages
EOF
done