dherault / serverless-offline

Emulate AWS λ and API Gateway locally when developing your Serverless project
MIT License
5.19k stars 796 forks source link

Support Python 3.10 #1696

Closed benjamin9fin closed 11 months ago

benjamin9fin commented 1 year ago

Feature Request

AWS Lambda now has full support for Python 3.10.

Could Python 3.10 support be added to serverless-offline? How difficult would this be and what would the process look like?

dhay commented 1 year ago

Is it as simple as just adding an entry to supportedRuntimes.js? Or is there more to it than that?

Lyrete commented 1 year ago

According to my (slightly limited still) testing yes. The framework has no issues supporting python 3.10 already, ive deployed multiple lambdas with it already so its just a question of letting the plugin support it. #1685 has done the change.

There's also a patch you can use in the PR with patch-package if you want to run it locally already before it gets merged :)

bjornhansen commented 1 year ago

+1 Would love to be able to use this without patching. Thanks!

dnalborczyk commented 11 months ago

support has been added in: https://github.com/dherault/serverless-offline/releases/tag/v13.0.0