d937cf86bd- update to 0.26.0: * Adds configuration option that sets default event loop scope for all tests #793 * Improved type annotations for pytest_asyncio.fixture #1045 * Added typing-extensions as additional dependency for Python <3.10 #1045
devel
Dirk Mueller2025-04-28 14:19:50 +00:00
0d097c0969Accepting request 1250596 from devel:languages:python:pytestAna Guerrero2025-03-06 13:48:07 +00:00
24efb77e1aAccepting request 1227110 from devel:languages:python:pytestAna Guerrero2024-11-28 21:42:35 +00:00
b1d5daabf2Accepting request 1206345 from home:mcalabkova:branches:devel:languages:pythonDirk Mueller2024-10-09 05:30:01 +00:00
47fc0b7465Accepting request 1186442 from devel:languages:python:pytestAna Guerrero2024-07-10 14:48:00 +00:00
4ad6649829- Add duplicated-markers.patch to fix some testsuites broken by that issue.Matej Cepl2024-07-09 15:33:36 +00:00
5e476c6c7cAccepting request 1179085 from devel:languages:python:pytestAna Guerrero2024-06-07 13:01:51 +00:00
aeb873394b- update to 0.23.7: * Silence deprecation warnings about unclosed event loops that occurred with certain CPython patch releasesDirk Mueller2024-06-06 20:27:05 +00:00
48d227f89eAccepting request 1160433 from devel:languages:python:pytestAna Guerrero2024-03-26 18:24:21 +00:00
93c6c9b047- update to 0.23.6: * compatibiltiy with pytest 8.2Dirk Mueller2024-03-21 17:04:54 +00:00
4f724d43caAccepting request 1158427 from devel:languages:python:pytestAna Guerrero2024-03-18 15:44:07 +00:00
b90a05e029- update to 0.23.5.post1: * Declare compatibility with pytest 8 * Fix typing errors with recent versions of mypy #769 * Prevent DeprecationWarning about internal use of asyncio.get_event_loop() from affecting test cases #757Dirk Mueller2024-03-16 09:46:58 +00:00
0220ff5e29- update to 0.23.3: * Fixes a bug that caused event loops to be closed prematurely when using async generator fixtures with class scope or wider in a function-scoped test #706 * Fixes various bugs that caused an internal pytest error during test collection #711#713#719 * Fixes a bug that caused an internal pytest error when collecting .txt files * Fixes a bug that caused an internal pytest error when using module-level skips #701 This release is backwards-compatible with v0.21. Changes are non-breaking, unless you upgrade from v0.22. * BREAKING: The asyncio_event_loop mark has been removed. Event loops with class, module, package, and session scopes can be requested via the scope keyword argument to the _asyncio_ mark. - Introduces the event_loop_policy fixture which allows testing with non-default or multiple event loops * Introduces pytest_asyncio.is_async_test which returns whether a test item is managed by pytest-asyncio * Removes and pytest trio, mypy, and flaky from the test dependencies * Deprecate redefinition of the event_loop fixture. #587 Users requiring a class-scoped or module-scoped asyncio event loop for their tests should mark the corresponding class or module with asyncio_event_loop. * Test items based on asynchronous generators always exit with xfail status and emit a warning during the collection phase. This behavior is consistent with synchronous yield tests. #642Dirk Mueller2024-01-02 12:15:19 +00:00
06a166d79cAccepting request 1124081 from devel:languages:python:pytestAna Guerrero2023-11-08 21:17:08 +00:00
de06afb400- remove unnecessary dependency on async_generator * Prevent DeprecationWarning to bubble up on CPython 3.10.9 and 3.11.1. #460 - Inject multibuild to defeat a build loop - Initial release of python-pytest-asyncio 0.8.0Dirk Mueller2023-11-07 19:34:54 +00:00
25b861864fAccepting request 1118228 from devel:languages:python:pytestAna Guerrero2023-10-19 20:47:10 +00:00
c473b19c6dAccepting request 1118224 from home:mcalabkova:branches:devel:languages:python:pytestMarkéta Machová2023-10-17 08:39:29 +00:00
5fba09db8bAccepting request 1100438 from devel:languages:python:pytestAna Guerrero2023-07-26 11:21:39 +00:00
ccb9fb7558- update to 0.21.1: * Output a proper error message when an invalid `asyncio_mode` is selected. * Extend warning message about unclosed event loops with additional possible cause. * Previously, some tests reported "skipped" or "xfailed" as a result. Now all tests report a "success" result.Dirk Mueller2023-07-24 18:40:37 +00:00
1aeefd231a- update to 0.21.0: * Drop compatibility with pytest 6.1. Pytest-asyncio now depends on pytest 7.0 or newer. * pytest-asyncio cleans up any stale event loops when setting up and tearing down the event_loop fixture.Dirk Mueller2023-05-04 22:37:45 +00:00
9d1155bcb0- Update to 0.20.3: * Prevent DeprecationWarning to bubble up on CPython 3.10.9 and 3.11.1. #460Daniel Garcia2022-12-09 11:11:54 +00:00
e0498efb8d- Update to 0.20.2: * Fixes an issue with async fixtures that are defined as methods on a test class not being rebound to the actual test instance. #197 * Replaced usage of deprecated @pytest.mark.tryfirst with @pytest.hookimpl(tryfirst=True) #438 - 0.20.1 (22-10-21) * Fixes an issue that warned about using an old version of pytest, even though the most recent version was installed. #430 - 0.20.0 (22-10-21) * BREAKING: Removed legacy mode. If you're upgrading from v0.19 and you haven't configured asyncio_mode = legacy, you can upgrade without taking any additional action. If you're upgrading from an earlier version or you have explicitly enabled legacy mode, you need to switch to auto or strict mode before upgrading to this version. * Deprecate use of pytest v6. * Fixed an issue which prevented fixture setup from being cached. #404Daniel Garcia2022-11-30 07:15:50 +00:00