From bdd392d5b1868447a3461a9ee6e12ad4e1c34987 Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Tue, 16 Jul 2024 17:37:29 -0700 Subject: [PATCH] why are we manually creating the venv anyway? --- snap/snapcraft.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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"