Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.6.12 and 3.7.9 #1054

Merged
merged 1 commit into from
Aug 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Python 3.6.12 and 3.7.9 are now available (CPython) (#1054).
- The default Python version for new apps is now 3.6.12 (previously 3.6.11) (#1054).

## v176 (2020-08-12)

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python app detected
remote: -----> Installing python-3.7.4
remote: -----> Installing python
remote: -----> Installing pip
remote: -----> Installing SQLite3
remote: -----> Installing requirements with pip
Expand All @@ -44,7 +44,7 @@ A `requirements.txt` must be present at the root of your application's repositor

To specify your python version, you also need a `runtime.txt` file - unless you are using the default Python runtime version.

Current default Python Runtime: Python 3.6.9
Current default Python Runtime: Python 3.6.12

Alternatively, you can provide a `setup.py` file, or a `Pipfile`.
Using `pipenv` will generate `runtime.txt` at build time if one of the field `python_version` or `python_full_version` is specified in the `requires` section of your `Pipfile`.
Expand All @@ -63,8 +63,8 @@ Specify a Python Runtime
Supported runtime options include:

- `python-3.8.5`
- `python-3.7.8`
- `python-3.6.11`
- `python-3.7.9`
- `python-3.6.12`
- `python-2.7.18`

## Tests
Expand Down
6 changes: 3 additions & 3 deletions bin/default_pythons
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
# the env vars to subprocesses.
# shellcheck disable=2034

DEFAULT_PYTHON_VERSION="python-3.6.11"
DEFAULT_PYTHON_VERSION="python-3.6.12"
LATEST_38="python-3.8.5"
LATEST_37="python-3.7.8"
LATEST_36="python-3.6.11"
LATEST_37="python-3.7.9"
LATEST_36="python-3.6.12"
LATEST_35="python-3.5.9"
LATEST_34="python-3.4.10"
LATEST_27="python-2.7.18"
Expand Down
4 changes: 4 additions & 0 deletions builds/runtimes/python-3.6.12
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/python/

source $(dirname $0)/python3
4 changes: 4 additions & 0 deletions builds/runtimes/python-3.7.9
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/python/

source $(dirname $0)/python3