Skip to content

Commit 3146899

Browse files
Bump pytest-asyncio from 0.24.0 to 1.2.0 (#450)
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.24.0 to 1.2.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 1.2.0</h2> <h1><a href="https://github.com/pytest-dev/pytest-asyncio/tree/1.2.0">1.2.0</a> - 2025-09-12</h1> <h2>Added</h2> <ul> <li><code>--asyncio-debug</code> CLI option and <code>asyncio_debug</code> configuration option to enable asyncio debug mode for the default event loop. (<a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/980">#980</a>)</li> <li>A <code>pytest.UsageError</code> for invalid configuration values of <code>asyncio_default_fixture_loop_scope</code> and <code>asyncio_default_test_loop_scope</code>. (<a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/1189">#1189</a>)</li> <li>Compatibility with the Pyright type checker (<a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/731">#731</a>)</li> </ul> <h2>Fixed</h2> <ul> <li><code>RuntimeError: There is no current event loop in thread 'MainThread'</code> when any test unsets the event loop (such as when using <code>asyncio.run</code> and <code>asyncio.Runner</code>). (<a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/1177">#1177</a>)</li> <li>Deprecation warning when decorating an asynchronous fixture with <code>@pytest.fixture</code> in [strict]{.title-ref} mode. The warning message now refers to the correct package. (<a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/1198">#1198</a>)</li> </ul> <h2>Notes for Downstream Packagers</h2> <ul> <li>Bump the minimum required version of tox to v4.28. This change is only relevant if you use the <code>tox.ini</code> file provided by pytest-asyncio to run tests.</li> <li>Extend dependency on typing-extensions&gt;=4.12 from Python&lt;3.10 to Python&lt;3.13.</li> </ul> <h2>pytest-asyncio 1.1.1</h2> <h1><a href="https://github.com/pytest-dev/pytest-asyncio/tree/v1.1.1">v1.1.1</a> - 2025-09-12</h1> <h2>Notes for Downstream Packagers</h2> <p>- Addresses a build problem with setuptoos-scm &gt;= 9 caused by invalid setuptools-scm configuration in pytest-asyncio. (<a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/1192">#1192</a>)</p> <h2>pytest-asyncio 1.1.0</h2> <h1>Added</h1> <ul> <li>Propagation of ContextVars from async fixtures to other fixtures and tests on Python 3.10 and older (<a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/127">#127</a>)</li> <li>Cancellation of tasks when the <code>loop_scope</code> ends (<a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/200">#200</a>)</li> <li>Warning when the current event loop is closed by a test</li> </ul> <h1>Fixed</h1> <ul> <li>Error about missing loop when calling functions requiring a loop in the <code>finally</code> clause of a task (<a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/878">#878</a>)</li> <li>An error that could cause duplicate warnings to be issued</li> </ul> <h1>Notes for Downstream Packagers</h1> <ul> <li>Added runtime dependency on <a href="https://pypi.org/project/backports.asyncio.runner/">backports.asyncio.runner</a> for use with Python 3.10 and older</li> </ul> <h2>pytest-asyncio 1.1.0a1</h2> <h1><a href="https://github.com/pytest-dev/pytest-asyncio/tree/1.1.0a1">1.1.0a1</a> - 2025-06-30</h1> <h2>Added</h2> <ul> <li>Propagation of ContextVars from async fixtures to other fixtures and tests on Python 3.10 and older (<a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/127">#127</a>)</li> <li>Cancellation of tasks when the <em>loop_scope</em> ends (<a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/200">#200</a>)</li> <li>Warning when the current event loop is closed by a test</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/0d3988f5adc16e8b364266c9ecda42a36d5892ff"><code>0d3988f</code></a> ci: Create GitHub release before publishing to PyPI.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/07c5a0b3e0bb99c7592ab87ed17a4bb2966fdf6a"><code>07c5a0b</code></a> docs: Include orphaned news fragment in changelog.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/be24582b86375b761534639be6c2941d0b3f116c"><code>be24582</code></a> chore: Prepare release of v1.2.0.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/7aeb296b9f95e57c371734dcb1d3ece3f7c81727"><code>7aeb296</code></a> docs: Streamline news fragments</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/7b8311cf1d2f67931f4fd9bbbe6d9f3b09572ebb"><code>7b8311c</code></a> ci: Fixes a bug that prevented SSH signature from being stripped from release...</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/9d4c2bd8770d4073e015213373975f217d3ac8f5"><code>9d4c2bd</code></a> docs: Add changelog entry for Pyright compatibility.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/94f6106ea0c7ee716d7cf85377c653baa9cb7cd9"><code>94f6106</code></a> test: Added tests which assert that the event loop is reinstated if unset by ...</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/df61991f1805f45ab31ae2d2fb73a54ff25ccd0c"><code>df61991</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/f1f7941691ff506ab553dfd6d00b09e8213eeff7"><code>f1f7941</code></a> Build(deps): Bump pytest from 8.4.1 to 8.4.2</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/c77d3d38f7adb41f5f6ea7b002da4e0f480c5c24"><code>c77d3d3</code></a> Build(deps): Bump twine from 6.1.0 to 6.2.0</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-asyncio/compare/v0.24.0...v1.2.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.24.0&new-version=1.2.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 4562a17 commit 3146899

File tree

2 files changed

+22
-7
lines changed

2 files changed

+22
-7
lines changed

poetry.lock

Lines changed: 21 additions & 6 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
@@ -25,7 +25,7 @@ backports-strenum = { version = "^1.3.1", python = "<3.11" }
2525

2626
[tool.poetry.dev-dependencies]
2727
pytest = "^8.4"
28-
pytest-asyncio = "^0.24.0"
28+
pytest-asyncio = "^1.2.0"
2929
pytest-aiohttp = "^1.0.5"
3030
pytest-cov = "^7.0.0"
3131
pre-commit = "^4.3.0"

0 commit comments

Comments
 (0)