Sourced from pytest-asyncio's releases.
pytest-asyncio 1.3.0
1.3.0 - 2025-11-10
Removed
- Support for Python 3.9 (#1278)
Added
- Support for pytest 9 (#1279)
Notes for Downstream Packagers
- Tested Python versions include free threaded Python 3.14t (#1274)
- Tests are run in the same pytest process, instead of spawning a subprocess with
pytest.Pytester.runpytest_subprocess. This prevents the test suite from accidentally using a system installation of pytest-asyncio, which could result in test errors. (#1275)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)
2e9695f
docs: Compile changelog for v1.3.0dd0e9ba
docs: Reference correct issue in news fragment.4c31abe
Build(deps): Bump nh3 from 0.3.1 to 0.3.213e9477
Link to migration guides from changelog4d2cf3c
tests: handle Python 3.14 DefaultEventLoopPolicy deprecation
warningsee3549b
test: Remove obsolete test for the event_loop fixture.7a67c82
tests: Fix failing test by preventing warning conversion to error.a17b689
test: add pytest config to isolated test directories18afc9d
fix(tests): replace runpytest_subprocess with runpytestcdc6bd1
Add support for pytest 9 and drop Python 3.9 supportSourced from pytest-mock's releases.
v3.15.1
2025-09-16
- #529: Fixed
itertools._tee object has no attribute error-- nowduplicate_iterators=Truemust be passed tomocker.spyto duplicate iterators.v3.15.0
2025-09-04
- Python 3.8 (EOL) is no longer supported.
- #524: Added
spy_return_itertomocker.spy, which contains a duplicate of the return value of the spied method if it is anIterator.
Sourced from pytest-mock's changelog.
3.15.1
2025-09-16
[#529](https://github.com/pytest-dev/pytest-mock/issues/529) <https://github.com/pytest-dev/pytest-mock/issues/529>_: Fixeditertools._tee object has no attribute error-- nowduplicate_iterators=Truemust be passed tomocker.spyto duplicate iterators.3.15.0
2025-09-04
- Python 3.8 (EOL) is no longer supported.
[#524](https://github.com/pytest-dev/pytest-mock/issues/524) <https://github.com/pytest-dev/pytest-mock/pull/524>_: Addedspy_return_itertomocker.spy, which contains a duplicate of the return value of the spied method if it is anIterator.
e1b5c62
Release 3.15.1184eb19
Set spy_return_iter only when explicitly requested (#537)4fa0088
[pre-commit.ci] pre-commit autoupdate (#536)f5aff33
Fix test failure with pytest 8+ and verbose mode (#535)adc4187
Bump actions/setup-python from 5 to 6 in the github-actions group (#533)95ad570
[pre-commit.ci] pre-commit autoupdate (#532)e696bf0
Fix standalone mock support (#531)5b29b03
Fix gen-release-notes script7d22ef4
Merge pull request #528
from pytest-dev/release-3.15.090b29f8
Update CHANGELOG for 3.15.0Sourced from ruff's releases.
0.14.4
Release Notes
Released on 2025-11-06.
Preview features
- [formatter] Allow newlines after function headers without docstrings (#21110)
- [formatter] Avoid extra parentheses for long
matchpatterns withascaptures (#21176)- [
refurb] Expand fix safety for keyword arguments andDecimals (FURB164) (#21259)- [
refurb] Preserve argument ordering in autofix (FURB103) (#20790)Bug fixes
- [server] Fix missing diagnostics for notebooks (#21156)
- [
flake8-bugbear] Ignore non-NFKC attribute names inB009andB010(#21131)- [
refurb] Fix false negative for underscores before sign inDecimalconstructor (FURB157) (#21190)- [
ruff] Fix false positives on starred arguments (RUF057) (#21256)Rule changes
- [
airflow] extend deprecated argumentconcurrencyinairflow..DAG(AIR301) (#21220)Documentation
- Improve
extenddocs (#21135)- [
flake8-comprehensions] Fix typo inC416documentation (#21184)- Revise Ruff setup instructions for Zed editor (#20935)
Other changes
- Make
ruff analyze graphwork with jupyter notebooks (#21161)Contributors
@chirizxc@Lee-W@musicinmybrain@MichaReiser@tjkuson@danparizher@renovate@ntBre@gauthsvenkat@LoicRiegelInstall ruff 0.14.4
Install prebuilt binaries via shell script
... (truncated)
Sourced from ruff's changelog.
0.14.4
Released on 2025-11-06.
Preview features
- [formatter] Allow newlines after function headers without docstrings (#21110)
- [formatter] Avoid extra parentheses for long
matchpatterns withascaptures (#21176)- [
refurb] Expand fix safety for keyword arguments andDecimals (FURB164) (#21259)- [
refurb] Preserve argument ordering in autofix (FURB103) (#20790)Bug fixes
- [server] Fix missing diagnostics for notebooks (#21156)
- [
flake8-bugbear] Ignore non-NFKC attribute names inB009andB010(#21131)- [
refurb] Fix false negative for underscores before sign inDecimalconstructor (FURB157) (#21190)- [
ruff] Fix false positives on starred arguments (RUF057) (#21256)Rule changes
- [
airflow] extend deprecated argumentconcurrencyinairflow..DAG(AIR301) (#21220)Documentation
- Improve
extenddocs (#21135)- [
flake8-comprehensions] Fix typo inC416documentation (#21184)- Revise Ruff setup instructions for Zed editor (#20935)
Other changes
- Make
ruff analyze graphwork with jupyter notebooks (#21161)Contributors
@chirizxc@Lee-W@musicinmybrain@MichaReiser@tjkuson@danparizher@renovate@ntBre@gauthsvenkat@LoicRiegel0.14.3
Released on 2025-10-30.
Preview features
... (truncated)
c7ff982
Bump 0.14.4 (#21306)35640dd
Fix main by using infer_expression (#21299)cb2e277
[ty] Understand legacy and PEP 695 ParamSpec (#21139)132d10f
[ty] Discover site-packages from the environment that ty is installed in
(#21...f189aad
[ty] Make special cases for UnionType slightly narrower (#21276)5517c99
Require ignore 0.4.24 in Cargo.toml (#21292)b5ff965
[ty] Favour imported symbols over builtin symbols (#21285)c6573b1
docs: revise Ruff setup instructions for Zed editor (#20935)76127e5
[ty] Update salsa (#21281)cddc0fe
[syntax-error]: no binding for nonlocal PLE0117 as a semantic syntax
error (...