- Update to 0.17.2
* Require typing-extensions on Python<3.8 only. #269
* Fix a regression in tests collection introduced by 0.17.1, the
plugin works fine with non-python tests again. #267
- Release notes for 0.17.1
* Fixes a bug that prevents async Hypothesis tests from working
without explicit asyncio marker when --asyncio-mode=auto is
set. #258
* Fixed a bug that closes the default event loop if the loop
doesn't exist #257
* Added type annotations. #198
* Show asyncio mode in pytest report headers. #266
* Relax asyncio_mode type definition; it allows to support pytest
6.1+. #262
- Release notes for 0.17.0
* pytest-asyncio no longer alters existing event loop policies.
#168, #188
* Drop support for Python 3.6
* Fixed an issue when pytest-asyncio was used in combination with
flaky or inherited asynchronous Hypothesis tests. #178#231
* Added flaky to test dependencies
* Added unused_udp_port and unused_udp_port_factory fixtures
(similar to unused_tcp_port and unused_tcp_port_factory
counterparts. #99
* Added the plugin modes: strict, auto, and legacy. See
documentation for details. #125
* Correctly process KeyboardInterrupt during async fixture setup
phase #219
OBS-URL: https://build.opensuse.org/request/show/947728
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=17
This should fix Staging:F . Or said in another way, it should
fix python-fakeredis failing with:
[ 59s] _______________________________ test_ping[fake] ________________________________
[ 59s]
[ 59s] r = <async_generator._impl.AsyncGenerator object at 0x7f60c4ede6d8>
[ 59s]
[ 59s] async def test_ping(r):
[ 59s] > pong = await r.ping()
[ 59s] E AttributeError: 'AsyncGenerator' object has no attribute 'ping'
[ 59s]
[ 59s] test/test_aioredis.py:45: AttributeError
...
- Add patch to revert a change in 0.15.1 that removed
async_generator support in upstream together with python 3.5
support. This revert is needed by python-fakeredis 1.5.2
* 0001-removed-support-for-python-3.5.patch
OBS-URL: https://build.opensuse.org/request/show/904059
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=15