mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
Merge pull request #922 from heroku/django/warn
Warn about EOL for Django release
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
# Master
|
||||
|
||||
- Correct ftp to https in vendored file
|
||||
- Warn for Django 1.11 approaching EOL, provide link to roadmap
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user