From 75299aa1ffe614b9801cf52b1e4fc4bb707b8786 Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Thu, 10 Dec 2020 21:23:57 +0100 Subject: [PATCH] Add a comment --- snap/snapcraft.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 9be353499..e7e512d07 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -74,6 +74,10 @@ parts: build-packages: [gcc, libffi-dev, libssl-dev, git, libaugeas-dev, python3-dev] build-environment: - SNAPCRAFT_PYTHON_VENV_ARGS: --system-site-packages + # Constraints are passed through the environment variable PIP_CONSTRAINTS instead of using the + # parts.[part_name].constraints available in snapcraft.yaml when Python plugin is used, in order + # to let these constraints be applied not only on the certbot package build, but also on any + # isolated build that pip could trigger to construct transitively dependant wheels. - PIP_CONSTRAINT: $SNAPCRAFT_PART_SRC/snap-constraints.txt override-pull: | snapcraftctl pull