Skip to content

Commit

Permalink
Disable pyup updates for symlinked requirements.txt files
Browse files Browse the repository at this point in the history
pyup-bot incorrectly updates a symlink instead of the actual file (see
pyupio/pyup#360) causing the symlink to break.
As a workaround, just configure pyup to not update those files.
  • Loading branch information
karenc committed Aug 31, 2019
1 parent e470733 commit 7be32f6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .pyup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7be32f6

Please sign in to comment.