diff --git a/CHANGELOG.md b/CHANGELOG.md index d989c9d..25519c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Python Buildpack Changelog +# 154 (2019-07-17) + +Fix python 3.5.7 formula actually building 3.7.2 + +# 153 (2019-06-21) + +Hotfix for broken heroku-16 deploys + # 152 (2019-04-04) Python 3.7.3 now available. diff --git a/Dockerfile b/Dockerfile index 7a78561..0e00b3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,8 @@ FROM heroku/heroku:16-build WORKDIR /app ENV WORKSPACE_DIR="/app/builds" \ S3_BUCKET="lang-python" \ - S3_PREFIX="heroku-16/" + S3_PREFIX="heroku-16/" \ + DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y python-pip && rm -rf /var/lib/apt/lists/* diff --git a/Dockerfile.heroku-18 b/Dockerfile.heroku-18 index d34e948..466506a 100644 --- a/Dockerfile.heroku-18 +++ b/Dockerfile.heroku-18 @@ -3,7 +3,8 @@ FROM heroku/heroku:18-build WORKDIR /app ENV WORKSPACE_DIR="/app/builds" \ S3_BUCKET="lang-python" \ - S3_PREFIX="heroku-18/" + S3_PREFIX="heroku-18/" \ + DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y python-pip && rm -rf /var/lib/apt/lists/* diff --git a/builds/runtimes/python-3.5.7 b/builds/runtimes/python-3.5.7 index 4d74b89..2a07209 100755 --- a/builds/runtimes/python-3.5.7 +++ b/builds/runtimes/python-3.5.7 @@ -13,9 +13,9 @@ 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' +SOURCE_TARBALL='https://python.org/ftp/python/3.5.7/Python-3.5.7.tgz' curl -L $SOURCE_TARBALL | tar xz -mv Python-3.7.2 src +mv Python-3.5.7 src cd src ./configure --prefix=$OUT_PREFIX --with-ensurepip=no