Created attachment 853146 [details] dev-python:starlette-0.25.0:20230220-015100.log =dev-python/starlette-0.25.0 (and also 0.24.0 and 0.23.1) fails its test phase for me: =========================================================== short test summary info =========================================================== SKIPPED [2] tests/test_requests.py:40: urllib3 includes "br" to the "accept-encoding" headers. SKIPPED [2] tests/test_websockets.py:53: urllib3 includes "br" to the "accept-encoding" headers. XFAIL tests/middleware/test_base.py::test_contextvars[asyncio-CustomMiddlewareUsingBaseHTTPMiddleware] - BaseHTTPMiddleware creates a TaskGroup which copies the contextand erases any changes to it made within the TaskGroup XFAIL tests/middleware/test_base.py::test_contextvars[trio-CustomMiddlewareUsingBaseHTTPMiddleware] - BaseHTTPMiddleware creates a TaskGroup which copies the contextand erases any changes to it made within the TaskGroup FAILED tests/test_responses.py::test_streaming_response_stops_if_receiving_http_disconnect - RuntimeError: There is no current event loop in thread 'MainThread'. FAILED tests/middleware/test_base.py::test_run_background_tasks_even_if_client_disconnects - RuntimeError: There is no current event loop in thread 'MainThread'. FAILED tests/middleware/test_base.py::test_run_context_manager_exit_even_if_client_disconnects - RuntimeError: There is no current event loop in thread 'MainThread'. ===================================== 3 failed, 657 passed, 4 skipped, 2 xfailed, 2829 warnings in 13.74s ===================================== (I see that this is the same error as I noted in the dev-python/uvicorn test suite in bug #895486.)
Created attachment 853148 [details] emerge-info.txt