Skip to content

Commit 14c7e26

Browse files
authored
Merge pull request heroku#827 from heroku/fix-python-3-5-7
Fix Python 3.5.7
2 parents 9dcabe2 + 58e664a commit 14c7e26

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Python Buildpack Changelog
22

3+
# 154 (2019-07-17)
4+
5+
Fix python 3.5.7 formula actually building 3.7.2
6+
7+
# 153 (2019-06-21)
8+
9+
Hotfix for broken heroku-16 deploys
10+
311
# 152 (2019-04-04)
412

513
Python 3.7.3 now available.

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ FROM heroku/heroku:16-build
33
WORKDIR /app
44
ENV WORKSPACE_DIR="/app/builds" \
55
S3_BUCKET="lang-python" \
6-
S3_PREFIX="heroku-16/"
6+
S3_PREFIX="heroku-16/" \
7+
DEBIAN_FRONTEND=noninteractive
78

89
RUN apt-get update && apt-get install -y python-pip && rm -rf /var/lib/apt/lists/*
910

Dockerfile.heroku-18

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ FROM heroku/heroku:18-build
33
WORKDIR /app
44
ENV WORKSPACE_DIR="/app/builds" \
55
S3_BUCKET="lang-python" \
6-
S3_PREFIX="heroku-18/"
6+
S3_PREFIX="heroku-18/" \
7+
DEBIAN_FRONTEND=noninteractive
78

89
RUN apt-get update && apt-get install -y python-pip && rm -rf /var/lib/apt/lists/*
910

builds/runtimes/python-3.5.7

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ echo "Setting up SQLite3 Headers for $SQLITE3_VERSION"
1313
sqlite3_install "$OUT_PREFIX" "$SQLITE3_VERSION" 1
1414

1515
echo "Building Python…"
16-
SOURCE_TARBALL='https://python.org/ftp/python/3.7.2/Python-3.7.2.tgz'
16+
SOURCE_TARBALL='https://python.org/ftp/python/3.5.7/Python-3.5.7.tgz'
1717
curl -L $SOURCE_TARBALL | tar xz
18-
mv Python-3.7.2 src
18+
mv Python-3.5.7 src
1919
cd src
2020

2121
./configure --prefix=$OUT_PREFIX --with-ensurepip=no

0 commit comments

Comments
 (0)