Fix issue where deadlock can occur over logging._lock by DylanRussell · Pull Request #4636 · open-telemetry/opentelemetry-python

@DylanRussell

@DylanRussell

@DylanRussell

@DylanRussell

…elemetry-python into fix_deadlock_attempt2

@DylanRussell

pmcollins

xrmx

@DylanRussell

@DylanRussell

tammy-baylis-swi

aabmass

@DylanRussell

@DylanRussell

mxiamxia pushed a commit to aws-observability/aws-otel-python-instrumentation that referenced this pull request

Oct 30, 2025
…58b0 (#524)

This PR updates the upstream OpenTelemetry Python dependency to its
September 2025 release; Upgrading from version 1.33.1/0.54b1 to
1.37.0/0.58b0.

It also resolves several conflicts between the following OTel PRs and
existing ADOT patches:

starlette: Remove maximum version constraint  

open-telemetry/opentelemetry-python-contrib#3456

Make a BatchProcessor class which both BatchSpanRecordProcessor and
BatchLogRecordProcessor can use
open-telemetry/opentelemetry-python#4562

Make exporter timeout encompass retries/backoffs, add jitter to
backoffs, cleanup code a bit
open-telemetry/opentelemetry-python#4564

Update BatchSpanProcessor to use new BatchProcessor class 
open-telemetry/opentelemetry-python#4580

Fix issue where deadlock can occur over logging._lock 
open-telemetry/opentelemetry-python#4636

Tests Performed

tox -e lint
tox -e spellcheck
tox -e 3.9-test-aws-opentelemetry-distro
tox -e 3.10-test-aws-opentelemetry-distro
tox -e 3.11-test-aws-opentelemetry-distro
tox -e 3.12-test-aws-opentelemetry-distro
tox -e 3.13-test-aws-opentelemetry-distro

Smoke/contract tests: ./gradlew
appsignals-tests:contract-tests:contractTests

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.

JWinermaSplunk pushed a commit to JWinermaSplunk/opentelemetry-python that referenced this pull request

Feb 17, 2026
…#4636)

* Fix deadlock bug

* Overwrite logging config functions with patched versions..

* Some change

* Run precommit

* change emit to on_emit

* Fix lint issues

* Add changelog

* Get rid of test that may deadlock and flushOnClose approach

* Run precommit

* Respond to comments on PR

* Respond to review comments..

* Add comment

* Fix tests, add comment

JWinermaSplunk pushed a commit to JWinermaSplunk/opentelemetry-python that referenced this pull request

Feb 17, 2026
…#4636)

* Fix deadlock bug

* Overwrite logging config functions with patched versions..

* Some change

* Run precommit

* change emit to on_emit

* Fix lint issues

* Add changelog

* Get rid of test that may deadlock and flushOnClose approach

* Run precommit

* Respond to comments on PR

* Respond to review comments..

* Add comment

* Fix tests, add comment