- update to 1.2.0:

* --asyncio-debug CLI option and asyncio_debug configuration
    option to enable asyncio debug mode for the default event
    loop.
  * A pytest.UsageError for invalid configuration values of
    asyncio_default_fixture_loop_scope and
    asyncio_default_test_loop_scope.
  * Compatibility with the Pyright type checker
  * RuntimeError: There is no current event loop in thread
    'MainThread' when any test unsets the event loop (such as
    when using asyncio.run and asyncio.Runner).
  * Deprecation warning when decorating an asynchronous fixture
    with @pytest.fixture in strict mode. The warning message now
    refers to the correct package.
  * Bump the minimum required version of tox to v4.28. This
    change is only relevant if you use the tox.ini file provided
    by pytest-asyncio to run tests.
  * Extend dependency on typing-extensions>=4.12 from Python<3.10
    to Python<3.13.
  * Propagation of ContextVars from async fixtures to other
    fixtures and tests on Python 3.10 and older
  * Cancellation of tasks when the loop_scope ends
  * Warning when the current event loop is closed by a test
  * Error about missing loop when calling functions requiring a
    loop in the finally clause of a task
  * An error that could cause duplicate warnings to be issued
  * Added runtime dependency on backports.asyncio.runner for use
    with Python 3.10 and older
- drop pytest84.patch (upstream)
  * Deprecates the optional scope keyword argument to pytest.mark.asyncio

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=59
This commit is contained in:
2025-09-13 09:47:58 +00:00
committed by Git OBS Bridge
parent c9b0864e42
commit 29aa58b7fb
5 changed files with 44 additions and 87 deletions

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Sat Sep 13 09:39:08 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 1.2.0:
* --asyncio-debug CLI option and asyncio_debug configuration
option to enable asyncio debug mode for the default event
loop.
* A pytest.UsageError for invalid configuration values of
asyncio_default_fixture_loop_scope and
asyncio_default_test_loop_scope.
* Compatibility with the Pyright type checker
* RuntimeError: There is no current event loop in thread
'MainThread' when any test unsets the event loop (such as
when using asyncio.run and asyncio.Runner).
* Deprecation warning when decorating an asynchronous fixture
with @pytest.fixture in strict mode. The warning message now
refers to the correct package.
* Bump the minimum required version of tox to v4.28. This
change is only relevant if you use the tox.ini file provided
by pytest-asyncio to run tests.
* Extend dependency on typing-extensions>=4.12 from Python<3.10
to Python<3.13.
* Propagation of ContextVars from async fixtures to other
fixtures and tests on Python 3.10 and older
* Cancellation of tasks when the loop_scope ends
* Warning when the current event loop is closed by a test
* Error about missing loop when calling functions requiring a
loop in the finally clause of a task
* An error that could cause duplicate warnings to be issued
* Added runtime dependency on backports.asyncio.runner for use
with Python 3.10 and older
- drop pytest84.patch (upstream)
-------------------------------------------------------------------
Fri Jun 20 12:27:13 UTC 2025 - Markéta Machová <mmachova@suse.com>
@@ -94,9 +127,9 @@ Tue Oct 8 15:42:52 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Update to 0.24.0
* BREAKING: Updated minimum supported pytest version to v8.2.0
* Adds an optional loop_scope keyword argument to pytest.mark.asyncio.
* Deprecates the optional scope keyword argument to pytest.mark.asyncio
* Deprecates the optional scope keyword argument to pytest.mark.asyncio
for API consistency with pytest_asyncio.fixture.
* Fixes a bug that caused module-scoped async fixtures to fail when
* Fixes a bug that caused module-scoped async fixtures to fail when
reused in other modules
* Fixes a bug that caused duplicate markers in async tests
* Declare support for Python 3.13