getsentry / getsentry/sentry-python

AWS Lambda with Python 3.12 not supported

Open
#2,890 6 comments 7 reactions 0 assignees View on GitHub
Improvement Integration: AWS Lambda Integration: Serverless Python
Dominant language
Python
Stars
2.2k
Forks
669
Avg merge
1d 1h
Merged PRs (30d)
213

Description

### How do you use Sentry?

Sentry Saas (sentry.io)

### Version

AWS Lambda Version 101

### Steps to Reproduce

The latest Sentry AWS Lambda layer (101) does not support Python 3.12 which was released Dec 2023.

[Supported versions section](https://docs.sentry.io/platforms/python/integrations/aws-lambda/manual-layer/#supported-versions)

While viewing a lambda function in the AWS Console
* Select the "Code" tab
* View the "Layers" section at the bottom
* Verify that the "SentryPythonServerlessSDK" layer is at version 101 which is the latest version at time of writing.
* Note that the layer compatible runtime does not list python 3.12

### Expected Result

The documentation and the layer's compatible runtimes should list python 3.12 as a supported version.

### Actual Result

The latest version of python supported is 3.11

AWS Console
![Screenshot 2024-03-21 at 9 22 03 AM](https://github.com/getsentry/sentry-python/assets/7118930/114f89bd-af10-4ed8-8f79-208357a8429b)

Doc
![Screenshot 2024-03-21 at 9 22 28 AM](https://github.com/getsentry/sentry-python/assets/7118930/ebacc816-7640-4ce6-918d-9714e01b6729)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.