Skip to content

Commit b2439cb

Browse files
authored
fix: pin httpx to <1.0 to prevent incompatible prerelease versions (#483)
httpx 1.0.dev3 has breaking API changes (TransportError removed/renamed) that break httpx_sse compatibility. Users with --prerelease flag were getting AttributeError on import. Related to #450 which added httpx[socks] support. Fixes: AttributeError: module 'httpx' has no attribute 'TransportError'
1 parent a76c6e2 commit b2439cb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ classifiers = [
2525

2626
dependencies = [
2727
"fastmcp>=2.11.0",
28-
"httpx[socks]>=0.27.0",
28+
"httpx[socks]>=0.27.0,<1.0",
2929
'jq>=1.8.0; sys_platform != "win32"',
3030
"pydantic>=2.5.0",
3131
"python-dotenv>=1.0.0",

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)