@@ -2,6 +2,7 @@ shopt -s extglob
2
2
3
3
old-platform() {
4
4
if grep -qi 'InsecurePlatformWarning' "$WARNINGS_LOG"; then
5
+ echo
5
6
puts-warn "Hello! It looks like your application is using an outdated version of Python."
6
7
puts-warn "This caused the security warning you saw above during the 'pip install' step."
7
8
puts-warn "We recommend '$DEFAULT_PYTHON_VERSION', which you can specify in a 'runtime.txt' file."
@@ -11,6 +12,7 @@ old-platform() {
11
12
12
13
pylibmc-missing() {
13
14
if grep -qi 'fatal error: libmemcached/memcached.h: No such file or directory' "$WARNINGS_LOG"; then
15
+ echo
14
16
puts-warn "Hello! There was a problem with your build related to libmemcache."
15
17
puts-warn "The Python library 'pylibmc' must be explicitly specified in 'requirements.txt' in order to build correctly."
16
18
puts-warn "Once you do that, everything should work as expected. -- Much Love, Heroku."
@@ -19,6 +21,7 @@ pylibmc-missing() {
19
21
20
22
scipy-included() {
21
23
if grep -qi 'running setup.py install for scipy' "$WARNINGS_LOG"; then
24
+ echo
22
25
puts-warn "Hello! It looks like you're trying to use scipy on Heroku."
23
26
puts-warn "Unfortunately, at this time, we do not directly support this library."
24
27
puts-warn "There is, however, a buildpack available that makes it possible to use it on Heroku."
@@ -29,6 +32,7 @@ scipy-included() {
29
32
30
33
distribute-included() {
31
34
if grep -qi 'Running setup.py install for distribute' "$WARNINGS_LOG"; then
35
+ echo
32
36
puts-warn "Hello! Your requirements.txt file contains the distribute package."
33
37
puts-warn "This library is automatically installed by Heroku and shouldn't be in"
34
38
puts-warn "Your requirements.txt file. This can cause unexpected behavior."
0 commit comments