Skip to content

Commit 3146029

Browse files
EstrellaXDclaudehappy-otter
committed
fix: add socksio dependency to support SOCKS proxy (#961)
When users have a SOCKS proxy configured (via HTTP_PROXY or ALL_PROXY environment variables), httpx's AsyncClient automatically tries to use it but fails without the socksio package installed. Changed httpx dependency from httpx>=0.25.0 to httpx[socks]>=0.25.0 to include the socksio package as an extra dependency. Fixes #961 Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
1 parent bde73e6 commit 3146029

2 files changed

Lines changed: 511 additions & 497 deletions

File tree

backend/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ requires-python = ">=3.13"
66
dependencies = [
77
"fastapi>=0.109.0",
88
"uvicorn>=0.27.0",
9-
"httpx>=0.25.0",
9+
"httpx[socks]>=0.25.0",
1010
"httpx-socks>=0.9.0",
1111
"beautifulsoup4>=4.12.0",
1212
"sqlmodel>=0.0.14",

0 commit comments

Comments
 (0)