Skip to content

Commit

Permalink
Merge pull request #241 from mbaranovski/support-lambda-runtime-3.10
Browse files Browse the repository at this point in the history
feat: adds Python 3.10 to the supported runtime config
  • Loading branch information
TimPansino authored Aug 10, 2023
2 parents 3e56f00 + 65609d6 commit 0de8915
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ A CLI to install the New Relic AWS Lambda integration and layers.
* python3.7
* python3.8
* python3.9
* python3.10

**Note:** Automatic handler wrapping is only supported for Node.js and Python. For other runtimes,
manual function wrapping is required using the runtime specific New Relic agent.
Expand Down
4 changes: 4 additions & 0 deletions newrelic_lambda_cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
"Handler": "newrelic_lambda_wrapper.handler",
"LambdaExtension": True,
},
"python3.10": {
"Handler": "newrelic_lambda_wrapper.handler",
"LambdaExtension": True,
},
}


Expand Down
1 change: 1 addition & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def test_supports_lambda_extension():
"python3.7",
"python3.8",
"python3.9",
"python3.10",
)
)
assert not any(
Expand Down

0 comments on commit 0de8915

Please sign in to comment.