Changelog:
============
-Declare compatibility with pytest 8
-Fix typing errors with recent versions of mypy
-Prevent DeprecationWarning about internal use of asyncio.get_event_loop() from affecting test cases
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>