The semi-regular deprecation of Python versions has come around which means some people may need to update their AWS Lambdas to support a higher version of Python than the outgoing version 3.8. I’ve just upgraded all mine to 3.12 so should be good for the rest of the decade
This affects users who have implemented their own Alexa integration using Amazon Alexa Smart Home Skill - Home Assistant
Email below;
Hello,
We are contacting you as we have identified that your AWS Account currently has one or more AWS Lambda functions using the Python 3.8 runtime.
We are ending support for Python 3.8 in Lambda on October 14, 2024. This follows Python 3.8 End-Of-Life (EOL) which is scheduled for October, 2024 [1].
As described in the Lambda runtime support policy [2], end of support for language runtimes in Lambda happens in several stages. Starting on October 14, 2024, Lambda will no longer apply security patches and other updates to the Python 3.8 runtime used by Lambda functions, and functions using Python 3.8 will no longer be eligible for technical support. Also, Python 3.8 will no longer be available in the AWS Console, although you can still create and update functions that use Python 3.8 via AWS CloudFormation, the AWS CLI, AWS SAM, or other tools. Starting February 28, 2025, you will no longer be able to create new Lambda functions using the Python 3.8 runtime. Starting March 31, 2025, you will no longer be able to update existing functions using the Python 3.8 runtime.
We recommend that you upgrade your existing Python 3.8 functions to the latest available Python runtime in Lambda before October 14, 2024.
End of support does not impact function execution. Your functions will continue to run. However, they will be running on an unsupported runtime which is no longer maintained or patched by the AWS Lambda team.
This notification is generated for functions using the Python 3.8 runtime for the $LATEST function version. The following command shows how to use the AWS CLI [3] to list all functions in a specific region using Python 3.8, including published function versions. To find all such functions in your account, repeat this command for each region:
aws lambda list-functions --region us-west-2 --output text --query “Functions[?Runtime==‘python3.8’].FunctionArn”
A list of your affected Lambda functions is available in the ‘Affected resources’ tab of your AWS Health Dashboard.
From 180 days before deprecation, you can also use Trusted Advisor to identify all functions using the Python 3.8 runtime, including published function versions [4].
If you have any concerns or require further assistance, please contact AWS Support [5].
[1] Status of Python versions
[2] Lambda runtimes - AWS Lambda
[3] Command Line Interface - AWS CLI - AWS
[4] Security - AWS Support
[5] https://aws.amazon.com/supportSincerely,
Amazon Web ServicesAmazon Web Services, Inc. is a subsidiary of Amazon.com, Inc. Amazon.com is a registered trademark of Amazon.com, Inc. This message was produced and distributed by Amazon Web Services Inc., 410 Terry Ave. North, Seattle, WA 98109-5210