Summary: | dev-python/uvicorn-0.20.0 fails tests: "RuntimeError: There is no current event loop in thread 'MainThread'." | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jonathan Lovelace <kingjon3377> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | Keywords: | TESTFAILURE |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=895488 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
dev-python:uvicorn-0.20.0:20230219-204127.log
emerge-info.txt |
Created attachment 853142 [details]
emerge-info.txt
|
Created attachment 853140 [details] dev-python:uvicorn-0.20.0:20230219-204127.log On rebuilding because of the removal of the python_targets_python3_8 USE flag, =dev-python/uvicorn-0.20.0 fails its test phase with numerous errors. Version 0.19.0 also fails; however, version 0.20.0 passed its tests fine when it was last built in December. Here's the last several lines of the "short test summary" from the build log: FAILED tests/protocols/test_websocket.py::test_subprotocols[proto1-H11Protocol-WSProtocol] - RuntimeError: There is no current event loop in... FAILED tests/protocols/test_websocket.py::test_subprotocols[proto1-H11Protocol-WebSocketProtocol] - RuntimeError: There is no current event ... FAILED tests/protocols/test_websocket.py::test_subprotocols[proto2-H11Protocol-WSProtocol] - RuntimeError: There is no current event loop in... FAILED tests/protocols/test_websocket.py::test_subprotocols[proto2-H11Protocol-WebSocketProtocol] - RuntimeError: There is no current event ... FAILED tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default[max=defaults sent=defaults-H11Protocol-WebSocketProtocol] FAILED tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default[max=defaults sent=defaults+1-H11Protocol-WebSocketProtocol] FAILED tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default[max=10 sent=10-H11Protocol-WebSocketProtocol] FAILED tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default[max=10 sent=11-H11Protocol-WebSocketProtocol] FAILED tests/protocols/test_websocket.py::test_server_reject_connection[H11Protocol-WSProtocol] - RuntimeError: There is no current event lo... FAILED tests/protocols/test_websocket.py::test_server_reject_connection[H11Protocol-WebSocketProtocol] - RuntimeError: There is no current e... FAILED tests/protocols/test_websocket.py::test_server_can_read_messages_in_buffer_after_close[H11Protocol-WSProtocol] - RuntimeError: There ... FAILED tests/protocols/test_websocket.py::test_server_can_read_messages_in_buffer_after_close[H11Protocol-WebSocketProtocol] - RuntimeError:... FAILED tests/protocols/test_websocket.py::test_default_server_headers[H11Protocol-WSProtocol] - RuntimeError: There is no current event loop... FAILED tests/protocols/test_websocket.py::test_default_server_headers[H11Protocol-WebSocketProtocol] - RuntimeError: There is no current eve... FAILED tests/protocols/test_websocket.py::test_no_server_headers[H11Protocol-WSProtocol] - RuntimeError: There is no current event loop in t... FAILED tests/protocols/test_websocket.py::test_no_server_headers[H11Protocol-WebSocketProtocol] - RuntimeError: There is no current event lo... FAILED tests/protocols/test_websocket.py::test_no_date_header[H11Protocol-WSProtocol] - RuntimeError: There is no current event loop in thre... FAILED tests/protocols/test_websocket.py::test_multiple_server_header[H11Protocol-WSProtocol] - RuntimeError: There is no current event loop... FAILED tests/protocols/test_websocket.py::test_multiple_server_header[H11Protocol-WebSocketProtocol] - RuntimeError: There is no current eve... ===================================== 180 failed, 97 passed, 2 skipped, 3 deselected, 1 warning in 10.49s =====================================