acoustic-carpenter-78188
05/11/2026, 5:55 PM2.7.0
🚀 urllib3 is fundraising for HTTP/2 support
urllib3 is raising ~$40,000 USD to release HTTP/2 support and ensure long-term sustainable maintenance of the project after a sharp decline in financial support. If your company or organization uses Python and would benefit from HTTP/2 support in Requests, pip, cloud SDKs, and thousands of other projects please consider contributing financially to ensure HTTP/2 support is developed sustainably and maintained for the long-haul.
Thank you for your support.
Security
Addressed high-severity security issues. Impact was limited to specific use cases detailed in the accompanying advisories; overall user exposure was estimated to be marginal.
• Decompression-bomb safeguards of the streaming API were bypassed:
1. Whenwas called after the response had been read and decompressed partially. (Reported byHTTPResponse.drain_conn())@​Cycloctane
2. During the secondorHTTPResponse.read(amt=N)call when the response was decompressed using the official Brotli library. (Reported byHTTPResponse.stream(amt=N))@​kimkou2024
See GHSA-mf9v-mfxr-j63j for details.
• HTTP pools created usingdid not strip sensitive headers specified inProxyManager.connection_from_urlwhen redirecting to a different host. (GHSA-qccp-gfcp-xxvc reported byRetry.remove_headers_on_redirect)@​christos-spearbit
Deprecations and Removals
• Usedinstead ofFutureWarningfor better visibility of existing deprecation notices. Rescheduled the removal of deprecated features to version 3.0. (urllib3/urllib3#3763)DeprecationWarning
• Removed support for end-of-life Python 3.9. (urllib3/urllib3#3720)
• Removed support for end-of-life PyPy3.10. (urllib3/urllib3#4979)
• Bumped the minimum supported pyOpenSSL version to 19.0.0. (urllib3/urllib3#3777)
Bugfixes
• Fixed a bug wherewas ignoring decompressed data buffered from previous partial reads. (urllib3/urllib3#3636)HTTPResponse.read(amt=None)
• Fixed a bug wherecould cache only part of the response after a partial read whenHTTPResponse.read(). (urllib3/urllib3#4967)cache_content=True
• FixedandHTTPResponse.stream()to handleHTTPResponse.read_chunked(). (urllib3/urllib3#3793)amt=0
• Updatedtype alias to include missing_TYPE_BODY, matching the documented and runtime behavior of chunked request bodies. (urllib3/urllib3#3798)Iterable[str]
• Fixedwhen paths resembling schemeless URIs were passed toLocationParseError. (urllib3/urllib3#3352)HTTPConnectionPool.urlopen()
• FixedChangelog Sourced from urllib3's changelog.type annotation to acceptBaseHTTPResponse.readinto()in addition tomemoryview, matching thebytearraycontract and enabling use withio.RawIOBase.readintowithout type errors. (urllib3/urllib3#3764)io.BufferedReader
2.7.0 (2026-05-07)
Security
Addressed high-severity security issues. Impact was limited to specific use cases detailed in the accompanying advisories; overall user exposure was estimated to be marginal.
• Decompression-bomb safeguards of the streaming API were bypassed:
1. Whenwas called after the response had been read and decompressed partially.HTTPResponse.drain_conn()
2. During the secondor`HTTPResponse.stream(amt=N)` call when the response was decompressed using the official `Brotli https://pypi.org/project/brotli/`__ library.HTTPResponse.read(amt=N)
See `GHSA-mf9v-mfxr-j63j https://github.com/urllib3/urllib3/security/advisories/GHSA-mf9v-mfxr-j63j`__ for details.
• HTTP pools created usingdid not strip sensitive headers specified inProxyManager.connection_from_urlwhen redirecting to a different host. (`GHSA-qccp-gfcp-xxvc https://github.com/urllib3/urllib3/security/advisories/GHSA-qccp-gfcp-xxvc`__)Retry.remove_headers_on_redirect
Deprecations and Removals
• Usedinstead ofFutureWarningfor better visibility of existing deprecation notices. Rescheduled the removal of deprecated features to version 3.0. (`[#3763](https://github.com/urllib3/urllib3/issues/3763) https://github.com/urllib3/urllib3/issues/3763`__)DeprecationWarning
• Removed support for end-of-life Python 3.9. (`[#3720](https://github.com/urllib3/urllib3/issues/3720) https://github.com/urllib3/urllib3/issues/3720`__)
• Removed support for end-of-life PyPy3.10. (`[#4979](https://github.com/urllib3/urllib3/issues/4979) https://github.com/urllib3/urllib3/issues/4979`__)
• Bumped the minimum supported pyOpenSSL version to 19.0.0. (`[#3777](https://github.com/urllib3/urllib3/issues/3777) https://github.com/urllib3/urllib3/issues/3777`__)
Bugfixes
• Fixed a bug wherewas ignoring decompressed data buffered from previous partial reads. (`[#3636](https://github.com/urllib3/urllib3/issues/3636) https://github.com/urllib3/urllib3/issues/3636`__)HTTPResponse.read(amt=None)
• Fixed a bug where... (truncated) Commits •could cache only part of the response after a partial read whenHTTPResponse.read().cache_content=True
9a950b9 Release 2.7.0
• 5ec0de4 Merge commit from fork
• 2bdcc44 Merge commit from fork
• f45b0df Fix a misleading example for ProxyManager (#4970)
• 577193c Switch to nightly PyPy3.11 in CI for now (#4984)
• e90af45 Avoid infinite loop in HTTPResponse.read_chunked when amt=0 (#4974)
• 67ed74f Bump dev dependencies (#4972)
• 3abd481 Upgrade mypy to version 1.20.2 (#4978)
• 2b8725d Drop support for EOL PyPy3.10 (#4979…
flyteorg/flyte-migrate