Package: caio / 0.9.24-1

Metadata

Package Version Patches format
caio 0.9.24-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
tests aiomisc.patch | (download)

tests/test_asyncio_adapter.py | 45 41 + 4 - 0 !
1 file changed, 41 insertions(+), 4 deletions(-)

 bundle `timeout` method from aiomisc package
 aiomisc package is missing in Debian and we need only
 single method for tests.
conftest.patch | (download)

tests/conftest.py | 13 13 + 0 - 0 !
1 file changed, 13 insertions(+)

 restore conftest.py file
pytest asyncio event loop.patch | (download)

tests/test_asyncio_adapter.py | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 [patch] do not use `event_loop` fixture in the
 asyncio_exception_handler test

PytestDeprecationWarning: asyncio_exception_handler is asynchronous and
explicitly requests the "event_loop" fixture. Asynchronous fixtures and
test functions should use "asyncio.get_running_loop()" instead.

Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org>
asyncio_loop_scope.patch | (download)

pyproject.toml | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 [patch] set explicit asyncio_default_fixture_loop_scope pytest option

PytestDeprecationWarning: The configuration option
"asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture
caching scope. Future versions of pytest-asyncio will default the loop
scope for asynchronous fixtures to function scope. Set the default fixture
loop scope explicitly in order to avoid unexpected behavior in the future.