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

Add support for Python 3.12

Open jeremydvoss opened this issue 1 year ago • 4 comments

We do not currently support Python 3.12.

There was an issue with a new log record attribute in 3.12, but that appears to have been fixed. Is there any reason we cannot support 3.12 now?

Here are PRs to add 3.12 environments to tox: https://github.com/open-telemetry/opentelemetry-python/pull/3616 https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2116 Related issues: https://github.com/open-telemetry/opentelemetry-python/issues/3560 https://github.com/open-telemetry/opentelemetry-python/issues/3597 https://github.com/open-telemetry/opentelemetry-python/issues/3370

jeremydvoss avatar Jan 05 '24 23:01 jeremydvoss

If CI is passing I think we should add it. I think @ocelotl discussed this in one SIG but don't remember the outcome of that discussion

aabmass avatar Jan 08 '24 15:01 aabmass

@aabmass

I believe we discussed to drop 3.7 alongside supporting 3.12 because we wanted to limit the number of versions we support. I added a note in order agenda for the next Python SIG to discuss this again.

lzchen avatar Jan 08 '24 17:01 lzchen

I would like to see this sooner than later. Will be moving forward without OpenTelemetry until this is added. Appreciate the effort, thanks.

symnatbay avatar Feb 12 '24 19:02 symnatbay

:+1: to accellerating the timescale on this ... this will be a blocker to rolling out opentelemetry on some of our most forward thinking projects ( which is exactly where we want it most)

matt-mercer avatar Mar 05 '24 09:03 matt-mercer

What are the blockers here? I would love to help push this across the line.

trevorriles avatar Apr 02 '24 21:04 trevorriles

We add support for new Python versions no later than 3 months after they become stable. erm.... Release Date: Oct. 2, 2023

elebiodaslingshot avatar Apr 19 '24 17:04 elebiodaslingshot

Sorry for the delay, @jeremydvoss I have fixed the conflicts in #3616 but it is a draft PR right now, is it ready?

ocelotl avatar Apr 19 '24 19:04 ocelotl

https://github.com/microsoft/ApplicationInsights-Python/pull/318

y2kbugger avatar May 09 '24 02:05 y2kbugger

Python 3.12 support has been merged.

xrmx avatar Jun 24 '24 11:06 xrmx