Repository navigation
Commit b4dff6f
authored
fix(server): add httpx to runtime dependencies (#205)
## Summary
`httpx` is listed only under `[dependency-groups] dev`, but
`server/src/agent_control_server/auth_framework/providers/http_upstream.py`
imports `httpx` at module load time. Wheels built without dev
dependencies therefore fail with `ModuleNotFoundError: No module named
'httpx'` on server start.
## Reproduction
Build a production wheel (no dev deps) and start the server:
```
uv sync --package agent-control-server --no-dev
.venv/bin/agent-control-server
# ...
# File "src/agent_control_server/auth_framework/providers/__init__.py", line 4, in <module>
# from .http_upstream import HttpUpstreamAuthProvider
# File "src/agent_control_server/auth_framework/providers/http_upstream.py", line 45, in <module>
# import httpx
# ModuleNotFoundError: No module named 'httpx'
```
## Fix
Add `"httpx>=0.27.0"` to the runtime `dependencies` list in
`server/pyproject.toml`. Existing dev-deps entry is unchanged.1 parent fae0ad3 commit b4dff6f
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments