From 7be32f6e56531905b2ba25540d9e239797e59d4f Mon Sep 17 00:00:00 2001 From: karen chan Date: Sat, 31 Aug 2019 06:53:56 +0100 Subject: [PATCH] Disable pyup updates for symlinked requirements.txt files pyup-bot incorrectly updates a symlink instead of the actual file (see https://github.com/pyupio/pyup/issues/360) causing the symlink to break. As a workaround, just configure pyup to not update those files. --- .pyup.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.pyup.yml b/.pyup.yml index 8336f4ac2..bccf3e1cd 100644 --- a/.pyup.yml +++ b/.pyup.yml @@ -9,3 +9,20 @@ # default: empty # allowed: "every day", "every week", .. schedule: "every week on thursday" + +# pyup-bot incorrectly updates a symlink instead of the actual file +# see https://github.com/pyupio/pyup/issues/360 +# so we need to disable updates to symlinked requirements.txt files +requirements: + - ./environments/prod/files/archive-requirements.txt: + update: False + - ./environments/prod/files/press-requirements.txt: + update: False + - ./environments/prod/files/publishing-requirements.txt: + update: False + - ./environments/staging/files/archive-requirements.txt: + update: False + - ./environments/staging/files/press-requirements.txt: + update: False + - ./environments/staging/files/publishing-requirements.txt: + update: False