From 5c2a1dc804ed4548b7be913b3a666c6a5cea1ed6 Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Tue, 16 Jul 2024 17:25:41 -0700 Subject: [PATCH] trying more things --- snap/snapcraft.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 0ed285393..c11f299e2 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -14,10 +14,6 @@ description: | - Keep track of when your certificate is going to expire, and renew it - Help you revoke the certificate if that ever becomes necessary. confinement: classic -# this was removed for classic snaps in snapcraft 7 -environment: - LD_LIBRARY_PATH: ${SNAP_LIBRARY_PATH}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}:$SNAP/lib:$SNAP/usr/lib - PATH: $SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$SNAP/usr/local/bin:$SNAP/usr/local/sbin:$PATH base: core24 grade: stable adopt-info: certbot @@ -102,9 +98,7 @@ parts: # dependencies. See https://github.com/certbot/certbot/pull/8443 for more info. - PIP_CONSTRAINT: $CRAFT_PART_SRC/snap-constraints.txt override-build: | - echo "which python3" - which python3 - bin/python3 -m venv "${CRAFT_PART_INSTALL}" + "${CRAFT_PART_INSTALL}/bin/python3" -m venv "${CRAFT_PART_INSTALL}" "${CRAFT_PART_INSTALL}/bin/python3" "${CRAFT_PART_SRC}/tools/pipstrap.py" craftctl default override-pull: |