From a7c20eea424e05f9fff0a2e7060e1495ae3bc69f Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Tue, 20 Jun 2017 09:14:01 -0700 Subject: [PATCH] Python 3 default for buildpack (#409) * update default python to 3.6.1 * v110 * nltk python2 --- CHANGELOG.md | 6 ++++-- bin/compile | 2 +- test/fixtures/nltk/runtime.txt | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 test/fixtures/nltk/runtime.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dee4a8f..845ea940 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,10 @@ # Python Buildpack Changelog -# Unreleased +# 110 -Fixed automatic pip uninstall of dependencies removed from requirements.txt. +Update Default Python to 3.6.1, bugfixes. + +- Fixed automatic pip uninstall of dependencies removed from requirements.txt. # 109 diff --git a/bin/compile b/bin/compile index 6351c244..d17a61c5 100755 --- a/bin/compile +++ b/bin/compile @@ -32,7 +32,7 @@ CACHE_DIR=$2 ENV_DIR=$3 # Python defaults -DEFAULT_PYTHON_VERSION="python-2.7.13" +DEFAULT_PYTHON_VERSION="python-3.6.1" DEFAULT_PYTHON_STACK="cedar-14" PYTHON_EXE="/app/.heroku/python/bin/python" PIP_VERSION="9.0.1" diff --git a/test/fixtures/nltk/runtime.txt b/test/fixtures/nltk/runtime.txt new file mode 100644 index 00000000..ba85ab97 --- /dev/null +++ b/test/fixtures/nltk/runtime.txt @@ -0,0 +1 @@ +python-2.7.13 \ No newline at end of file -- GitLab