-
Notifications
You must be signed in to change notification settings - Fork 94
[HTTPXodus] migrate httpx to httpx2 with dual import #807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,6 +41,7 @@ python = "^3.10" | |
| aiohttp = { version = ">=3.14.1,<4", optional = true, python = ">=3.10"} | ||
| fastavro = "^1.9.4" | ||
| httpx = ">=0.25.0" | ||
| httpx2 = { version = "^2.12", python = "^3.10" } | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Lockfile omits new httpx2 dependencyMedium Severity
Reviewed by Cursor Bugbot for commit e8b9a12. Configure here. |
||
| httpx-aiohttp = { version = "^0.1.8", optional = true, python = ">=3.10"} | ||
| oci = { version = "^2.165.0", optional = true} | ||
| pydantic = ">= 1.9.2" | ||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Production never switches to httpx2
High Severity
httpx2is added as a required dependency, but production still importshttpxand buildshttpx.Clientin the core client, AWS/OCI transports, and SSE helpers. The dual-import lives only in a unit test, so the SDK never runs onhttpx2and every installer now pulls an unused package.Reviewed by Cursor Bugbot for commit e8b9a12. Configure here.