aws / chalice

Python Serverless Microframework for AWS
Apache License 2.0
10.61k stars 1.01k forks source link

Python 3.11 Support #2053

Closed devinmatte closed 9 months ago

devinmatte commented 1 year ago

Lambda base images for Python 3.11 are released now: https://github.com/aws/aws-lambda-base-images/issues/62#issuecomment-1635917903

And Lambda 3.11 runtime is fully released: https://aws.amazon.com/about-aws/whats-new/2023/07/aws-lambda-python-3-11/

It would be great if ahead of that release Chalice was ready with support to release for 3.11 so that Chalice users can update their applications

Thanks 😄

devinmatte commented 1 year ago

Lambda 3.11 runtime is released: https://aws.amazon.com/about-aws/whats-new/2023/07/aws-lambda-python-3-11/

Chalice support would be greatly appreciated

cc @jamesls

catsclaw commented 1 year ago

Currently the documentation says "Chalice supports all versions of python supported by AWS Lambda, which is currently Python 3.6 and greater. You can see the list of supported python versions for Lambda in their docs" which does include Python 3.11 but if you deploy you get nasty messages like "You are currently running python3.11, but the closest supported version on AWS Lambda is python3.10" which is flat out wrong, and Chalice will deploy to 3.10.

Maybe fix the documentation so it's not lying to people?

sayajin101 commented 11 months ago

Please add 3.11 python support for Chalice

forgebench commented 11 months ago

Another vote for 3.11 support. Thank you!

Steve-Groner commented 11 months ago

Another vote for 3.11. I have to manually change my Lambda after deploy to make some of my packages work.

toringe commented 11 months ago

My vote to support 3.11

Steve-Groner commented 10 months ago

@jamesls Any way this can get pushed into prod. This is painful to have to update the lambda to 3.11 after chalice pushes it to AWS as 3.10.

devinmatte commented 10 months ago

Hate to be annoying about this but it's been now 107 days since Python 3.11 Support was added to Lambda without Chalice getting an update https://aws.amazon.com/about-aws/whats-new/2023/07/aws-lambda-python-3-11/

ventz commented 10 months ago

Adding 3.11 would be nice!

devinmatte commented 9 months ago

Completed in #2063

devinmatte commented 9 months ago

Reopening until the release is available in pypi, which hopefully will be soon

ventz commented 9 months ago

@ogrodnek Thanks for adding!