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
4750639a
Commit
4750639a
authored
Nov 11, 2018
by
Casey Faist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add python 3.4 detection
parent
3de5b434
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
compile
bin/compile
+2
-0
python
bin/steps/python
+7
-0
No files found.
bin/compile
View file @
4750639a
...
...
@@ -53,12 +53,14 @@ DEFAULT_PYTHON_VERSION="python-3.6.6"
LATEST_36
=
"python-3.6.6"
LATEST_37
=
"python-3.7.0"
LATEST_35
=
"python-3.5.6"
LATEST_34
=
"python-3.4.9"
LATEST_2
=
"python-2.7.15"
# Supported Python Branches
PY37
=
"python-3.7"
PY36
=
"python-3.6"
PY35
=
"python-3.5"
PY35
=
"python-3.4"
PY27
=
"python-2.7"
# Which stack is used (for binary downloading), if none is provided (e.g. outside of Heroku)?
...
...
bin/steps/python
View file @
4750639a
...
...
@@ -32,6 +32,13 @@ if curl --output /dev/null --silent --head --fail "$VENDORED_PYTHON"; then
echo
" Learn More: https://devcenter.heroku.com/articles/python-runtimes"
fi
fi
if
[[
"
$PYTHON_VERSION
"
==
$PY34
*
]]
;
then
# security update note
if
[
"
$PYTHON_VERSION
"
!=
"
$LATEST_34
"
]
;
then
puts-warn
"
$SECURITY_UPDATE
"
"
$LATEST_34
"
echo
" Learn More: https://devcenter.heroku.com/articles/python-runtimes"
fi
fi
if
[[
"
$PYTHON_VERSION
"
==
$PY27
*
]]
;
then
# security update note
if
[
"
$PYTHON_VERSION
"
!=
"
$LATEST_27
"
]
;
then
...
...
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