Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-python
Commits
72710696
Commit
72710696
authored
Feb 09, 2016
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Revert "debug""
This reverts commit
d2722899
.
parent
d2722899
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
pip-install
bin/steps/pip-install
+3
-0
warnings
bin/warnings
+3
-0
No files found.
bin/steps/pip-install
View file @
72710696
...
@@ -10,6 +10,9 @@ PIP_STATUS="${PIPESTATUS[0]}"
...
@@ -10,6 +10,9 @@ PIP_STATUS="${PIPESTATUS[0]}"
set -e
set -e
show-warnings
show-warnings
echo
echo
cat $WARNINGS_LOG | indent
if [[ ! $PIP_STATUS -eq 0 ]]; then
if [[ ! $PIP_STATUS -eq 0 ]]; then
exit 1
exit 1
...
...
bin/warnings
View file @
72710696
shopt -s extglob
shopt -s extglob
old-platform() {
old-platform() {
echo 'old platform'
if grep -qi 'InsecurePlatformWarning' "$WARNINGS_LOG"; then
if grep -qi 'InsecurePlatformWarning' "$WARNINGS_LOG"; then
echo 'true'
puts-warn "Hello! It looks like your application is using an outdated version of Python."
puts-warn "Hello! It looks like your application is using an outdated version of Python."
puts-warn "This caused the security warning you saw above during the 'pip install' step."
puts-warn "This caused the security warning you saw above during the 'pip install' step."
puts-warn "We recommend '$DEFAULT_PYTHON_VERSION', which you can specify in a 'runtime.txt' file."
puts-warn "We recommend '$DEFAULT_PYTHON_VERSION', which you can specify in a 'runtime.txt' file."
...
@@ -37,6 +39,7 @@ distribute-included() {
...
@@ -37,6 +39,7 @@ distribute-included() {
}
}
show-warnings() {
show-warnings() {
echo "show warnings $WARNINGS_LOG"
old-platform
old-platform
pylibmc-missing
pylibmc-missing
scipy-included
scipy-included
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment