[Bug 1969902] [NEW] Update to 10.x

Launchpad Bug Tracker 1969902 at bugs.launchpad.net
Mon Jan 16 10:03:02 UTC 2023


You have been subscribed to a public bug by Bastian Germann (bastian-germann):

Currently we have python3-websockets version 9.1 in jammy's repo, which doesn't work with python3 version 3.10. 
This is part of the log:
❯  python3 /tmp/pyext.py ws://127.0.0.1:10000
Traceback (most recent call last):
  File "/tmp/pyext.py", line 103, in <module>
    asyncio.run(connect(args['url']))
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
    return future.result()
  File "/tmp/pyext.py", line 88, in connect
    async with websockets.connect(uri) as websocket:
  File "/home/zwq/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/tmp/lib/python3.10/site-packages/websockets/legacy/client.py", line 604, in __aenter__
    return await self
  File "/home/zwq/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/tmp/lib/python3.10/site-packages/websockets/legacy/client.py", line 622, in __await_impl__
    transport, protocol = await self._create_connection()
  File "/usr/lib/python3.10/asyncio/base_events.py", line 1089, in create_connection
    transport, protocol = await self._create_connection_transport(
  File "/usr/lib/python3.10/asyncio/base_events.py", line 1107, in _create_connection_transport
    protocol = protocol_factory()
  File "/home/zwq/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/tmp/lib/python3.10/site-packages/websockets/legacy/client.py", line 160, in __init__
    super().__init__(**kwargs)
  File "/home/zwq/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/tmp/lib/python3.10/site-packages/websockets/legacy/protocol.py", line 154, in __init__
    self._drain_lock = asyncio.Lock(
  File "/usr/lib/python3.10/asyncio/locks.py", line 78, in __init__
    super().__init__(loop=loop)
  File "/usr/lib/python3.10/asyncio/mixins.py", line 17, in __init__
    raise TypeError(
TypeError: As of 3.10, the *loop* parameter was removed from Lock() since it is no longer necessary

Today python3-websockets version 10.2 has been migrated into Debian's
testing repo (https://tracker.debian.org/news/1320190/python-
websockets-102-1-migrated-to-testing/). Maybe we should update the
package to fix the problem.

** Affects: rtpengine
     Importance: Unknown
         Status: Fix Released

** Affects: python-websockets (Ubuntu)
     Importance: Undecided
         Status: Fix Released

-- 
Update to 10.x
https://bugs.launchpad.net/bugs/1969902
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list