Zappa (and AWS Lambda) support the following versions of Python: ['3.6', '3.7', '3.8', '3.9', '3.10']
Possible Fix
Is it necessary for Zappa to error based on the Python version in the first place? I think Zappa shouldn't need to be updated every time Lambda releases a new version, and instead could not check the Python version at all.
Context
AWS Lambda now supports Python 3.11. We should add support for that in Zappa.
https://aws.amazon.com/about-aws/whats-new/2023/07/aws-lambda-python-3-11/
Expected Behavior
Python 3.11 would be supported.
Actual Behavior
An error is raised when using Python 3.11:
Possible Fix
Is it necessary for Zappa to error based on the Python version in the first place? I think Zappa shouldn't need to be updated every time Lambda releases a new version, and instead could not check the Python version at all.
Steps to Reproduce
1. 2. 3.
Your Environment
pip freeze
:zappa_settings.json
: