opentelemetry-lambda icon indicating copy to clipboard operation
opentelemetry-lambda copied to clipboard

Python 3.12 support

Open miikka opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe.

AWS Lambda now has support for Python 3.12. It would be great to have Python 3.12 support in the Python + Collector Lambda layer, too.

Describe the solution you'd like

The included version of OpenTelemetry Python SDK should be bumped to 1.22.0 at least, since that version includes this essential Python 3.12 compatibility fix.

Otherwise I'm not aware of big changes needed.

Describe alternatives you've considered

Additional context

miikka avatar Jan 03 '24 15:01 miikka

@miikka @tylerbenson @rapphil Currently, OTEL Python SDK version 1.26.0 is used for OTEL Python later. So that version should be OK for Python 3.12 support.

But

  • we also need to specify supported runtimes in the published layer by runtimes parameter here
  • and add 3.12 to the Python version matrix here as part of CI process

serkan-ozal avatar Sep 01 '24 21:09 serkan-ozal

@serkan-ozal makes sense. I don't see any blockers for not supporting Python 3.12.

rapphil avatar Sep 05 '24 04:09 rapphil

with #1576 merged, is there a tag/release process to be followed?

gliptak avatar Nov 04 '24 13:11 gliptak

I will try to do a release this week.

tylerbenson avatar Nov 04 '24 16:11 tylerbenson

See https://github.com/open-telemetry/opentelemetry-lambda/releases/tag/layer-python%2F0.11.0

fitz-vivodyne avatar Nov 13 '24 22:11 fitz-vivodyne