mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 06:42:10 -04:00
Update snap/snapcraft.yaml
Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
This commit is contained in:
parent
ef6d46d808
commit
693abd4a27
1 changed files with 5 additions and 4 deletions
|
|
@ -73,10 +73,11 @@ parts:
|
|||
build-packages: [gcc, libffi-dev, libssl-dev, git, libaugeas-dev, python3-dev]
|
||||
build-environment:
|
||||
- SNAPCRAFT_PYTHON_VENV_ARGS: --upgrade
|
||||
# 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.
|
||||
# Constraints are passed through the environment variable PIP_CONSTRAINTS instead of using the
|
||||
# parts.[part_name].constraints option available in snapcraft.yaml when the Python plugin is
|
||||
# used. This is done to let these constraints be applied not only on the certbot package
|
||||
# build, but also on any isolated build that pip could trigger when building wheels for
|
||||
# dependencies. See https://github.com/certbot/certbot/pull/8443 for more info.
|
||||
- PIP_CONSTRAINT: $SNAPCRAFT_PART_SRC/snap-constraints.txt
|
||||
override-build: |
|
||||
python3 -m venv "${SNAPCRAFT_PART_INSTALL}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue