Skip to content

Commit ca63eba

Browse files
Bump pytest-asyncio from 0.21.1 to 0.26.0 (#337)
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.21.1 to 0.26.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-asyncio/releases">pytest-asyncio's releases</a>.</em></p> <blockquote> <h2>pytest-asyncio 0.26.0</h2> <ul> <li>Adds configuration option that sets default event loop scope for all tests <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/793">#793</a></li> <li>Improved type annotations for <code>pytest_asyncio.fixture</code> <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/1045">#1045</a></li> <li>Added <code>typing-extensions</code> as additional dependency for Python <code>&lt;3.10</code> <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/1045">#1045</a></li> </ul> <h2>pytest-asyncio 0.25.3</h2> <ul> <li>Avoid errors in cleanup of async generators when event loop is already closed <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/1040">#1040</a></li> </ul> <h2>pytest-asyncio 0.25.2</h2> <ul> <li>Call <code>loop.shutdown_asyncgens()</code> before closing the event loop to ensure async generators are closed in the same manner as <code>asyncio.run</code> does <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/1034">#1034</a></li> </ul> <h2>pytest-asyncio 0.25.1</h2> <ul> <li>Fixes an issue that caused a broken event loop when a function-scoped test was executed in between two tests with wider loop scope <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/950">#950</a></li> <li>Improves test collection speed in auto mode <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/1020">#1020</a></li> <li>Corrects the warning that is emitted upon redefining the event_loop fixture</li> </ul> <h2>pytest-asyncio 0.25.0</h2> <h1>0.25.0 (2024-12-13)</h1> <ul> <li>Deprecated: Added warning when asyncio test requests async <code>@pytest.fixture</code> in strict mode. This will become an error in a future version of flake8-asyncio. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/979">#979</a></li> <li>Updates the error message about <em>pytest.mark.asyncio</em>'s <em>scope</em> keyword argument to say <em>loop_scope</em> instead. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/1004">#1004</a></li> <li>Verbose log displays correct parameter name: asyncio_default_fixture_loop_scope <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/990">#990</a></li> <li>Propagates <em>contextvars</em> set in async fixtures to other fixtures and tests on Python 3.11 and above. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/1008">#1008</a></li> </ul> <h2>pytest-asyncio 0.24.0</h2> <h1>0.24.0 (2024-08-22)</h1> <ul> <li>BREAKING: Updated minimum supported pytest version to v8.2.0</li> <li>Adds an optional <em>loop_scope</em> keyword argument to <em>pytest.mark.asyncio</em>. This argument controls which event loop is used to run the marked async test. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>, <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/871">#871</a></li> <li>Deprecates the optional <em>scope</em> keyword argument to <em>pytest.mark.asyncio</em> for API consistency with <code>pytest_asyncio.fixture</code>. Users are encouraged to use the <em>loop_scope</em> keyword argument, which does exactly the same.</li> <li>Raises an error when passing <em>scope</em> or <em>loop_scope</em> as a positional argument to <code>@pytest.mark.asyncio</code>. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/812">#812</a></li> <li>Fixes a bug that caused module-scoped async fixtures to fail when reused in other modules <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/862">#862</a> <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/668">#668</a></li> </ul> <h2>pytest-asyncio 0.24.0a1</h2> <h1>0.24.0 (UNRELEASED)</h1> <ul> <li>BREAKING: Updated minimum supported pytest version to v8.2.0</li> <li>Adds an optional <em>loop_scope</em> keyword argument to <em>pytest.mark.asyncio</em>. This argument controls which event loop is used to run the marked async test. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>, <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/871">#871</a></li> <li>Deprecates the optional <em>scope</em> keyword argument to <em>pytest.mark.asyncio</em> for API consistency with <code>pytest_asyncio.fixture</code>. Users are encouraged to use the <em>loop_scope</em> keyword argument, which does exactly the same.</li> <li>Raises an error when passing <em>scope</em> or <em>loop_scope</em> as a positional argument to <code>@pytest.mark.asyncio</code>. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/812">#812</a></li> <li>Fixes a bug that caused module-scoped async fixtures to fail when reused in other modules <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/862">#862</a> <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/668">#668</a></li> </ul> <h2>pytest-asyncio 0.24.0a0</h2> <h1>0.24.0 (UNRELEASED)</h1> <ul> <li>Adds an optional <em>loop_scope</em> keyword argument to <em>pytest.mark.asyncio</em>. This argument controls which event loop is used to run the marked async test. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>, <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/871">#871</a></li> <li>Deprecates the optional <em>scope</em> keyword argument to <em>pytest.mark.asyncio</em> for API consistency with <code>pytest_asyncio.fixture</code>. Users are encouraged to use the <em>loop_scope</em> keyword argument, which does exactly the same.</li> <li>Raises an error when passing <em>scope</em> or <em>loop_scope</em> as a positional argument to <code>@pytest.mark.asyncio</code>. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/812">#812</a></li> </ul> <h2>pytest-asyncio 0.23.8</h2> <h1>0.23.8 (2024-07-17)</h1> <ul> <li>Fixes a bug that caused duplicate markers in async tests <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/813">#813</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/4f8ce457b0a52eba1233349e740ca9e7fb400804"><code>4f8ce45</code></a> docs: Prepare release of v0.26.0.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/498e8a7786b85027bd8e9992f8af6a05a90e3786"><code>498e8a7</code></a> Build(deps): Bump attrs from 25.1.0 to 25.3.0 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/01c22ffb63f3bdd158b7d35bd14f8a45ba35338e"><code>01c22ff</code></a> build: Update project metadata to use SPDX license identifier</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/78191c98ed4792cd9352bfff0885cc041ee2b1ed"><code>78191c9</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/9a455516ea423fd29c3f45878713ca1715b899e6"><code>9a45551</code></a> Build(deps): Bump hypothesis in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/66804094397afc7b4c905c113209a89e4df7a3d5"><code>6680409</code></a> Build(deps): Bump coverage from 7.7.0 to 7.7.1 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/aa82c574feae8611170150222b41bd4c1e72855d"><code>aa82c57</code></a> Build(deps): Bump iniconfig from 2.0.0 to 2.1.0 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/cca587ea4f2c09b1b25b56cb4a22c44677cf27fc"><code>cca587e</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/5d90b296218ef8c3d2bbafd70736bece18eeb984"><code>5d90b29</code></a> Build(deps): Bump hypothesis in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/c2622628b6ca1f2d583df375cc370070c2c0c54e"><code>c262262</code></a> Build(deps): Bump coverage from 7.6.12 to 7.7.0 in /dependencies/default</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-asyncio/compare/v0.21.1...v0.26.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-asyncio&package-manager=pip&previous-version=0.21.1&new-version=0.26.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent f6d8a6f commit ca63eba

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

poetry.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ mypy = "1.6.1"
4343
mypy-protobuf = "3.5.0"
4444
pre-commit = "4.2.0"
4545
pytest = "7.4.0"
46-
pytest-asyncio = "0.21.1"
46+
pytest-asyncio = "0.23.8"
4747
pytest-cov = "4.1.0"
4848
types-protobuf = "4.24.0.20240106"
4949
grpcio-tools = "1.66.1"

0 commit comments

Comments
 (0)