[PR #859] Bump pytest-asyncio from 0.21.2 to 1.2.0 #733

Open
opened 2026-02-16 01:16:03 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langserve/pull/859
Author: @dependabot[bot]
Created: 2/10/2026
Status: 🔄 Open

Base: mainHead: dependabot/pip/pytest-asyncio-1.2.0


📝 Commits (1)

  • 1f640e1 Bump pytest-asyncio from 0.21.2 to 1.2.0

📊 Changes

2 files changed (+46 additions, -10 deletions)

View changed files

📝 poetry.lock (+45 -9)
📝 pyproject.toml (+1 -1)

📄 Description

Bumps pytest-asyncio from 0.21.2 to 1.2.0.

Release notes

Sourced from pytest-asyncio's releases.

pytest-asyncio 1.2.0

1.2.0 - 2025-09-12

Added

  • --asyncio-debug CLI option and asyncio_debug configuration option to enable asyncio debug mode for the default event loop. (#980)
  • A pytest.UsageError for invalid configuration values of asyncio_default_fixture_loop_scope and asyncio_default_test_loop_scope. (#1189)
  • Compatibility with the Pyright type checker (#731)

Fixed

  • 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). (#1177)
  • Deprecation warning when decorating an asynchronous fixture with @pytest.fixture in [strict]{.title-ref} mode. The warning message now refers to the correct package. (#1198)

Notes for Downstream Packagers

  • 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.

pytest-asyncio 1.1.1

v1.1.1 - 2025-09-12

Notes for Downstream Packagers

- Addresses a build problem with setuptoos-scm >= 9 caused by invalid setuptools-scm configuration in pytest-asyncio. (#1192)

pytest-asyncio 1.1.0

Added

  • Propagation of ContextVars from async fixtures to other fixtures and tests on Python 3.10 and older (#127)
  • Cancellation of tasks when the loop_scope ends (#200)
  • Warning when the current event loop is closed by a test

Fixed

  • Error about missing loop when calling functions requiring a loop in the finally clause of a task (#878)
  • An error that could cause duplicate warnings to be issued

Notes for Downstream Packagers

pytest-asyncio 1.1.0a1

1.1.0a1 - 2025-06-30

Added

  • Propagation of ContextVars from async fixtures to other fixtures and tests on Python 3.10 and older (#127)
  • Cancellation of tasks when the loop_scope ends (#200)
  • Warning when the current event loop is closed by a test

... (truncated)

Commits
  • 0d3988f ci: Create GitHub release before publishing to PyPI.
  • 07c5a0b docs: Include orphaned news fragment in changelog.
  • be24582 chore: Prepare release of v1.2.0.
  • 7aeb296 docs: Streamline news fragments
  • 7b8311c ci: Fixes a bug that prevented SSH signature from being stripped from release...
  • 9d4c2bd docs: Add changelog entry for Pyright compatibility.
  • 94f6106 test: Added tests which assert that the event loop is reinstated if unset by ...
  • df61991 [pre-commit.ci] pre-commit autoupdate
  • f1f7941 Build(deps): Bump pytest from 8.4.1 to 8.4.2
  • c77d3d3 Build(deps): Bump twine from 6.1.0 to 6.2.0
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langserve/pull/859 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 2/10/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `dependabot/pip/pytest-asyncio-1.2.0` --- ### 📝 Commits (1) - [`1f640e1`](https://github.com/langchain-ai/langserve/commit/1f640e19d6344be6d0bbfa63c32f285d985c6c28) Bump pytest-asyncio from 0.21.2 to 1.2.0 ### 📊 Changes **2 files changed** (+46 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `poetry.lock` (+45 -9) 📝 `pyproject.toml` (+1 -1) </details> ### 📄 Description Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.21.2 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.21.2...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.21.2&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 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> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:16:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langserve#733