Commit 30ccd99
committed
[v1.x] build: restrict httpx to <1.0.0
Backport of #2345 to the v1.x release branch.
httpx publishes 1.0.devN pre-releases on PyPI which are a ground-up
rewrite with an incompatible API (no AsyncClient, Auth, Timeout, or
TransportError). With the previous unbounded `httpx>=0.27.1`
constraint, `pip install --pre` of any package depending on mcp
resolves httpx 1.0.dev3, which makes `import mcp` fail at
`httpx_sse._exceptions` with:
AttributeError: module 'httpx' has no attribute 'TransportError'
Pin to `<1.0.0` until we explicitly add httpx 1.x support.
Reported-by: SyncTekLLC
Github-Issue: #25431 parent 73d458b commit 30ccd99
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments