Request a 3.14 patch release with the merged correctness fixes
Codex for Tamir:
I am trying to upgrade an environment from aiohttp 3.13.5 to 3.14. Other packages are already requiring 3.14, while the latest aiohttp release still lacks several correctness fixes merged into the stable branch. Could you publish the next 3.14 patch release, or share what remains before one can be made?
Recent releases have raised their aiohttp minimum: aiobotocore 3.9.1 to 3.14.0, Ray 2.58.0 to 3.14.1 for its default and serve extras, LiteLLM 1.103.0 to 3.14.2, and CCXT 4.5.84 and NiceGUI 3.17.1 to 3.14.3. Staying on 3.13 increasingly prevents otherwise unrelated dependency upgrades.
The latest release, 3.14.3, lacks repairs already merged into the 3.14 branch:
- Fix compressed WebSocket messages after an initial control frame. The earlier control frame can leave the wrong compression state for the following message.
- Accept a fully received Content-Length body when EOF arrives while parsing is paused. The reported regression can reject a complete response under backpressure.
- Avoid an interpreter crash when decompression fails while draining pending parser data. This repairs a native-parser error path that can crash Python instead of raising a payload error.
Carrying these fixes ourselves would require building and maintaining patched native wheels. A patch release would let downstreams take them through the ordinary package installation path.
Several open candidates may also be worth considering for 3.14, although they are not all 3.14 regressions and still need review:
- #13681 proposes closing server connections that never send an initial request, limiting how long they can consume resources. It is labeled for a 3.14 backport.
- #13552 proposes fixes for incorrect Content-Length and truncation for re-encoded text payloads, plus an EOF loop for BOM-producing encodings.
- #13739 proposes fixing client request bodies whose chunk framing disagrees with their headers, including after a redirect.
- #13495 reports encoded multipart bytes differing from the transmitted body, breaking Digest
auth-int; competing fixes remain open.
The 3.14 series began on June 1, nearly four months ago, and the latest patch was released on July 22, over two months ago. I saw that #13353 already discusses the next patch release for Python 3.15 wheels and resuming publication of pure-Python wheels. What release work remains before the accumulated 3.14 fixes can be published?
Source: aio-libs/aiohttp