Skip to content

fix(lite): drop the stale onnx extra from the dinkum listener install - #184

Merged
JarbasAl merged 1 commit into
devfrom
fix/lite-base-stale-onnx-extra
Oct 8, 2026
Merged

JarbasAl merged 1 commit into
devfrom
fix/lite-base-stale-onnx-extra

Conversation

@openvoiceos-bot

@openvoiceos-bot openvoiceos-bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

One line in build_raspOVOS_base_lite.sh:

-uv pip install ... ovos-dinkum-listener[extras,linux,onnx] ...
+uv pip install ... ovos-dinkum-listener[extras,linux] ...

Why

ovos-dinkum-listener has no onnx extra today. uv accepts an unknown
extra and installs the rest, so the request does nothing and reports nothing.

The extra is stale, not a typo. It existed and carried onnxruntime:

version extras
0.3.3a1 extras, linux, onnx
0.9.1a1 extras, linux, tests
0.10.5a2 (constraints floor, newest alpha) extras, linux, tests

Nothing is lost by the drop

The pieces the onnx extra used to carry all arrive by other routes. The
line already asks for extras, which carries ovos-vad-plugin-silero, and
upstream replaced ovos-ww-plugin-openwakeword with
ovos-ww-plugin-precise-onnx deliberately.

onnxruntime still reaches the image four ways. From
uv pip compile --prerelease=allow over the lite base set, 185 packages
resolved:

onnxruntime==1.30.0
    # via faster-whisper, ovos-vad-plugin-silero,
    #     ovos-ww-plugin-precise-onnx, phoonnx

./scripts/ci/run_shellcheck.sh passes: 50 *.sh files, 16 shebang scripts,
shellcheck OK.

Blind spot

That resolution is x86_64. It says which packages are required, not which have
aarch64 wheels for the rpi4 and rpi5 targets. Nothing here answers that, and
it must be shown on a built image.

Merge order

build_raspOVOS_lite.yml watches this exact file, and its
check-release-or-create job carries no ref or event condition and POSTs to
/releases with no draft field, which the API defaults to false. So merging
this starts a builder that publishes raspOVOS-DEV-bookworm-arm64-lite-<date>.

This must land after that builder has the release guard. Evidence:
knowledge/wiki/audits/raspovos/T-5971-stale-onnx-extra.md.

contract: unchanged

No stable interface moves. The onnx extra does not exist at the pinned
version, so uv resolves the same package set before and after: the request
added nothing to drop. The ovos user, the venv path and the unit names are
untouched.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cd8de55c-02ce-4c32-8d12-7c997af3d7de
📥 Commits

Reviewing files that changed from the base of the PR and between a44b0ce and f11ee43.

📒 Files selected for processing (1)
  • build_raspOVOS_base_lite.sh
 ________________________________________
< Even Chuck Norris needs a code review. >
 ----------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

I've scrutinized every line of your PR. Here's the report. 🧐

I've aggregated the results of the automated checks for this PR below.

🔍 Lint

Checking if there's anything else we need to do. 📋

✅ actionlint: 10 workflow file(s), no finding


Crafting a better voice assistant, one commit at a time 🎙️

`build_raspOVOS_base_lite.sh:191` asks for
`ovos-dinkum-listener[extras,linux,onnx]`. That extra existed once and does
not now:

    0.3.3a1   extras ['extras', 'linux', 'onnx']
    0.9.1a1   extras ['extras', 'linux', 'tests']
    0.10.5a2  extras ['extras', 'linux', 'tests']   (the constraints floor)

So the request has been silently doing nothing since the extra was removed
upstream. Nothing is lost by dropping it. What that extra carried is either
still installed or deliberately replaced:

    0.3.3a1 onnx extra:  onnxruntime
                         ovos-vad-plugin-silero
                         ovos-ww-plugin-openwakeword

`ovos-vad-plugin-silero` now comes from the `extras` extra the same line
already asks for, and `ovos-ww-plugin-precise-onnx` replaced
`ovos-ww-plugin-openwakeword` there. `onnxruntime` is declared by no extra of
this package any more, and it still resolves, by four routes:

    $ uv pip compile --prerelease=allow -c constraints-alpha.txt <lite base set>
    onnxruntime==1.30.0
        # via
        #   faster-whisper
        #   ovos-vad-plugin-silero
        #   ovos-ww-plugin-precise-onnx
        #   phoonnx

That resolution is x86_64. Whether `onnxruntime` has aarch64 wheels for the
rpi4 and rpi5 targets is a separate open question and is not answered by this
change or by any virtual environment.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@JarbasAl
JarbasAl force-pushed the fix/lite-base-stale-onnx-extra branch from b010e06 to f11ee43 Compare September 29, 2026 01:32
@JarbasAl
JarbasAl marked this pull request as ready for review October 8, 2026 19:43
@JarbasAl
JarbasAl merged commit c785db0 into dev Oct 8, 2026
4 checks passed
@JarbasAl
JarbasAl deleted the fix/lite-base-stale-onnx-extra branch October 8, 2026 19:43
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.

2 participants