Skip to content

build: add httpx to camera extra for MetaQuestCameraStream - #14

Merged
styu12 merged 1 commit into
mainfrom
fix/camera-extra-httpx
Apr 15, 2026
Merged

build: add httpx to camera extra for MetaQuestCameraStream#14
styu12 merged 1 commit into
mainfrom
fix/camera-extra-httpx

Conversation

@styu12

@styu12 styu12 commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

User got ModuleNotFoundError: No module named 'httpx' on a stock syncfield[viewer,camera] install because httpx was only declared in the viewer extra, not camera. Added httpx to camera so every camera adapter (Go3S + Quest) works from the camera extra alone.

🤖 Generated with Claude Code

User running ``python examples/meta_quest/record.py`` on a fresh
``syncfield[viewer,camera]`` install hit:

    ModuleNotFoundError: No module named 'httpx'
    at syncfield/adapters/meta_quest_camera/stream.py:11

The Quest camera adapter talks to the companion Unity app over HTTP
via httpx. httpx was already listed in the ``viewer`` extra (the
viewer's /status probes use it), but there's no reason a user who
only wants the Quest adapter should have to install the full viewer
to get it. Add it to ``camera`` alongside aiohttp (Go3S) and bleak
so the camera extra is self-sufficient for every camera adapter.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@styu12
styu12 merged commit f0bf480 into main Apr 15, 2026
0 of 4 checks passed
@styu12
styu12 deleted the fix/camera-extra-httpx branch April 15, 2026 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant