Skip to content

Commit a6bf536

Browse files
author
Anthony Emengo
committed
Merge remote-tracking branch 'upstream/master' into develop
2 parents 05692c2 + 7d40937 commit a6bf536

File tree

9 files changed

+34
-5
lines changed

9 files changed

+34
-5
lines changed

bin/compile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ LEGACY_TRIGGER="lib/python2.7"
3838
PROFILE_PATH="$BUILD_DIR/.profile.d/python.sh"
3939
WEBCONCURRENCY_PROFILE_PATH="$BUILD_DIR/.profile.d/python.webconcurrency.sh"
4040

41-
DEFAULT_PYTHON_VERSION="python-2.7.9"
41+
DEFAULT_PYTHON_VERSION="python-2.7.10"
4242
DEFAULT_PYTHON_STACK="cedar"
4343
PYTHON_EXE="/app/.heroku/python/bin/python"
44-
PIP_VERSION="6.1.1"
45-
SETUPTOOLS_VERSION="15.2"
44+
PIP_VERSION="7.0.1"
45+
SETUPTOOLS_VERSION="16.0"
4646

4747
# Setup bpwatch
4848
export PATH=$PATH:$ROOT_DIR/vendor/bpwatch

bin/steps/cryptography

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ source $BIN_DIR/utils
2020
bpwatch start libffi_install
2121

2222
# If pylibmc exists within requirements, use vendored cryptography.
23-
if (pip-grep -s requirements.txt bcrypt cffi cryptography pyOpenSSL PyOpenSSL &> /dev/null) then
23+
if (pip-grep -s requirements.txt bcrypt cffi cryptography pyOpenSSL PyOpenSSL requests[security] &> /dev/null) then
2424

2525
if [ -d ".heroku/vendor/lib/libffi-3.1.1" ]; then
2626
export LIBFFI=$(pwd)/vendor

bin/steps/pip-install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ fi
1919
[ ! ${FRESH_PYTHON:-} ] && bpwatch stop pip_install
2020
[ ${FRESH_PYTHON:-} ] && bpwatch stop pip_install_first
2121

22-
echo
22+
echo

builds/runtimes/pypy-2.6.0

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env bash
2+
# Build Path: /app/.heroku/python/
3+
# Build Deps: libraries/sqlite
4+
5+
# NOTICE: This formula only works for the cedar-14 stack, not cedar.
6+
7+
OUT_PREFIX=$1
8+
9+
echo "Building PyPy..."
10+
SOURCE_TARBALL='https://bitbucket.org/pypy/pypy/downloads/pypy-2.6.0-linux64.tar.bz2'
11+
curl -L $SOURCE_TARBALL | tar jx
12+
cp -R pypy-2.6.0-linux64/* $OUT_PREFIX
13+
14+
ln $OUT_PREFIX/bin/pypy $OUT_PREFIX/bin/python

builds/runtimes/python-2.7.10

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
# Build Path: /app/.heroku/python/
3+
# Build Deps: libraries/sqlite
4+
5+
OUT_PREFIX=$1
6+
7+
echo "Building Python..."
8+
SOURCE_TARBALL='https://python.org/ftp/python/2.7.10/Python-2.7.10.tgz'
9+
curl -L $SOURCE_TARBALL | tar xz
10+
mv Python-2.7.10 src
11+
cd src
12+
13+
./configure --prefix=$OUT_PREFIX --with-ensurepip=no
14+
make
15+
make install

vendor/pip-6.1.1.tar.gz

-1 MB
Binary file not shown.

vendor/pip-7.0.1.tar.gz

1 MB
Binary file not shown.

vendor/setuptools-15.2.tar.gz

-613 KB
Binary file not shown.

vendor/setuptools-16.0.tar.gz

615 KB
Binary file not shown.

0 commit comments

Comments
 (0)