File tree Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# Master
4
4
5
+ - Add support for Python 3.8 branch
5
6
- Sqlite3 Update:
6
7
- Add Tests
7
8
- Test for Pysqlite
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ export VENDOR_URL
52
52
source " $BIN_DIR /default_pythons"
53
53
54
54
# Supported Python Branches
55
+ PY38=" python-3.8"
55
56
PY37=" python-3.7"
56
57
PY36=" python-3.6"
57
58
PY35=" python-3.5"
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
DEFAULT_PYTHON_VERSION=" python-3.6.9"
4
+ LATEST_38=" python-3.8.0"
5
+ LATEST_37=" python-3.7.5"
4
6
LATEST_36=" python-3.6.9"
5
- LATEST_37=" python-3.7.4"
6
7
LATEST_35=" python-3.5.7"
7
8
LATEST_34=" python-3.4.10"
8
9
LATEST_27=" python-2.7.16"
9
10
10
- export DEFAULT_PYTHON_VERSION LATEST_37 LATEST_36 LATEST_35 LATEST_34 LATEST_27
11
+ export DEFAULT_PYTHON_VERSION LATEST_38 LATEST_37 LATEST_36 LATEST_35 LATEST_34 LATEST_27
Original file line number Diff line number Diff line change @@ -10,6 +10,14 @@ VENDORED_PYTHON="${VENDOR_URL}/runtimes/$PYTHON_VERSION.tar.gz"
10
10
SECURITY_UPDATE=" Python has released a security update! Please consider upgrading to"
11
11
12
12
# check if runtime exists
13
+ if curl --output /dev/null --silent --head --fail " $VENDORED_PYTHON " ; then
14
+ if [[ " $PYTHON_VERSION " == $PY38 * ]]; then
15
+ # do things to alert the user of security release available
16
+ if [ " $PYTHON_VERSION " != " $LATEST_38 " ]; then
17
+ puts-warn " $SECURITY_UPDATE " " $LATEST_38 "
18
+ echo " Learn More: https://devcenter.heroku.com/articles/python-runtimes"
19
+ fi
20
+ fi
13
21
if curl --output /dev/null --silent --head --fail " $VENDORED_PYTHON " ; then
14
22
if [[ " $PYTHON_VERSION " == $PY37 * ]]; then
15
23
# do things to alert the user of security release available
You can’t perform that action at this time.
0 commit comments