Skip to content

Python 3.12 support #1080

@keithpeck

Description

@keithpeck

Currently https://aws-otel.github.io/docs/getting-started/lambda/lambda-python says 3.8, 3.9, 3.10 and 3.11 are supported.

https://github.com/open-telemetry/opentelemetry-lambda/releases/tag/layer-python%2F0.11.0 mentions 3.12 support, but we have not been able to get otel working with arn:aws:lambda:us-east-1:901920570463:layer:aws-otel-python-amd64-ver-1-29-0:1 in 3.12. It's unclear if it's still not supported or the doc needs updating.

Thanks

Activity

imanshafiei540

imanshafiei540 commented on Mar 31, 2025

@imanshafiei540

Hello @vasireddy99

Hope you’re doing well! I wanted to check in on this issue, as it’s been open for about a month now. Do you see any limitations or blockers that are preventing us from moving forward?

If there’s anything I can do to help or if I could assist to speed things up, I’d be happy to support.

As a side note, I'm also not sure if we can have both 3.12 and 3.13 support in one release or not.

Thanks so much!

vasireddy99

vasireddy99 commented on Mar 31, 2025

@vasireddy99
Contributor

Hello,
There are no limitations for now at the moment to support 3.12, we would need to release new layers and don't have an ETA at the moment.

for the 3.13 once the support is added upstream. we should be able to do 3.12 and 3.13 in one release.

imanshafiei540

imanshafiei540 commented on Mar 31, 2025

@imanshafiei540

@vasireddy99 Thanks for the quick response!

Do you think a PR like this could do the trick for python3.12 (#1103)

Or adding support for new Python versions is not something the community can contribute to?

Please let me know, and also feel free to close the PR if we can't proceed with it.

Thanks!

vasireddy99

vasireddy99 commented on Mar 31, 2025

@vasireddy99
Contributor

I would recommend adding python 3.13 support in opentelemetry-lambda repo

imanshafiei540

imanshafiei540 commented on Mar 31, 2025

@imanshafiei540

Created the related issue and PR here: open-telemetry/opentelemetry-lambda#1755

Thanks!

havrylenkok

havrylenkok commented on May 22, 2025

@havrylenkok

@vasireddy99 given that open-telemetry repo release has been around for a while with support of 3.12 and 3.13 https://github.com/open-telemetry/opentelemetry-lambda/releases/tag/layer-python%2F0.13.0 and this PR to add support being open #1103 do you see a way to expedite layer finally getting support for 3.12?

I have a number of python lambdas that I really want to upgrade to 3.12 and use the recently brought back graceful shutdown functionality and the only blocker I have is this layer crashing and leaving functions with no observability.

https://github.com/aws-samples/graceful-shutdown-with-aws-lambda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @keithpeck@havrylenkok@imanshafiei540@vasireddy99

        Issue actions

          Python 3.12 support · Issue #1080 · aws-observability/aws-otel-lambda