diff options
author | Brad Warren <bmw@users.noreply.github.com> | 2021-03-26 09:51:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 09:51:59 +0300 |
commit | f4fc3e636d295776f0e6be53763f401e1cf4c41e (patch) | |
tree | db974e982955e2f68933f888558dfe1e09ddae1f /snap | |
parent | 018efc241c7fd219b8c3b4d7a52e4c365850060d (diff) |
Redo the majority of Certbot's pinning system (#8741)
* add initial pyproject.toml
* add extra dependencies
* add simple bash script
* polish
* reuse pipstrap
* add requirements.txt
* temporarily remove hashin dep
* Switch to requirements.txt
* remove hashin check
* update requirements.txt again
* remove unnecessary merge
* pin back augeas
* unpin cryptography
* simplify pywin32 pinning
* update comment
* pin back pytest and pylint
* pin back pytest-forked
* pin back coverage
* update script comments
* fix pyopenssl case
* add minimum poetry version
* run pin.sh
Diffstat (limited to 'snap')
-rw-r--r-- | snap/snapcraft.yaml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index ccaafd93b..b3f1349e0 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -93,9 +93,7 @@ parts: snapcraftctl build override-pull: | snapcraftctl pull - python3 "${SNAPCRAFT_PART_SRC}/tools/strip_hashes.py" "${SNAPCRAFT_PART_SRC}/tools/certbot_constraints.txt" | grep -v python-augeas >> "${SNAPCRAFT_PART_SRC}/snap-constraints.txt" - python3 "${SNAPCRAFT_PART_SRC}/tools/strip_hashes.py" "${SNAPCRAFT_PART_SRC}/tools/pipstrap_constraints.txt" >> "${SNAPCRAFT_PART_SRC}/snap-constraints.txt" - echo "$(python3 "${SNAPCRAFT_PART_SRC}/tools/merge_requirements.py" "${SNAPCRAFT_PART_SRC}/snap-constraints.txt")" > "${SNAPCRAFT_PART_SRC}/snap-constraints.txt" + grep -v python-augeas "${SNAPCRAFT_PART_SRC}/tools/requirements.txt" >> "${SNAPCRAFT_PART_SRC}/snap-constraints.txt" snapcraftctl set-version `grep -oP "__version__ = '\K.*(?=')" "${SNAPCRAFT_PART_SRC}/certbot/certbot/__init__.py"` shared-metadata: plugin: dump |