Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(deps): keep sherpa-onnx below 2.0, which has no Intel macOS wheel (#883)

Ruben Lütkeacf71b0d904a
diff --git a/pyproject.toml b/pyproject.toml
index 98fe8c610e..02bd4cbf5d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -482,7 +482,7 @@ local-voice = [
# installer asks pip for.
# Upstream publishes no Windows ARM64 wheel. The providers already expose
# an honest unavailable state when the optional runtime is absent.
- "sherpa-onnx>=1.13.3; sys_platform != 'win32' or platform_machine != 'ARM64'",
+ "sherpa-onnx>=1.13.3,<2; sys_platform != 'win32' or platform_machine != 'ARM64'",
]
# GPU runtime for the on-device CTranslate2 recognizer (faster-whisper): the
# cuBLAS 12 / cuDNN 9 wheels ctranslate2 4.x links against. Opt-in and OUTSIDE
diff --git a/uv.lock b/uv.lock
index e88a8e12af..22ec358a30 100644
--- a/uv.lock
+++ b/uv.lock
@@ -1418,7 +1418,7 @@ requires-dist = [
{ name = "ruff", marker = "extra == 'dev'", specifier = ">=0.7" },
{ name = "scipy", specifier = ">=1.14" },
{ name = "send2trash", specifier = ">=1.8.3" },
- { name = "sherpa-onnx", marker = "(platform_machine != 'ARM64' and extra == 'local-voice') or (sys_platform != 'win32' and extra == 'local-voice')", specifier = ">=1.13.3" },
+ { name = "sherpa-onnx", marker = "(platform_machine != 'ARM64' and extra == 'local-voice') or (sys_platform != 'win32' and extra == 'local-voice')", specifier = ">=1.13.3,<2" },
{ name = "soundcard", marker = "(sys_platform == 'linux' and extra == 'desktop') or (sys_platform == 'win32' and extra == 'desktop')", specifier = ">=0.4.6" },
{ name = "sounddevice", specifier = ">=0.5" },
{ name = "structlog", specifier = ">=24.4" },