Sourced from anyio's releases.
4.13.0
- Dropped support for Python 3.9
- Added a
ttlparameter to theanyio.functools.lru_cachewrapper (#1073; PR by@Graeme22)- Widened the type annotations of file I/O streams to accept
IO[bytes]instead of justBinaryIO(#1078)- Fixed
anyio.Pathnot being compatible with Python 3.15 due to the removal ofpathlib.Path.is_reserved()and the addition ofpathlib.Path.__vfspath__()(#1061; PR by@veeceey)- Fixed the
BrokenResourceErrorraised by the asyncioSocketStreamnot having the original exception as its cause (#1055; PR by@veeceey)- Fixed the
TypeErrorraised when using "func" as a parameter name inpytest.mark.parametrizewhen using the pytest plugin (#1068; PR by@JohnnyDeuss)- Fixed the pytest plugin not running tests that had the
anyiomarker added programmatically viapytest_collection_modifyitems(#422; PR by@chbndrhnns)- Fixed cancellation exceptions leaking from a
CancelScopeon asyncio when they are contained in an exception group alongside non-cancellation exceptions (#1091; PR by@gschaffner)- Fixed
Condition.wait()not passing on a notification when the task is cancelled but already received a notification- Fixed inverted condition in the process pool shutdown phase which would cause still-running pooled processes not to be terminated (#1074; PR by
@bysiber)
afbe93c
Bumped up the version33bdf2e
Rearranged the changelog entries19e09e2
Fixed inverted condition in _forcibly_shutdown_process_pool_on_exit (#1074)9369d80
Fixed Condition.wait() not handing over notification when cancelled6f122ab
Fixed cancellation exceptions leaking from a CancelScope on
asyncio when th...beaa45a
[pre-commit.ci] pre-commit autoupdate (#1097)602f660
Widened type annotations to accept IO[bytes] in file streamsb5dcd45
Added note about erasing the templated68670b
[pre-commit.ci] pre-commit autoupdate (#1090)fc17a22
tweak to_thread docs about abandon_on_cancel (#1088)