Skip to content

Upgrading pytest-asyncio 0.17 to 0.18

Breaking0.17.2 → 0.18.3Breaking2Platform6New9Changed13Fixed9Other2

BreakingUpgrade verdict

2 breaking changes and 6 platform requirement changes.

  • The forbid_global_loop option no longer exists.
  • The process pool fixture and marker are gone; use the standard asyncio equivalents instead.
  • The plugin now works on Python 3.9.
  • The plugin now works on Python 3.7.
Top 5 of 8 that need code or config changes
Breaking2
Removes the forbid_global_loop parameter.
forbid_global_loop
Removes the event_loop_process_pool fixture and pytest.mark.asyncio_process_pool marker.
event_loop_process_poolpytest.mark.asyncio_process_pool
Platform6
Adds support for Python 3.9.
Adds Python 3.7 support.
Abandons support for Python 3.5; users needing Python 3.5 should use pytest-asyncio v0.14 or earlier.
Adds Python 3.7 support.
Adds Python 3.7 support.
Drops support for Python versions pre-3.5.