File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 7
7
8
8
# Builds datadog-lambda-python layers for Lambda functions
9
9
10
- # Usage: PYTHON_VERSION=3.7 ./build_layers.sh
10
+ # Usage: PYTHON_VERSION=3.11 ./build_layers.sh
11
11
# If PYTHON_VERSION is not specified, all versions will be built.
12
12
13
13
set -e
14
14
15
15
LAYER_DIR=" .layers"
16
16
LAYER_FILES_PREFIX=" datadog_lambda_py"
17
- AVAILABLE_PYTHON_VERSIONS=(" 3.7 " " 3. 8" " 3.9" " 3.10" " 3.11" )
17
+ AVAILABLE_PYTHON_VERSIONS=(" 3.8" " 3.9" " 3.10" " 3.11" )
18
18
19
19
# Determine which Python versions to build layers for
20
20
if [ -z " $PYTHON_VERSION " ]; then
@@ -68,10 +68,8 @@ mkdir $LAYER_DIR
68
68
69
69
for python_version in " ${PYTHON_VERSIONS[@]} "
70
70
do
71
- if [ " $python_version " != " 3.7" ]; then
72
- echo " Building layer for Python ${python_version} arch=arm64"
73
- docker_build_zip ${python_version} $LAYER_DIR /${LAYER_FILES_PREFIX} -arm64-${python_version} .zip arm64
74
- fi
71
+ echo " Building layer for Python ${python_version} arch=arm64"
72
+ docker_build_zip ${python_version} $LAYER_DIR /${LAYER_FILES_PREFIX} -arm64-${python_version} .zip arm64
75
73
echo " Building layer for Python ${python_version} arch=amd64"
76
74
docker_build_zip ${python_version} $LAYER_DIR /${LAYER_FILES_PREFIX} -amd64-${python_version} .zip amd64
77
75
done
You can’t perform that action at this time.
0 commit comments