zaqar/zaqar
Takashi Kajinami 70de8c5cf4 Fix TypeError found in Python 3.12
The following traceback is seen in Pyton 3.12 + Ubuntu Noble. Update
the usage to resolve it.

ERROR zaqar.common.cli [-] Exception encountered:: TypeError: Passing coroutines is forbidden, use tasks explicitly.
ERROR zaqar.common.cli Traceback (most recent call last):
ERROR zaqar.common.cli   File "/opt/stack/zaqar/zaqar/common/cli.py", line 51, in _wrapper
ERROR zaqar.common.cli     func()
ERROR zaqar.common.cli   File "/opt/stack/zaqar/zaqar/cmd/server.py", line 87, in run
ERROR zaqar.common.cli     server.run()
ERROR zaqar.common.cli   File "/opt/stack/zaqar/zaqar/bootstrap.py", line 129, in run
ERROR zaqar.common.cli     self.transport.listen()
ERROR zaqar.common.cli   File "/opt/stack/zaqar/zaqar/transport/websocket/driver.py", line 102, in listen
ERROR zaqar.common.cli     loop.run_until_complete(asyncio.wait([coro, task]))
ERROR zaqar.common.cli   File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
ERROR zaqar.common.cli     return future.result()
ERROR zaqar.common.cli            ^^^^^^^^^^^^^^^
ERROR zaqar.common.cli   File "/usr/lib/python3.12/asyncio/tasks.py", line 461, in wait
ERROR zaqar.common.cli     raise TypeError("Passing coroutines is forbidden, use tasks explicitly.")
ERROR zaqar.common.cli TypeError: Passing coroutines is forbidden, use tasks explicitly.
ERROR zaqar.common.cli

Change-Id: Id1006f715a005dd5ed9789ba0c73d882596d3142
2024-11-23 18:26:19 +09:00
..
api Drop unicode prefix 2024-11-05 01:11:21 +00:00
bench Update json module to jsonutils 2022-03-28 09:59:26 +00:00
cmd Drop unicode prefix 2024-11-05 01:11:21 +00:00
common Merge "Fix redundant format of enable_deprecated_api_versions" 2024-11-15 21:43:43 +00:00
conf Fix redundant format of enable_deprecated_api_versions 2024-10-30 00:31:24 +09:00
extraspec Support extra specs to subscription confirming 2021-03-17 17:47:45 +08:00
hacking Update hacking for Python3 2020-04-02 10:18:47 +02:00
locale Imported Translations from Zanata 2023-12-29 04:20:18 +00:00
notification Use processutils to fix TypeError in subprocess 2023-08-21 00:09:40 +08:00
storage Drop unicode prefix 2024-11-05 01:11:21 +00:00
tests Merge "Fix redundant format of enable_deprecated_api_versions" 2024-11-15 21:43:43 +00:00
transport Fix TypeError found in Python 3.12 2024-11-23 18:26:19 +09:00
__init__.py Refactor code structure for notification 2014-12-09 16:19:42 +13:00
bootstrap.py Drop unicode prefix 2024-11-05 01:11:21 +00:00
context.py Replace deprecated arguments of RequestContext 2021-07-23 00:26:16 +09:00
i18n.py Update and optimize documentation links 2017-07-20 18:31:18 +08:00
version.py Introduce Guru to Zaqar 2017-03-09 11:00:29 +08:00