Skip to content

Commit d40ed18

Browse files
Love4yzpclaude
andcommitted
ci: resolve openvoicestream-agent from in-repo wheel + fix pre-existing lint
CI (and any checkout without the ../seeed-local-voice sibling) failed at `uv sync` because tool.uv.sources pointed at an editable local path that only exists on the device. Point it at the vendored torch-free wheel (deploy/jetson/reachy/vendor/openvoicestream_agent-0.1.0-py3-none-any.whl) so the project resolves on CI, fresh clones, and image builds; regenerate uv.lock accordingly. With sync working, ruff now runs and surfaced 4 pre-existing F401 unused imports (proof_engine_e2e.py, e2e_slv_plugin_local.py) — removed. Verified locally: `uv sync --extra dev` succeeds, `ruff check .` clean, `pytest tests/` → 550 passed, 58 skipped. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 82a506b commit d40ed18

4 files changed

Lines changed: 2762 additions & 2770 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ override-dependencies = [
6868
]
6969

7070
[tool.uv.sources]
71-
openvoicestream-agent = { path = "../seeed-local-voice/agent", editable = true }
71+
# Use the in-repo torch-free wheel so the project resolves on any checkout
72+
# (CI, fresh clones, image builds). For live editing of the agent source,
73+
# point this back at an editable sibling path, e.g.
74+
# { path = "../seeed-local-voice/agent", editable = true }
75+
openvoicestream-agent = { path = "deploy/jetson/reachy/vendor/openvoicestream_agent-0.1.0-py3-none-any.whl" }
7276

7377
[tool.pytest.ini_options]
7478
asyncio_mode = "auto"

src/reachy_claw/clientloop/proof_engine_e2e.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ async def run(wav: str, config_path: Path, timeout_s: float) -> int:
205205

206206
# Instrument the SLV client to flag asr_final + tts_started as they
207207
# cross the WS transport (irrefutable "went through the engine").
208-
from ovs_agent.slv_client import ASRFinal, TTSStarted # local import
209208

210209
orig_handle_json = app.slv._handle_json
211210

tests/e2e_slv_plugin_local.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222

2323
from reachy_claw.config import Config
2424
from reachy_claw.app import ReachyClawApp
25-
from reachy_claw.plugins.conversation_plugin_slv import ConversationPlugin, ConvState
26-
from ovs_agent.slv_client import ASRFinal, ASRPartial
25+
from reachy_claw.plugins.conversation_plugin_slv import ConversationPlugin
26+
from ovs_agent.slv_client import ASRFinal
2727

2828

2929
class FakeSLV:

0 commit comments

Comments
 (0)