Pytest-asyncio

Latest version: v0.24.0

Safety actively analyzes 685838 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 10

0.8.0

~~~~~~~~~~~~~~~~~~
- Improve integration with other packages (like aiohttp) with more careful event loop handling.
`64 <https://github.com/pytest-dev/pytest-asyncio/pull/64>`_

0.7.0

~~~~~~~~~~~~~~~~~~
- Python versions pre-3.6 can use the async_generator library for async fixtures.
`62 <https://github.com/pytest-dev/pytest-asyncio/pull/62>`

0.6.0

~~~~~~~~~~~~~~~~~~
- Support for Python versions pre-3.5 has been dropped.
- ``pytestmark`` now works on both module and class level.
- The ``forbid_global_loop`` parameter has been removed.
- Support for async and async gen fixtures has been added.
`45 <https://github.com/pytest-dev/pytest-asyncio/pull/45>`_
- The deprecation warning regarding ``asyncio.async()`` has been fixed.
`51 <https://github.com/pytest-dev/pytest-asyncio/pull/51>`_

0.5.0

~~~~~~~~~~~~~~~~~~
- Introduced a changelog.
`31 <https://github.com/pytest-dev/pytest-asyncio/issues/31>`_
- The ``event_loop`` fixture is again responsible for closing itself.
This makes the fixture slightly harder to correctly override, but enables
other fixtures to depend on it correctly.
`30 <https://github.com/pytest-dev/pytest-asyncio/issues/30>`_
- Deal with the event loop policy by wrapping a special pytest hook,
``pytest_fixture_setup``. This allows setting the policy before fixtures
dependent on the ``event_loop`` fixture run, thus allowing them to take
advantage of the ``forbid_global_loop`` parameter. As a consequence of this,
we now depend on pytest 3.0.
`29 <https://github.com/pytest-dev/pytest-asyncio/issues/29>`_

0.4.1

~~~~~~~~~~~~~~~~~~
- Fix a bug preventing the propagation of exceptions from the plugin.
`25 <https://github.com/pytest-dev/pytest-asyncio/issues/25>`_

0.4.0

~~~~~~~~~~~~~~~~~~
- Make ``event_loop`` fixtures simpler to override by closing them in the
plugin, instead of directly in the fixture.
`21 <https://github.com/pytest-dev/pytest-asyncio/pull/21>`_
- Introduce the ``forbid_global_loop`` parameter.
`21 <https://github.com/pytest-dev/pytest-asyncio/pull/21>`_

Page 9 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.