Skip to content

Commit b6541bb

Browse files
committed
Add Python 3.8 as supported version
1 parent bba9d83 commit b6541bb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This repo was created to address these issues:
1616
- Builds either a zip file or a raw directory strucutre (e.g. if you want to use frameworks like Serverless for packaging) containing Python dependencies and places the libraries into the proper directory structure for lambda layers
1717
- Ensures compiled libraries are compatible with Lambda environment by using the [lambci/lambda](https://hub.docker.com/r/lambci/lambda) Docker container that mimics the lambda runtime environment
1818
- Optimized the zip size by removing `.pyc` files and unnecessary libraries
19-
- allows specifying lambda supported python versions: 2.7, 3.6 and 3.7
19+
- Allows specifying lambda supported python versions: 2.7, 3.6, 3.7 and 3.8
2020
- Automatically searches for requirements.txt file in several locations:
2121
- same directory as script
2222
- parent directory or script (useful when used as submodule)
@@ -49,7 +49,7 @@ $ ./build.sh -h
4949
AWS Lambda Layer Builder for Python Libraries
5050
5151
Usage: build.sh [-p PYTHON_VER] [-n NAME] [-r] [-h] [-v]
52-
-p PYTHON_VER : Python version to use: 2.7, 3.6, 3.7 (default 3.7)
52+
-p PYTHON_VER : Python version to use: 2.7, 3.6, 3.7, 3.8 (default 3.7)
5353
-n NAME : Name of the layer
5454
-r : Raw mode, don't zip layer contents
5555
-d : Don't install Python dependencies
@@ -65,7 +65,7 @@ Usage: build.sh [-p PYTHON_VER] [-n NAME] [-r] [-h] [-v]
6565
- Parent directory of script (useful when used as submodule)
6666
- Function sub-directory of the parent directory (useful when used as submodule)
6767
- Optionally specify Python Version
68-
- `-p PYTHON_VER` - specifies the Python version: 2.7, 3.6, 3.7 (default 3.6)
68+
- `-p PYTHON_VER` - specifies the Python version: 2.7, 3.6, 3.7, 3.8 (default 3.7)
6969

7070
### Custom cleaning logic
7171

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ displayVer() {
2828
usage() {
2929
echo -e "AWS Lambda Layer Builder for Python Libraries\n"
3030
echo -e "Usage: ${scriptname} [-p PYTHON_VER] [-n NAME] [-r] [-h] [-v]"
31-
echo -e " -p PYTHON_VER\t: Python version to use: 2.7, 3.6, 3.7 (default 3.7)"
31+
echo -e " -p PYTHON_VER\t: Python version to use: 2.7, 3.6, 3.7, 3.8 (default 3.7)"
3232
echo -e " -n NAME\t: Name of the layer"
3333
echo -e " -r\t\t: Raw mode, don't zip layer contents"
3434
echo -e " -d\t\t: Don't install Python dependencies"

0 commit comments

Comments
 (0)