From 106f2997fa124852a2a35ee8bfa604ad20c47988 Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Thu, 23 Apr 2020 08:11:53 -0500 Subject: [PATCH] Add support for Python 3.8 latest version (#955) * Add support for Python 3.8 latest version If the pip lock file only specifies `3.8` and no bug fix version, it should use Python LATEST_38. * Update CHANGELOG.md * Update changelog Co-authored-by: Johannes Hoppe Co-authored-by: Casey --- CHANGELOG.md | 2 ++ bin/steps/pipenv-python-version | 3 +++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a4939ec..a243274 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ # Master +- Bugfix: Fix support for naive latest version declaration in Python 3.8 + -------------------------------------------------------------------------------- # 169 (2020-04-22) diff --git a/bin/steps/pipenv-python-version b/bin/steps/pipenv-python-version index dcdf3c2..cf92cdf 100755 --- a/bin/steps/pipenv-python-version +++ b/bin/steps/pipenv-python-version @@ -27,6 +27,9 @@ if [[ -f $BUILD_DIR/Pipfile ]]; then if [ "$PYTHON" = 3.7 ]; then echo "$LATEST_37" > "$BUILD_DIR/runtime.txt" fi + if [ "$PYTHON" = 3.8 ]; then + echo "$LATEST_38" > "$BUILD_DIR/runtime.txt" + fi fi