Skip to content

Commit 60b9d1a

Browse files
authored
Add support for Python 3.6.12 and 3.7.9 (#1054)
Since they were released yesterday: https://www.python.org/downloads/release/python-3612/ https://www.python.org/downloads/release/python-379/ Closes @W-7975179@. Closes @W-7975181@.
1 parent 3fa3f15 commit 60b9d1a

File tree

5 files changed

+17
-7
lines changed

5 files changed

+17
-7
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

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

68
## v176 (2020-08-12)
79

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ remote: Compressing source files... done.
2626
remote: Building source:
2727
remote:
2828
remote: -----> Python app detected
29-
remote: -----> Installing python-3.7.4
29+
remote: -----> Installing python
3030
remote: -----> Installing pip
3131
remote: -----> Installing SQLite3
3232
remote: -----> Installing requirements with pip
@@ -44,7 +44,7 @@ A `requirements.txt` must be present at the root of your application's repositor
4444

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

47-
Current default Python Runtime: Python 3.6.9
47+
Current default Python Runtime: Python 3.6.12
4848

4949
Alternatively, you can provide a `setup.py` file, or a `Pipfile`.
5050
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`.
@@ -63,8 +63,8 @@ Specify a Python Runtime
6363
Supported runtime options include:
6464

6565
- `python-3.8.5`
66-
- `python-3.7.8`
67-
- `python-3.6.11`
66+
- `python-3.7.9`
67+
- `python-3.6.12`
6868
- `python-2.7.18`
6969

7070
## Tests

bin/default_pythons

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
# the env vars to subprocesses.
66
# shellcheck disable=2034
77

8-
DEFAULT_PYTHON_VERSION="python-3.6.11"
8+
DEFAULT_PYTHON_VERSION="python-3.6.12"
99
LATEST_38="python-3.8.5"
10-
LATEST_37="python-3.7.8"
11-
LATEST_36="python-3.6.11"
10+
LATEST_37="python-3.7.9"
11+
LATEST_36="python-3.6.12"
1212
LATEST_35="python-3.5.9"
1313
LATEST_34="python-3.4.10"
1414
LATEST_27="python-2.7.18"

builds/runtimes/python-3.6.12

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
# Build Path: /app/.heroku/python/
3+
4+
source $(dirname $0)/python3

builds/runtimes/python-3.7.9

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
# Build Path: /app/.heroku/python/
3+
4+
source $(dirname $0)/python3

0 commit comments

Comments
 (0)