From a51e4f8660dc39822b79b211fbe0321713475451 Mon Sep 17 00:00:00 2001 From: Casey Faist Date: Wed, 4 Mar 2020 15:58:27 -0800 Subject: [PATCH 1/2] warn about EOL for Django release --- bin/steps/pip-install | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/steps/pip-install b/bin/steps/pip-install index b950fef..403c3e7 100755 --- a/bin/steps/pip-install +++ b/bin/steps/pip-install @@ -38,6 +38,12 @@ if [ ! "$SKIP_PIP_INSTALL" ]; then mcount "failure.none-version" fi + if grep -q 'django==1.*' requirements.txt; then + puts-warn "Your Django version is nearing the end of its community support." + puts-warn "Upgrade to continue to receive security updates and for the best experience with Django." + puts-warn "For more information, check out https://www.djangoproject.com/weblog/2015/jun/25/roadmap/" + fi + if [ ! -f "$BUILD_DIR/.heroku/python/bin/pip" ]; then exit 1 fi From 1df55a6c3c28d65dc4d949ef9eac7058d2659a84 Mon Sep 17 00:00:00 2001 From: Casey Faist Date: Wed, 4 Mar 2020 16:03:10 -0800 Subject: [PATCH 2/2] and add a changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 43e154b..7617a30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ # Master - Correct ftp to https in vendored file +- Warn for Django 1.11 approaching EOL, provide link to roadmap --------------------------------------------------------------------------------