Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 11, 2025

Bumps pytest-asyncio from 0.23.8 to 1.1.0.

Release notes

Sourced from pytest-asyncio's releases.

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

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

1.0.0 - 2025-05-26

Removed

  • The deprecated event_loop fixture. (#1106)

Added

  • Prelimiary support for Python 3.14 (#1025)

Changed

... (truncated)

Commits
  • ce06c07 chore: Prepare release of v1.1.0.
  • d9a8dcc ci: Workaround missing Tag annotation during release.
  • d66e12f [pre-commit.ci] pre-commit autoupdate
  • 9e5e25f Build(deps): Bump certifi in /dependencies/docs
  • 0e63423 Build(deps): Bump hypothesis in /dependencies/default
  • bd4551c Build(deps): Bump ncipollo/release-action from 1.16.0 to 1.18.0
  • 8e20305 Build(deps): Bump hypothesis in /dependencies/default
  • b7a8ab5 Build(deps): Bump coverage from 7.9.1 to 7.9.2 in /dependencies/default
  • 8cc378d Build(deps): Bump typing-extensions in /dependencies/default
  • fb6bfbf [pre-commit.ci] pre-commit autoupdate
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 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)

Important

Bump pytest-asyncio to 1.1.0 in pyproject.toml, adding new features and fixes.

  • Dependencies:
    • Bump pytest-asyncio from >=0.21.1,<0.24.0 to >=0.21.1,<1.2.0 in pyproject.toml.
  • Features:
    • Adds propagation of ContextVars from async fixtures to other fixtures and tests on Python 3.10 and older.
    • Cancels tasks when loop_scope ends.
    • Warns when the current event loop is closed by a test.
  • Fixes:
    • Fixes error about missing loop in finally clause of a task.
    • Fixes duplicate warning issue.
  • Dependencies:
    • Adds runtime dependency on backports.asyncio.runner for Python 3.10 and older.

This description was created by Ellipsis for b633a69. You can customize this summary. It will automatically update as commits are pushed.

Disclaimer: Experimental PR review

Greptile Summary

This PR updates the pytest-asyncio dependency from version 0.23.8 to 1.1.0 in the development dependencies section of pyproject.toml. This is a major version bump that brings several improvements and one breaking change.

The update introduces enhanced ContextVars propagation for Python 3.10 and older, automatic task cancellation when loop scopes end, and improved warnings for closed event loops. It also fixes issues with missing loops in task finally clauses and duplicate warning generation. Notably, version 1.0.0 removed the deprecated event_loop fixture, which is the main breaking change.

This change fits well within the Langfuse Python client's testing infrastructure. The project uses async functionality through httpx for HTTP requests and OpenTelemetry integrations, making proper async testing support important. The version constraint was updated from >=0.21.1,<0.24.0 to >=0.21.1,<1.2.0 to accommodate the new major version. The project's comprehensive CI setup with multiple Python versions should help catch any compatibility issues during testing.

The upgrade also adds a new runtime dependency on backports.asyncio.runner for Python 3.10 and older, which provides better async support for older Python versions that the project supports (Python >=3.9).

Confidence score: 4/5

  • This PR is relatively safe to merge with low risk of breaking changes
  • Score reflects that while this is a major version bump with breaking changes, the deprecated fixture removal is unlikely to affect this codebase
  • Pay close attention to any async test failures in CI, particularly on Python 3.10 and older versions

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Aug 11, 2025
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 file reviewed, no comments

Edit Code Review Bot Settings | Greptile

@dependabot dependabot bot force-pushed the dependabot/pip/pytest-asyncio-1.1.0 branch from b633a69 to e4663d0 Compare August 13, 2025 05:16
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 18, 2025

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@dependabot dependabot bot force-pushed the dependabot/pip/pytest-asyncio-1.1.0 branch 2 times, most recently from 0fc0ca1 to e9b8133 Compare August 21, 2025 05:48
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.23.8 to 1.1.0.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](pytest-dev/pytest-asyncio@v0.23.8...v1.1.0)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-version: 1.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-asyncio-1.1.0 branch from e9b8133 to 0761511 Compare August 25, 2025 06:18
@hassiebp hassiebp closed this Aug 27, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 27, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/pytest-asyncio-1.1.0 branch August 27, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants