TypeError: As of 3.10, the *loop* parameter was removed from Event() since it is no longer necessary
While I know 3.10 isn't 'officially' supported based on the classifiers, users running F35 (and now Arch) with the default installation of python will hit this. A sufficient workaround is to use <3.10.
❯ vl up
Traceback (most recent call last):
File "/home/jbpratt/.local/bin/vl", line 8, in <module>
sys.exit(main())
File "/home/jbpratt/.local/lib/python3.10/site-packages/virt_lightning/shell.py", line 362, in main
action_func(configuration=configuration, **vars(args))
File "/home/jbpratt/.local/lib/python3.10/site-packages/virt_lightning/api.py", line 168, in up
_register_aio_virt_impl(loop)
File "/home/jbpratt/.local/lib/python3.10/site-packages/virt_lightning/api.py", line 68, in _register_aio_virt_impl
libvirtaio.virEventRegisterAsyncIOImpl(loop=loop)
File "/home/jbpratt/.local/lib/python3.10/site-packages/libvirtaio.py", line 462, in virEventRegisterAsyncIOImpl
_current_impl = virEventAsyncIOImpl(loop=loop).register()
File "/home/jbpratt/.local/lib/python3.10/site-packages/libvirtaio.py", line 277, in __init__
self._finished = asyncio.Event(loop=loop)
File "/usr/lib/python3.10/asyncio/locks.py", line 167, 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 Event() since it is no longer necessary