Skip to content

deps: bump httpx2 from 2.16.0 to 2.16.2 - #349

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/httpx2-2.16.2
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/httpx2-2.16.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps httpx2 from 2.16.0 to 2.16.2.

Release notes

Sourced from httpx2's releases.

v2.16.2

🩹 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

🚦 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

Changelog

Sourced from httpx2's changelog.

2.16.2 (November 16th, 2026)

Fixed

  • Restore the Union form of the type aliases in httpx2._types, such as QueryParamTypes and HeaderTypes. In 2.16.1 they were strings, so Optional[QueryParamTypes] raised SyntaxError and QueryParamTypes | None raised TypeError at runtime. (#1346)

2.16.1 (November 16th, 2026)

Fixed

  • Return the response when a redirect has an invalid Location header and redirects are not followed, instead of raising RemoteProtocolError. response.next_request is None in that case. (#1064)
  • Match subdomains for NO_PROXY entries written as *.example.com, the same as .example.com. The entry never matched before, so those requests still went through the proxy. (#1277)
  • Parse Digest challenge parameter names case-insensitively, and allow whitespace around =. A challenge such as Digest Realm="r", Nonce="n" raised ProtocolError before. (#1315)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [httpx2](https://github.com/pydantic/httpx2) from 2.16.0 to 2.16.2.
- [Release notes](https://github.com/pydantic/httpx2/releases)
- [Changelog](https://github.com/pydantic/httpx2/blob/main/src/httpx2/CHANGELOG.md)
- [Commits](pydantic/httpx2@v2.16.0...v2.16.2)

---
updated-dependencies:
- dependency-name: httpx2
  dependency-version: 2.16.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot requested a review from xeonvs as a code owner December 1, 2026 03:28
@dependabot dependabot Bot added dependencies Dependency updates python Python dependency updates labels Dec 1, 2026
@dependabot @github

dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

Looks like httpx2 is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Dec 1, 2026
@dependabot
dependabot Bot deleted the dependabot/uv/httpx2-2.16.2 branch December 1, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates python Python dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants