From 5bae92c7380b30c5b1cc1d64918a93ed3c17c92e Mon Sep 17 00:00:00 2001 From: Alexey Bezhan Date: Mon, 30 Jul 2018 16:43:44 +0100 Subject: [PATCH] Make pyup ignore requirements.txt We don't want pyup.io upgrading sub-dependencies listed in the requirements.txt file since it does it whenever a new version is available regardless of what our application dependencies require. --- Makefile | 3 ++- requirements.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 10819b929..b24abc119 100644 --- a/Makefile +++ b/Makefile @@ -106,7 +106,8 @@ freeze-requirements: rm -rf venv-freeze virtualenv -p python3 venv-freeze $$(pwd)/venv-freeze/bin/pip install -r requirements-app.txt - echo '# This file is autogenerated. Do not edit it manually.' > requirements.txt + echo '# pyup: ignore file' > requirements.txt + echo '# This file is autogenerated. Do not edit it manually.' >> requirements.txt cat requirements-app.txt >> requirements.txt echo '' >> requirements.txt $$(pwd)/venv-freeze/bin/pip freeze -r <(sed '/^--/d' requirements-app.txt) | sed -n '/The following requirements were added by pip freeze/,$$p' >> requirements.txt diff --git a/requirements.txt b/requirements.txt index 5259468c5..e1313c244 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,7 @@ +# pyup: ignore file +# This file is autogenerated. Do not edit it manually. # Run `make freeze-requirements` to update requirements.txt # with package version changes made in requirements-app.txt -# This file is autogenerated. Do not edit it manually. ago==0.0.92 Flask==1.0.2