Skip to content

Update dependency httpx2 to v2.16.2 - #22

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/httpx2-2.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/httpx2-2.x

Conversation

@renovate

@renovate renovate Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
httpx2 (changelog) ==2.16.0 → ==2.16.2 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

pydantic/httpx2 (httpx2)

v2.16.2

Compare Source

🩹 Type aliases evaluate at runtime again

httpx2 and httpcore2 2.16.2 are a patch release with one fix. You will notice it if your code, or a library you depend on, uses the aliases in httpx2._types inside a runtime typing construct. On 2.16.1, import mistralai.client failed on Python 3.11 to 3.13.

pip install --upgrade httpx2==2.16.2
  • Optional[QueryParamTypes] and QueryParamTypes | None work again (#​1346). In 2.16.1 URLTypes, QueryParamTypes, HeaderTypes, CookieTypes, TimeoutTypes, ProxyTypes and AuthTypes were strings. Optional[...] raised SyntaxError for QueryParamTypes and HeaderTypes, and | None raised TypeError for all seven. They are Union[...] objects again, as in 2.16.0.

httpcore2 has no changes. It is bumped to stay in lockstep with httpx2.

Full changelog: v2.16.1...v2.16.2

v2.16.1

Compare Source

🚦 Concurrent HTTP/2 uploads no longer stall

httpx2 and httpcore2 2.16.1 are a patch release. Every change is a fix. You will notice it most if you run several HTTP/2 uploads over one connection, where requests could hang until the read timeout.

pip install --upgrade httpx2==2.16.1
  • Uploads sharing an HTTP/2 connection finish instead of waiting for the read timeout (#​1163). Once the flow control window was exhausted, a waiting upload could miss the WINDOW_UPDATE that another task had already read, then block on a read the server had nothing to answer. httpcore2 now rechecks the window after acquiring the read lock.
  • A missing Host header raises LocalProtocolError (#​1319). An HTTP/2 request sent directly to an httpcore2 connection without Host raised IndexError before.
🧭 Redirects, proxies and Digest auth
  • A redirect with an invalid Location returns the response when redirects are not followed (#​1064). httpx2 raised RemoteProtocolError and discarded the response. You now get the response with its headers, and response.next_request is None.
  • *.example.com in NO_PROXY matches subdomains (#​1277). The entry never matched before, so those requests still went through the proxy. It now behaves like .example.com.
  • Digest challenges with mixed-case parameter names are accepted (#​1315). A challenge such as Digest Realm="r", Nonce="n" raised ProtocolError before. Whitespace around = is allowed too.
📦 Signed releases
  • The publish workflow generates PEP 740 attestations (#​1339). Every distribution is signed before uv publish uploads it. Releases since the move to uv publish had no provenance on PyPI.

Full changelog: v2.16.0...v2.16.1


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/httpx2-2.x branch from ea3c3ec to 24f06d0 Compare November 16, 2026 21:40
@renovate renovate Bot changed the title Update dependency httpx2 to v2.16.1 Update dependency httpx2 to v2.16.2 Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants