Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python3.8 support! #6978

Merged
merged 2 commits into from
Nov 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/providers/aws/guide/layers.md
Expand Up @@ -34,7 +34,7 @@ layers:
name: ${self:provider.stage}-layerName # optional, Deployed Lambda layer name
description: Description of what the lambda layer does # optional, Description to publish to AWS
compatibleRuntimes: # optional, a list of runtimes this layer is compatible with
- python3.7
- python3.8
licenseInfo: GPLv3 # optional, a string specifying license information
allowedAccounts: # optional, a list of AWS account IDs allowed to access this layer.
- '*'
Expand Down
2 changes: 1 addition & 1 deletion docs/providers/aws/guide/serverless.yml.md
Expand Up @@ -365,7 +365,7 @@ layers:
name: ${self:provider.stage}-layerName # optional, Deployed Lambda layer name
description: Description of what the lambda layer does # optional, Description to publish to AWS
compatibleRuntimes: # optional, a list of runtimes this layer is compatible with
- python3.7
- python3.8
licenseInfo: GPLv3 # optional, a string specifying license information
allowedAccounts: # optional, a list of AWS account IDs allowed to access this layer.
- '*'
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/aws/invokeLocal/index.js
Expand Up @@ -168,7 +168,7 @@ class AwsInvokeLocal {
);
}

if (_.includes(['python2.7', 'python3.6', 'python3.7'], runtime)) {
if (_.includes(['python2.7', 'python3.6', 'python3.7', 'python3.8'], runtime)) {
const handlerComponents = handler.split(/\./);
const handlerPath = handlerComponents.slice(0, -1).join('.');
const handlerName = handlerComponents.pop();
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/aws-python3/serverless.yml
Expand Up @@ -22,7 +22,7 @@ service: aws-python3 # NOTE: update this with your service name

provider:
name: aws
runtime: python3.7
runtime: python3.8

# you can overwrite defaults here
# stage: dev
Expand Down