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
76bb572a
Unverified
Commit
76bb572a
authored
Mar 21, 2019
by
Casey
Committed by
GitHub
Mar 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Release prep 151 (#813)
* new runtimes * update default latest
parent
8db4a793
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
74 additions
and
6 deletions
+74
-6
CHANGELOG.md
CHANGELOG.md
+4
-0
default_pythons
bin/default_pythons
+2
-2
python-3.4.10
builds/runtimes/python-3.4.10
+32
-0
python-3.5.7
builds/runtimes/python-3.5.7
+32
-0
runtime.txt
test/fixtures/python3_4_fail/runtime.txt
+1
-1
runtime.txt
test/fixtures/python3_5_fail/runtime.txt
+1
-1
runtime.txt
test/fixtures/python3_6_fail/runtime.txt
+1
-1
runtime.txt
test/fixtures/python3_7_fail/runtime.txt
+1
-1
No files found.
CHANGELOG.md
View file @
76bb572a
# Python Buildpack Changelog
# Python Buildpack Changelog
# 151 (2019-03-)
Python 3.5.7 and 3.4.10 now available on all Heroku stacks.
# 150 (2019-03-13)
# 150 (2019-03-13)
Python 2.7.16 now available on all Heroku stacks.
Python 2.7.16 now available on all Heroku stacks.
...
...
bin/default_pythons
View file @
76bb572a
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
DEFAULT_PYTHON_VERSION
=
"python-3.6.8"
DEFAULT_PYTHON_VERSION
=
"python-3.6.8"
LATEST_36
=
"python-3.6.8"
LATEST_36
=
"python-3.6.8"
LATEST_37
=
"python-3.7.2"
LATEST_37
=
"python-3.7.2"
LATEST_35
=
"python-3.5.
6
"
LATEST_35
=
"python-3.5.
7
"
LATEST_34
=
"python-3.4.
9
"
LATEST_34
=
"python-3.4.
10
"
LATEST_27
=
"python-2.7.16"
LATEST_27
=
"python-2.7.16"
export
DEFAULT_PYTHON_VERSION LATEST_37 LATEST_36 LATEST_35 LATEST_34 LATEST_27
export
DEFAULT_PYTHON_VERSION LATEST_37 LATEST_36 LATEST_35 LATEST_34 LATEST_27
builds/runtimes/python-3.4.10
0 → 100755
View file @
76bb572a
#!/usr/bin/env bash
# Build Path: /app/.heroku/python/
OUT_PREFIX
=
$1
BIN_DIR
=
"
$(
cd
"
$(
dirname
"
$0
"
)
"
/../..
||
exit
;
pwd
)
/bin"
export
BIN_DIR
# shellcheck source=bin/utils
source
"
$BIN_DIR
/steps/sqlite3"
sqlite3_version
echo
"Setting up SQLite3 Headers for
$SQLITE3_VERSION
"
sqlite3_install
"
$OUT_PREFIX
"
"
$SQLITE3_VERSION
"
1
echo
"Building Python…"
SOURCE_TARBALL
=
'https://python.org/ftp/python/3.7.2/Python-3.7.2.tgz'
curl
-L
$SOURCE_TARBALL
|
tar
xz
mv
Python-3.7.2 src
cd
src
./configure
--prefix
=
$OUT_PREFIX
--with-ensurepip
=
no
make
make
install
# Remove unneeded test directories, similar to the official Docker Python images:
# https://github.com/docker-library/python
find
"
${
OUT_PREFIX
}
"
\(
-type
d
-a
\(
-name
test
-o
-name
tests
\)
\)
-exec
rm
-rf
'{}'
+
# Remove spare /
LOCATION
=
${
OUT_PREFIX
%?
}
ln
$LOCATION
/bin/python3
$LOCATION
/bin/python
builds/runtimes/python-3.5.7
0 → 100755
View file @
76bb572a
#!/usr/bin/env bash
# Build Path: /app/.heroku/python/
OUT_PREFIX
=
$1
BIN_DIR
=
"
$(
cd
"
$(
dirname
"
$0
"
)
"
/../..
||
exit
;
pwd
)
/bin"
export
BIN_DIR
# shellcheck source=bin/utils
source
"
$BIN_DIR
/steps/sqlite3"
sqlite3_version
echo
"Setting up SQLite3 Headers for
$SQLITE3_VERSION
"
sqlite3_install
"
$OUT_PREFIX
"
"
$SQLITE3_VERSION
"
1
echo
"Building Python…"
SOURCE_TARBALL
=
'https://python.org/ftp/python/3.7.2/Python-3.7.2.tgz'
curl
-L
$SOURCE_TARBALL
|
tar
xz
mv
Python-3.7.2 src
cd
src
./configure
--prefix
=
$OUT_PREFIX
--with-ensurepip
=
no
make
make
install
# Remove unneeded test directories, similar to the official Docker Python images:
# https://github.com/docker-library/python
find
"
${
OUT_PREFIX
}
"
\(
-type
d
-a
\(
-name
test
-o
-name
tests
\)
\)
-exec
rm
-rf
'{}'
+
# Remove spare /
LOCATION
=
${
OUT_PREFIX
%?
}
ln
$LOCATION
/bin/python3
$LOCATION
/bin/python
test/fixtures/python3_4_fail/runtime.txt
View file @
76bb572a
python-3.4.
10
python-3.4.
99
test/fixtures/python3_5_fail/runtime.txt
View file @
76bb572a
python-3.5.
7
python-3.5.
99
test/fixtures/python3_6_fail/runtime.txt
View file @
76bb572a
python-3.6.9
python-3.6.9
9
test/fixtures/python3_7_fail/runtime.txt
View file @
76bb572a
python-3.7.
3
python-3.7.
99
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