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): openwakeword also arm64-only on macOS — transitive onnxruntime re-bricked Intel Macs (BUG-061 follow-up)

Ruben Lütke46c148f21bdc
diff --git a/docs/BUGS.md b/docs/BUGS.md
index 6cbfc12ad4..c2b4a41a71 100644
--- a/docs/BUGS.md
+++ b/docs/BUGS.md
@@ -4344,6 +4344,15 @@ AP-22 class, at the packaging layer).
cp312: ctranslate2/av), everything else 3.13; the full-support check
follows the same rule.
+**Follow-up (same day).** The direct marker alone was NOT enough: a
+platform-resolve probe (``uv pip compile --python-platform
+x86_64-apple-darwin``) showed ``openwakeword`` pulling onnxruntime back in
+as ITS dependency — the transitive route re-bricked Intel Macs. Its darwin
+marker now carries the same ``platform_machine == 'arm64'`` condition
+(wake degrades to vosk_kws there). Lesson: after gating a dependency,
+re-resolve for the affected platform — direct markers do not stop
+transitive pulls.
+
**Class rule.** A pinned dependency whose wheel matrix has DROPPED a
platform must never sit unconditionally in the base lock: gate it with
platform markers and give the capability an honest degrade. Wheel
diff --git a/pyproject.toml b/pyproject.toml
index 557cf67a95..8d4ea15b85 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -61,7 +61,7 @@ dependencies = [
# supported manylinux_2_28 floor. macOS CPython 3.14 likewise lacks a usable
# ONNX Runtime wheel. Vosk, browser voice, cloud STT, and energy endpointing
# remain working fallbacks on the excluded cells.
- "openwakeword>=0.6; sys_platform != 'linux' and (sys_platform != 'darwin' or python_version < '3.14')",
+ "openwakeword>=0.6; sys_platform != 'linux' and (sys_platform != 'darwin' or (python_version < '3.14' and platform_machine == 'arm64'))",
"openwakeword>=0.6; sys_platform == 'linux' and platform_machine == 'x86_64' and python_version < '3.12'",
# ONNX Runtime 1.24+ raises the macOS deployment floor and has no usable
# CPython 3.14 artifact for the supported baseline. Keep 1.23 on macOS
diff --git a/requirements.in b/requirements.in
index 69c2508344..10291866da 100644
--- a/requirements.in
+++ b/requirements.in
@@ -60,7 +60,7 @@ audioop-lts; python_version>='3.13'
# machine incl. a headless CPU VPS. CPU onnxruntime is universal and NOT on the
# lockfile forbidden list (only torch/ctranslate2/faster-whisper/onnxruntime-gpu
# are). See pyproject.toml note.
-openwakeword>=0.6; sys_platform != 'linux' and (sys_platform != 'darwin' or python_version < '3.14')
+openwakeword>=0.6; sys_platform != 'linux' and (sys_platform != 'darwin' or (python_version < '3.14' and platform_machine == 'arm64'))
openwakeword>=0.6; sys_platform == 'linux' and platform_machine == 'x86_64' and python_version < '3.12'
# macOS 3.11-3.13 uses the last branch compatible with the supported deployment
# floor. macOS 3.14 uses Vosk/energy; other operating systems use current ONNX.
diff --git a/requirements.txt b/requirements.txt
index 09259a0359..7a6384ec65 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -543,7 +543,7 @@ filelock==3.29.4 \
--hash=sha256:10cdb3656fc44541cdf30652a93fb10ec6b05325620eb316bd26893e4201538a \
--hash=sha256:dac1648087d5115554850d113e7dd8c83ab2d38e3435dde2d4f163847e57b767
# via -r requirements.in
-flatbuffers==25.12.19 ; python_full_version < '3.14' or sys_platform != 'darwin' \
+flatbuffers==25.12.19 ; (python_full_version < '3.14' and platform_machine == 'arm64') or sys_platform != 'darwin' \
--hash=sha256:7634f50c427838bb021c2d66a3d1168e9d199b0607e6329399f04846d42e20b4
# via onnxruntime
gitdb==4.0.12 \
@@ -735,7 +735,7 @@ jiter==0.16.0 \
# via
# anthropic
# openai
-joblib==1.5.3 ; (python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'linux') or (python_full_version < '3.14' and sys_platform == 'darwin') or (sys_platform != 'darwin' and sys_platform != 'linux') \
+joblib==1.5.3 ; (python_full_version < '3.14' and platform_machine == 'arm64' and sys_platform == 'darwin') or (python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'linux') or (sys_platform != 'darwin' and sys_platform != 'linux') \
--hash=sha256:5fc3c5039fc5ca8c0276333a188bbd59d6b7ab37fe6632daa76bc7f9ec18e713 \
--hash=sha256:8561a3269e6801106863fd0d6d84bb737be9e7631e33aaed3fb9ce5953688da3
# via scikit-learn
@@ -1008,7 +1008,7 @@ mpmath==1.3.0 ; python_full_version < '3.14' and platform_machine == 'arm64' and
--hash=sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f \
--hash=sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c
# via sympy
-narwhals==2.23.0 ; (python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'linux') or (python_full_version < '3.14' and sys_platform == 'darwin') or (sys_platform != 'darwin' and sys_platform != 'linux') \
+narwhals==2.23.0 ; (python_full_version < '3.14' and platform_machine == 'arm64' and sys_platform == 'darwin') or (python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'linux') or (sys_platform != 'darwin' and sys_platform != 'linux') \
--hash=sha256:13e7ff5b4bb4a2f77b907c2e4d8a76e273dfc1323a3c997440a2f9fd26aed408 \
--hash=sha256:769e7b9ab102c93d8fa019f6b4cd1a657909b04a20bf6210e5a35aae06814ae9
# via scikit-learn
@@ -1184,7 +1184,7 @@ onnxruntime==1.23.2 ; python_full_version < '3.14' and platform_machine == 'arm6
# via
# -r requirements.in
# openwakeword
-onnxruntime==1.27.0 ; (python_full_version < '3.14' and platform_machine != 'arm64') or sys_platform != 'darwin' \
+onnxruntime==1.27.0 ; sys_platform != 'darwin' \
--hash=sha256:0874edc171f470fc4dd2bbb60bc0989612ed1a8b89b365cda016630a93227f13 \
--hash=sha256:1b215aa662c8f983f7d6dedafe65a9be72c26e5338e0fe98b3e0422c32c85428 \
--hash=sha256:20c321cf187ba496e648acf6b4cf90b4d398b0d17c2a77fdaeba365b908cc1c1 \
@@ -1231,7 +1231,7 @@ opentelemetry-semantic-conventions==0.64b0 \
--hash=sha256:72f76fb2d1582d9d033dd1fcd84532e961e6ff3d90d24ba6fabc72975a83864c \
--hash=sha256:ea77e85e354b8f604ddbe5f3d9135216f982fa4d77e5859ac30f6d8a50505aa6
# via opentelemetry-sdk
-openwakeword==0.6.0 ; (python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'linux') or (python_full_version < '3.14' and sys_platform == 'darwin') or (sys_platform != 'darwin' and sys_platform != 'linux') \
+openwakeword==0.6.0 ; (python_full_version < '3.14' and platform_machine == 'arm64' and sys_platform == 'darwin') or (python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'linux') or (sys_platform != 'darwin' and sys_platform != 'linux') \
--hash=sha256:36858d90f1183e307485597a912a4e3c3384b14ea9923f83feaffae7c1565565 \
--hash=sha256:6f423a4e3ae9dd0e3cd12b50ff8abf69679f687b4ab349d7c82c021c0e2abc9d
# via -r requirements.in
@@ -1371,7 +1371,7 @@ prometheus-client==0.25.0 \
--hash=sha256:5e373b75c31afb3c86f1a52fa1ad470c9aace18082d39ec0d2f918d11cc9ba28 \
--hash=sha256:d5aec89e349a6ec230805d0df882f3807f74fd6c1a2fa86864e3c2279059fed1
# via -r requirements.in
-protobuf==7.35.1 ; python_full_version < '3.14' or sys_platform != 'darwin' \
+protobuf==7.35.1 ; (python_full_version < '3.14' and platform_machine == 'arm64') or sys_platform != 'darwin' \
--hash=sha256:11d6b0ec246892d85215b0a13ca6e0233cf5284b68f0ac02646427f4ff88a799 \
--hash=sha256:230a75ddfc2de4806e56696ce9640c1cdfdb6543b7cfce98d42a4c0a0e7bdb87 \
--hash=sha256:24f857477359a85c0c235261b8ba905fd51b2562f4a64ca1df5473f29850cbf6 \
@@ -1829,7 +1829,7 @@ rpds-py==2026.6.3 \
# via
# jsonschema
# referencing
-scikit-learn==1.9.0 ; (python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'linux') or (python_full_version < '3.14' and sys_platform == 'darwin') or (sys_platform != 'darwin' and sys_platform != 'linux') \
+scikit-learn==1.9.0 ; (python_full_version < '3.14' and platform_machine == 'arm64' and sys_platform == 'darwin') or (python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'linux') or (sys_platform != 'darwin' and sys_platform != 'linux') \
--hash=sha256:051075bda8b7aab87b1906ab3d4740a1e1224a19d7b3781a576736edc94e76aa \
--hash=sha256:056c92bb67ad4c28463c2f2653d9701449201e7e7a9e94e321be0f71c4fef2b8 \
--hash=sha256:147e9329ef0e39f75d4cffa02b2aa48d827832684926cd5210d9a2cb5c57246b \
@@ -2047,7 +2047,7 @@ tflite-runtime==2.14.0 ; python_full_version < '3.12' and platform_machine == 'x
--hash=sha256:d38c6885f5e9673c11a61ccec5cad7c032ab97340718d26b17794137f398b780 \
--hash=sha256:eca7672adca32727bbf5c0f1caf398fc17bbe222f2a684c7a2caea6fc6767203
# via openwakeword
-threadpoolctl==3.6.0 ; (python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'linux') or (python_full_version < '3.14' and sys_platform == 'darwin') or (sys_platform != 'darwin' and sys_platform != 'linux') \
+threadpoolctl==3.6.0 ; (python_full_version < '3.14' and platform_machine == 'arm64' and sys_platform == 'darwin') or (python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'linux') or (sys_platform != 'darwin' and sys_platform != 'linux') \
--hash=sha256:43a0b8fd5a2928500110039e43a5eed8480b918967083ea48dc3ab9f13c4a7fb \
--hash=sha256:8ab8b4aa3491d812b623328249fab5302a68d2d71745c8a4c719a2fcaba9f44e
# via scikit-learn