build: add httpx to camera extra for MetaQuestCameraStream - #14
Merged
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User got
ModuleNotFoundError: No module named 'httpx'on a stocksyncfield[viewer,camera]install because httpx was only declared in theviewerextra, notcamera. Added httpx tocameraso every camera adapter (Go3S + Quest) works from thecameraextra alone.🤖 Generated with Claude Code