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: |