chore(deps-dev): bump pytest-asyncio from 1.1.0 to 1.2.0
Bumps pytest-asyncio from 1.1.0 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-debugCLI option andasyncio_debugconfiguration option to enable asyncio debug mode for the default event loop. (#980)- A
pytest.UsageErrorfor invalid configuration values ofasyncio_default_fixture_loop_scopeandasyncio_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 usingasyncio.runandasyncio.Runner). (#1177)- Deprecation warning when decorating an asynchronous fixture with
@pytest.fixturein [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.inifile 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)
Commits
0d3988fci: Create GitHub release before publishing to PyPI.07c5a0bdocs: Include orphaned news fragment in changelog.be24582chore: Prepare release of v1.2.0.7aeb296docs: Streamline news fragments7b8311cci: Fixes a bug that prevented SSH signature from being stripped from release...9d4c2bddocs: Add changelog entry for Pyright compatibility.94f6106test: Added tests which assert that the event loop is reinstated if unset by ...df61991[pre-commit.ci] pre-commit autoupdatef1f7941Build(deps): Bump pytest from 8.4.1 to 8.4.2c77d3d3Build(deps): Bump twine from 6.1.0 to 6.2.0- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
[!IMPORTANT] Bumps
pytest-asynciofrom1.1.0to1.2.0inpyproject.toml, adding new features and fixes.
- Dependency Update:
- Bumps
pytest-asynciofrom1.1.0to1.2.0inpyproject.toml.- Adds
--asyncio-debugCLI option andasyncio_debugconfig option for debug mode.- Introduces
pytest.UsageErrorfor invalid config values.- Fixes
RuntimeErrorfor missing event loop in main thread.- Resolves deprecation warning for async fixtures with
@pytest.fixture.- Extends
typing-extensionsdependency to Python<3.13.This description was created by
for 2770a89b24f42dd6b6ed6a84233d500e855c3cc3. You can customize this summary. It will automatically update as commits are pushed.
Disclaimer: Experimental PR review
Greptile Summary
Updated On: 2025-09-18 05:11:16 UTC
This PR is a Dependabot-generated dependency update that bumps the pytest-asyncio development dependency from version 1.1.0 to 1.2.0. The change occurs in the pyproject.toml file where the version constraint is updated from ">=0.21.1,<1.2.0" to ">=0.21.1,<1.3.0" to accommodate the new version.
The pytest-asyncio library is a pytest plugin that enables testing of asynchronous code in Python. This update brings several important improvements and bug fixes to the development environment. The most significant fixes include resolving a RuntimeError: There is no current event loop in thread 'MainThread' that could occur when tests use asyncio.run() or asyncio.Runner, and improved deprecation warning messages for async fixtures in strict mode.
Additionally, version 1.2.0 introduces new debugging capabilities with the --asyncio-debug CLI option and asyncio_debug configuration option for enabling asyncio debug mode. The update also adds better compatibility with the Pyright type checker and improved error handling for invalid configuration values.
This change fits well within the Langfuse Python SDK codebase, which appears to have asynchronous functionality based on the presence of OpenTelemetry async components and the existing use of pytest-asyncio for testing. The version constraint update follows semantic versioning best practices by allowing patch and minor updates within the 1.2.x series while preventing potentially breaking changes from future major releases.
Confidence score: 5/5
- This PR is extremely safe to merge with virtually no risk of causing issues
- Score reflects that this is a minor version bump of a development-only dependency with well-documented bug fixes and improvements
- No files require special attention as this is a single-line dependency version update
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.