googleapis / googleapis/python-genai

Replace `httpx` with `httpx2`

Open
#2,680 7 comments 0 reactions 1 assignee Assigned to @yinghsienwu View on GitHub
priority: p3 type: feature request
Dominant language
Python
Stars
4k
Forks
1k
Avg merge
2d 11h
Merged PRs (30d)
40

Description

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

**Is your feature request related to a problem? Please describe.**
`httpx`'s Issues, PRs, and Discussions are now restricted to collaborators only — no new submissions are being accepted. Moreover, no stable release has shipped since `0.28.1` (Dec 2024).

**Describe the solution you'd like**
Replace `httpx` with [`httpx2`](https://github.com/pydantic/httpx2), an active fork by Pydantic.

**Describe alternatives you've considered**
Keep `httpx` as-is for compatibility.

**Additional context**
[Closing announcement from the httpx maintainer](https://github.com/encode/httpx/discussions/3784)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.