diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a5e3a0e032e019be3728732e9a62ca9431ed009..b4170265f4dca39232d1a9e4920f6f9ed1ea28f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Python Buildpack Changelog +# 142 (2018-10-22) + +Python 3.7.1, 3.6.7 and 3.5.6 now available on all Heroku stacks. + # 141 (2018-10-10) Switch to cautious upgrade for Pipenv install to ensure the pinned pip version diff --git a/builds/runtimes/python-3.5.6 b/builds/runtimes/python-3.5.6 index 0ee79d57bd6f18e40fdff900b1fc5a4ea6042060..0d179352b1f3c996b1003d0ba9d5999a5bbd8c7c 100755 --- a/builds/runtimes/python-3.5.6 +++ b/builds/runtimes/python-3.5.6 @@ -15,7 +15,7 @@ sqlite3_install "$OUT_PREFIX" "$SQLITE3_VERSION" 1 echo "Building Python…" SOURCE_TARBALL='https://python.org/ftp/python/3.5.6/Python-3.5.6.tgz' curl -L $SOURCE_TARBALL | tar xz -mv Python-3.7.0 src +mv Python-3.5.6 src cd src ./configure --prefix=$OUT_PREFIX --with-ensurepip=no @@ -26,4 +26,7 @@ make install # https://github.com/docker-library/python find "${OUT_PREFIX}" \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf '{}' + -ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python +# Remove spare / +LOCATION=${OUT_PREFIX%?} + +ln $LOCATION/bin/python3 $LOCATION/bin/python diff --git a/builds/runtimes/python-3.6.7 b/builds/runtimes/python-3.6.7 index 9d43de8e651816b02e50d19bcab8922733e42d05..052ee1e2fb0275ed9f5cf164f00951c61eda4e1e 100755 --- a/builds/runtimes/python-3.6.7 +++ b/builds/runtimes/python-3.6.7 @@ -15,7 +15,7 @@ sqlite3_install "$OUT_PREFIX" "$SQLITE3_VERSION" 1 echo "Building Python…" SOURCE_TARBALL='https://python.org/ftp/python/3.6.7/Python-3.6.7.tgz' curl -L $SOURCE_TARBALL | tar xz -mv Python-3.7.0 src +mv Python-3.6.7 src cd src ./configure --prefix=$OUT_PREFIX --with-ensurepip=no @@ -26,4 +26,7 @@ make install # https://github.com/docker-library/python find "${OUT_PREFIX}" \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf '{}' + -ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python +# Remove spare / +LOCATION=${OUT_PREFIX%?} + +ln $LOCATION/bin/python3 $LOCATION/bin/python diff --git a/builds/runtimes/python-3.7.1 b/builds/runtimes/python-3.7.1 index a4ad45f2fbd2fa59be44bfa42ea57d154be8712f..b8051393f22aaf95ac504c64ea082eb025c17ca0 100755 --- a/builds/runtimes/python-3.7.1 +++ b/builds/runtimes/python-3.7.1 @@ -15,7 +15,7 @@ sqlite3_install "$OUT_PREFIX" "$SQLITE3_VERSION" 1 echo "Building Python…" SOURCE_TARBALL='https://python.org/ftp/python/3.7.1/Python-3.7.1.tgz' curl -L $SOURCE_TARBALL | tar xz -mv Python-3.7.0 src +mv Python-3.7.1 src cd src ./configure --prefix=$OUT_PREFIX --with-ensurepip=no @@ -26,4 +26,7 @@ make install # https://github.com/docker-library/python find "${OUT_PREFIX}" \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf '{}' + -ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python +# Remove spare / +LOCATION=${OUT_PREFIX%?} + +ln $LOCATION/bin/python3 $LOCATION/bin/python