mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
Prevent Python 3.7 from being unsupported
Python 3.7.0 is supported but not preferred given how new it is. As a result, we don't want it to be the default, but we also don't want users to be confused when upgrading to it. Closes gh-728
This commit is contained in:
@@ -22,7 +22,10 @@ if [[ -f $BUILD_DIR/Pipfile ]]; then
|
||||
echo "$LATEST_2" > "$BUILD_DIR/runtime.txt"
|
||||
fi
|
||||
if [ "$PYTHON" = 3.6 ]; then
|
||||
echo "$LATEST_3" > "$BUILD_DIR/runtime.txt"
|
||||
echo "$LATEST_36" > "$BUILD_DIR/runtime.txt"
|
||||
fi
|
||||
if [ "$PYTHON" = 3.7 ]; then
|
||||
echo "$LATEST_37" > "$BUILD_DIR/runtime.txt"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user