On 2/20/26 5:22 PM, Andrej Shadura wrote:
Control: reassign -1 src:sentry-python

Hello,

On Fri, 20 Feb 2026, at 17:15, Gena Byers wrote:
On 2/20/26 4:54 PM, Andrej Shadura wrote:
Can you give me more details please?
I don’t see any mentions of this anywhere in the source.

I don't know what the exact mechanism is but installing python3-eventlet
renders matrix-synapse inoperable:

"/usr/lib/python3/dist-packages/sentry_sdk/utils.py", line 1346, in
_get_contextvars
Feb 20 16:59:17 nexus python3[2979902]:     if not _is_contextvars_broken():
Feb 20 16:59:17 nexus python3[2979902]:            ~~~~~~~~~~~~~~~~~~~~~~^^
Feb 20 16:59:17 nexus python3[2979902]:   File
"/usr/lib/python3/dist-packages/sentry_sdk/utils.py", line 1287, in
_is_contextvars_broken
Feb 20 16:59:17 nexus python3[2979902]:     from eventlet.patcher import
is_monkey_patched  # type: ignore

Looks like something in the sentry SDK (which I think you should have mentioned 
you enabled).

I do have python3-sentry-sdk installed because it's a dependency of an unrelated package but I have no idea what that is or what I did to "enable" it. Removing python3-sentry-sdk makes matrix-synapse work again even with python3-eventlet installed so I guess both have to be installed to trigger it.

Reply via email to