diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index c11f299e2..589e4ab08 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -98,9 +98,8 @@ parts: # dependencies. See https://github.com/certbot/certbot/pull/8443 for more info. - PIP_CONSTRAINT: $CRAFT_PART_SRC/snap-constraints.txt override-build: | - "${CRAFT_PART_INSTALL}/bin/python3" -m venv "${CRAFT_PART_INSTALL}" - "${CRAFT_PART_INSTALL}/bin/python3" "${CRAFT_PART_SRC}/tools/pipstrap.py" craftctl default + "${CRAFT_PART_INSTALL}/bin/python3" "${CRAFT_PART_SRC}/tools/pipstrap.py" override-pull: | craftctl default grep -v python-augeas "${CRAFT_PART_SRC}/tools/requirements.txt" >> "${CRAFT_PART_SRC}/snap-constraints.txt"