## agronholm/anyio — 4.13.0…4.14.0

_56 commits._

### Features
- **Make `anyio.run` support `Awaitable` at runtime on all backends (#1171)** (550b68e)
- **Added task handle support to start() and start_soon() (#1153)** (ebdc950)
- **Added Python 3.15 support (#1159)** (2370032)
- **Migrate to the new pytest TOML config format** (b0690c5)
- **Add docstrings to RunvarToken, RunVar methods, and BufferedConnectable (#1106)** (f65ac1f)
- **Added support for custom limiters in file I/O (#1100)** (96f0cf3)

### Fixes
- **Fix UDPSocket.aclose() returning before FD release on asyncio backend (#1147)** (28b3694)
- **Increased timeout value to fix test flakiness** (cb245db)
- **Filter out irrelevant log records to fix test flakiness** (a7e7e7b)
- **fix: prevent TaskGroup re-entry with clear RuntimeError (#1110)** (4dfe21a)

### Backend
- **Bumped up the version** (ffe9133)
- **Fixed asyncio lock waiter deadlocks after cancellation (#1145)** (f8b9f01)
- **[pre-commit.ci] pre-commit autoupdate (#1176)** (d517ee1)
- **Fixed FastAPI test run** (29a5e04)
- **Updated downstream test setups for FastAPI and Anthropic MCP** (4d752ac)
- **Fixed test suite compatibility issues with Pytest 9.1.0** (f32bfb8)
- **Added `__slots__` to several classes** (85f7e8e)
- **[pre-commit.ci] pre-commit autoupdate (#1165)** (b7ea84c)
- **[pre-commit.ci] pre-commit autoupdate (#1160)** (2d05e6e)
- **Pass backend_options to trio (#1161)** (d858f82)
- **Specify the PyPy version explicitly** (4bf86d4)
- **Remove unnecessary typing_extensions.ParamSpec branching (#1157)** (51d12d6)
- **Fixed BlockingPortal tasks not getting cancelled after stop() (#1152)** (7a61227)
- **Fixed Trio backend hangs when dynamically accessing async fixture via getfixturevalue (#1149)** (142dbcc)
- **[pre-commit.ci] pre-commit autoupdate (#1155)** (b4059c7)
- **Added the TaskGroup.cancel() method (#1154)** (88eefd5)
- **Fixed unwarranted imports from private modules** (a4302a0)
- **Improved the AI agent instructions** (f92247e)
- **Removed the use of a Sphinx directive in the changelog** (610950d)
- **[pre-commit.ci] pre-commit autoupdate (#1150)** (c690faa)
- **Added back PyPy (nightly) to the test workflow** (8d117c5)
- **Removed PyPy test job** (35e1ef6)
- **Updated mypy in pre-commit config to v2.1.0** (1dd510b)
- **[pre-commit.ci] pre-commit autoupdate (#1143)** (c781e29)
- **Feature/async itertools (#1107)** (6ee2efd)
- **Ensure __main__ module is importable in ``to_process`` when not ending in .py (#1134)** (bcb2db6)
- **Fixed SocketListener.from_socket() for AF_UNIX listening sockets (#1133)** (01b8d02)
- **Widen Path.write_bytes data param to ReadableBuffer (#1136)** (b979108)
- **Fixed test resumption after KeyboardInterrupt in asyncio backend (#1121)** (f821c37)
- **Use Self to preserve subclass types in anyio.Path path-returning methods (#1131)** (66918da)
- **[pre-commit.ci] pre-commit autoupdate (#1129)** (835d7a0)
- **Added guidelines for AI agents (#1128)** (fb4bb27)
- **Made test_extra_attributes() less error/timeout prone** (612b901)
- **Skip getnameinfo() on macOS on GitHub Actions runner (#1124)** (c1f7df2)
- **[pre-commit.ci] pre-commit autoupdate (#1120)** (2f7a49a)
- **Added per-test timeouts** (6db5849)
- **Doubled the timeout for the test suite** (b30a691)
- **Added the local_port parameter to connect_tcp (#1119)** (68dbc2b)
- **Fixed lost type information when using lru_cache with kwargs (#1104)** (30ef552)
- **Fixed TaskError -> TaskFailed in TaskHandle.return_value docstring (#1117)** (fd7536b)
- **Added the create_task() method to TaskGroup (#1098)** (138745c)
- **Updated the cancel message in check_cancelled() (#1114)** (3e540f1)
- **[pre-commit.ci] pre-commit autoupdate (#1116)** (b8c30c7)
- **Improved the error for a missing backend (#1115)** (c86975e)
- **Updated pre-commit modules and fixed mypy errors** (0923ac7)
- **[pre-commit.ci] pre-commit autoupdate (#1101)** (7581a77)

_Recap by [Repo Wrapped](https://repowrapped.com/gh/agronholm/anyio?utm_source=github-action)._