Skip to content

fix(server): add httpx to runtime dependencies#205

Merged
abhinav-galileo merged 1 commit intomainfrom
abhi/add-httpx-server-dep
Apr 30, 2026
Merged

fix(server): add httpx to runtime dependencies#205
abhinav-galileo merged 1 commit intomainfrom
abhi/add-httpx-server-dep

Conversation

@abhinav-galileo
Copy link
Copy Markdown
Collaborator

@abhinav-galileo abhinav-galileo commented Apr 30, 2026

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.

Test plan

  • Diff is one line.
  • CI green.
  • Verified locally that a wheel installed without dev deps starts the server without ImportError.

httpx was listed only under [dependency-groups] dev, but the new
auth_framework's HTTP-upstream provider imports httpx at module load
time. Production wheels built without dev deps thus fail with
ModuleNotFoundError on server start.
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@abhinav-galileo abhinav-galileo merged commit b4dff6f into main Apr 30, 2026
7 checks passed
@abhinav-galileo abhinav-galileo deleted the abhi/add-httpx-server-dep branch April 30, 2026 18:44
galileo-automation pushed a commit that referenced this pull request May 2, 2026
## [2.5.0](ts-sdk-v2.4.0...ts-sdk-v2.5.0) (2026-05-02)

### Features

* **sdk-ts:** expose debug logger option ([66aba97](66aba97))
* **sdk:** add config driven sink selection ([#176](#176)) ([64c169f](64c169f))
* **server:** namespace scoping and control bindings ([#203](#203)) ([15ed4fd](15ed4fd))
* **server:** pluggable request-auth framework (management + runtime) ([#204](#204)) ([fae0ad3](fae0ad3)), closes [#203](#203)

### Bug Fixes

* **server:** add httpx to runtime dependencies ([#205](#205)) ([b4dff6f](b4dff6f))
@galileo-automation
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 2.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants