Jump to solution
Details

The Fix

Merged HISTORY into CHANGES to resolve duplicate entries in the changelog.

Based on closed aio-libs/aiohttp issue #9544 · PR/commit linked

Production note: This usually shows up under retries/timeouts. Treat it as a side-effect risk until you can verify behavior with a canary + real traffic.

Open PR/Commit
@@ -3609,3 +3609,2305 @@ Improved Documentation - Drop removed functionality for passing ``StreamReader`` as data at client side. (`#2793 <https://github.com/aio-libs/aiohttp/pull/2793>`_) + + +
fix.md
Option A — Apply the official fix\nMerged HISTORY into CHANGES to resolve duplicate entries in the changelog.\nWhen NOT to use: This fix should not be applied if the changelog structure is intended to remain separate.\n\n

Why This Fix Works in Production

  • Trigger: Changes for 3.1.0 through to 3.4.4 appears twice in the changelog
  • Mechanism: Merged HISTORY into CHANGES to resolve duplicate entries in the changelog.
Production impact:
  • If left unfixed, retries/timeouts can trigger duplicate external side-effects (double charges, duplicate emails, repeated writes).

Why This Breaks in Prod

  • Production symptom (often without a traceback): Changes for 3.1.0 through to 3.4.4 appears twice in the changelog

Proof / Evidence

Discussion

High-signal excerpts from the issue thread (symptoms, repros, edge-cases).

“I think history is from pre-towncrier times. I don't see a reason why they shouldn't be merged. FWIW, I never touched that one so if…”
@webknjaz · 2024-10-28 · confirmation · source
“@webknjaz? I'm not sure how this is supposed to work, but it looks like the page is produced from concatenating CHANGES.rst to HISTORY.rst, (the latter…”
@Dreamsorcerer · 2024-10-28 · source

Failure Signature (Search String)

  • Changes for 3.1.0 through to 3.4.4 appears twice in the changelog
  • https://docs.aiohttp.org/en/stable/changes.html#id673
Copy-friendly signature
signature.txt
Failure Signature ----------------- Changes for 3.1.0 through to 3.4.4 appears twice in the changelog https://docs.aiohttp.org/en/stable/changes.html#id673

Error Message

Signature-only (no traceback captured)
error.txt
Error Message ------------- Changes for 3.1.0 through to 3.4.4 appears twice in the changelog https://docs.aiohttp.org/en/stable/changes.html#id673

What Broke

Users encounter confusion and misinformation from seeing duplicate changelog entries.

Fix Options (Details)

Option A — Apply the official fix

Merged HISTORY into CHANGES to resolve duplicate entries in the changelog.

When NOT to use: This fix should not be applied if the changelog structure is intended to remain separate.

Fix reference: https://github.com/aio-libs/aiohttp/pull/9581

Last verified: 2026-02-09. Validate in your environment.

Get updates

We publish verified fixes weekly. No spam.

Subscribe

When NOT to Use This Fix

  • This fix should not be applied if the changelog structure is intended to remain separate.

Did This Fix Work in Your Case?

Quick signal helps us prioritize which fixes to verify and improve.

Prevention

  • Capture the exact failing error string in logs and tests so you can reproduce via a minimal script.
  • Pin production dependencies and upgrade only with a reproducible test that hits the failing path.

Related Issues

No related fixes found.

Sources

We don’t republish the full GitHub discussion text. Use the links above for context.