python-websockets in Jammy isn't entirely compatible with Python 3.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
websockets |
Fix Released
|
Unknown
|
|||
python-websockets (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
While investigating something else (https:/
# cat > ws-server.py << __EOF__
#!/usr/bin/env python3
import asyncio
import websockets
async def handle(websocket):
async for message in websocket:
await websocket.
async def main():
async with websockets.
await asyncio.Future()
asyncio.run(main())
__EOF__
# python3 ws-server.py
In another terminal:
# python3 -m websockets ws://localhost:8765
Failed to connect to ws://localhost:
# apt policy python3-websockets
python3-websockets:
Installed: 9.1-1
Candidate: 9.1-1
Version table:
*** 9.1-1 500
500 http://
100 /var/lib/
Changed in websockets: | |
status: | Unknown → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.