AWS Lambda Python 3.9 support
See original GitHub issueEnvironment
AWS Lambda with Python 3.9 runtime. Sentry sdk version sentry-sdk==1.3.1
Steps to Reproduce
- Change lambda runtime to Python 3.9
- Raise exception
Expected Result
Error should appear in the sentry dashboard.
Actual Result
Nothing happens.
I found that in Python 3.9 runtime, AWS has changed bootstrap location, so return sys.modules["__main__"].bootstrap
this is not working anymore.
I fixed it with this sys.modules["__main__"].awslambdaricmain.bootstrap
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:13 (4 by maintainers)
Top Results From Across the Web
AWS Lambda adds support for Python 3.9
AWS Lambda now supports Python 3.9 as both a managed runtime and a container base image. You can now author AWS Lambda functions...
Read more >AWS Lambda with Python 3.9 not supported · Issue #1407
I create a AWS Lambda function based on Python 3.9 in the AWS Console. I create a new project in sentry.io and in...
Read more >AWS Announces Python 3.9 Runtime Support for Lambda ...
Recently AWS announced the support for Python 3.9 as both a managed runtime and a container base image for its Function as a...
Read more >When will AWS lambda support python 3.9?
AWS Lambda now supports Python 3.9 as both a managed runtime and a container base image. You can now author AWS Lambda functions...
Read more >Python Version Support — AWS Chalice
Chalice supports all versions of python supported by AWS Lambda, ... If we were using python 3.9.6, chalice would automatically select python3.9 as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jonapich this is very helpful. Just tested and it works like a charm. The transactions are coming back.
I was able to trick sentry in finding it by doing this: