From abade3184820c317910754e84df25aa5c1191888 Mon Sep 17 00:00:00 2001 From: Ian Stapleton Cordasco <icordasco@heroku.com> Date: Thu, 28 Jun 2018 10:57:13 -0500 Subject: [PATCH] Update defaults for Python 3 apps on Heroku Also update our documentation and CHANGELOG for this version of the buildpack. --- CHANGELOG.md | 4 ++++ README.md | 5 +++-- bin/compile | 4 ++-- test/run | 4 ++-- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b45a9c5e..9441c534 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Python Buildpack Changelog +# 136 + +Upgrade to 3.6.6 and support 3.7.0 on all runtimes. + # 135 Upgrade Pipenv to v2018.5.18. diff --git a/README.md b/README.md index 0a5aed1d..a4a5bf96 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Deploying a Python application couldn't be easier: $ git push heroku master … -----> Python app detected - -----> Installing python-3.6.5 + -----> Installing python-3.6.6 -----> Installing pip -----> Installing requirements with Pipenv 2018.5.18… ... @@ -58,5 +58,6 @@ Or, with a `runtime.txt` file: Runtime options include: -- `python-3.6.5` +- `python-3.7.0` +- `python-3.6.6` - `python-2.7.15` diff --git a/bin/compile b/bin/compile index 6f4caee0..de41aa74 100755 --- a/bin/compile +++ b/bin/compile @@ -49,8 +49,8 @@ export VENDOR_URL # These variables are used to specify which versions of Python to install by default, # as well as prompt the user to upgrade if they are using an un–supported version. # Note: When 3.7 lands, I recommend switching to LATEST_36 and LATEST_37. -DEFAULT_PYTHON_VERSION="python-3.6.5" -LATEST_3="python-3.6.5" +DEFAULT_PYTHON_VERSION="python-3.6.6" +LATEST_3="python-3.6.6" LATEST_2="python-2.7.15" # Which stack is used (for binary downloading), if none is provided (e.g. outside of Heroku)? diff --git a/test/run b/test/run index 211f2a8f..9117677a 100755 --- a/test/run +++ b/test/run @@ -12,7 +12,7 @@ testPipenvLock() { testPipenvVersion() { compile "pipenv-version" - assertCaptured "3.6.5" + assertCaptured "3.6.6" assertCapturedSuccess } @@ -83,7 +83,7 @@ testPython2() { testPython3() { compile "python3" - assertCaptured "python-3.6.5" + assertCaptured "python-3.6.6" assertCapturedSuccess } -- GitLab