Vasili Korol
Vasili Korol
I agree, but I can also imagine other middleware triggering this issue, which, btw, can be quite a pain to debug. Maybe `django-rules` can act smartly to prevent such problems?
I've bumped into this, too. The `STDERR` output is shown in `pytest`'s output in the "Captured stderr call", but `capsys` does not seem to have captured it. ``` platform linux...
This does not seem to be an issue anymore with `sentry-sdk==2.13.0`. Closing.
I can confirm that `CPUCOUNT=1` fixes the issue when using the Debian-based Docker image for Python: ```dockerfile FROM python:3.12-bullseye as build ENV PYTHONUNBUFFERED=1 \ PYROOT=/pyroot \ PROJECT_DIR=/code ENV PYTHONUSERBASE=$PYROOT \...