Skip to content

Commit 428e307

Browse files
committed
type(feature) Add support for python 3.8
1 parent ec34c04 commit 428e307

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

.circleci/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,8 @@ workflows:
5353
jobs:
5454
- verify_build:
5555
python: "3.7"
56+
57+
python-v3.8:
58+
jobs:
59+
- verify_build:
60+
python: "3.8"

scripts/build_layers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set -e
1010

1111
LAYER_DIR=".layers"
1212
LAYER_FILES_PREFIX="datadog_lambda_py"
13-
PYTHON_VERSIONS=("2.7" "3.6" "3.7")
13+
PYTHON_VERSIONS=("2.7" "3.6" "3.7" "3.8")
1414

1515
function make_path_absolute {
1616
echo "$(cd "$(dirname "$1")"; pwd)/$(basename "$1")"

scripts/list_layers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Lists most recent layers ARNs across regions to STDOUT
99
# Optionals args: [layer-name] [region]
1010

11-
LAYER_NAMES=("Datadog-Python27" "Datadog-Python36" "Datadog-Python37")
11+
LAYER_NAMES=("Datadog-Python27" "Datadog-Python36" "Datadog-Python37" "Datadog-Python38")
1212
AVAILABLE_REGIONS=(us-east-2 us-east-1 us-west-1 us-west-2 ap-south-1 ap-northeast-2 ap-southeast-1 ap-southeast-2 ap-northeast-1 ca-central-1 eu-north-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1)
1313

1414
# Check region arg

scripts/publish_layers.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ set -e
1313
# Makes sure any subprocesses will be terminated with this process
1414
trap "pkill -P $$; exit 1;" INT
1515

16-
PYTHON_VERSIONS_FOR_AWS_CLI=("python2.7" "python3.6" "python3.7")
17-
LAYER_PATHS=(".layers/datadog_lambda_py2.7.zip" ".layers/datadog_lambda_py3.6.zip" ".layers/datadog_lambda_py3.7.zip")
18-
AVAILABLE_LAYER_NAMES=("Datadog-Python27" "Datadog-Python36" "Datadog-Python37")
16+
PYTHON_VERSIONS_FOR_AWS_CLI=("python2.7" "python3.6" "python3.7" "python3.8")
17+
LAYER_PATHS=(".layers/datadog_lambda_py2.7.zip" ".layers/datadog_lambda_py3.6.zip" ".layers/datadog_lambda_py3.7.zip" ".layers/datadog_lambda_py3.8.zip")
18+
AVAILABLE_LAYER_NAMES=("Datadog-Python27" "Datadog-Python36" "Datadog-Python37" "Datadog-Python38")
1919
AVAILABLE_REGIONS=(us-east-2 us-east-1 us-west-1 us-west-2 ap-south-1 ap-northeast-2 ap-southeast-1 ap-southeast-2 ap-northeast-1 ca-central-1 eu-north-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1)
2020

2121
# Check that the layer files exist

scripts/run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Run unit tests in Docker
99
set -e
1010

11-
PYTHON_VERSIONS=("2.7" "3.6" "3.7")
11+
PYTHON_VERSIONS=("2.7" "3.6" "3.7" "3.8")
1212

1313
for python_version in "${PYTHON_VERSIONS[@]}"
1414
do

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
'Programming Language :: Python :: 2.7',
2323
'Programming Language :: Python :: 3.6',
2424
'Programming Language :: Python :: 3.7',
25+
'Programming Language :: Python :: 3.8',
2526
],
2627
keywords='datadog aws lambda layer',
2728
packages=['datadog_lambda'],

0 commit comments

Comments
 (0)