Skip to content

Release 0.4.4a1 - #29

Open
github-actions[bot] wants to merge 11 commits into
masterfrom
release-0.4.4a1
Open

Release 0.4.4a1#29
github-actions[bot] wants to merge 11 commits into
masterfrom
release-0.4.4a1

Conversation

@github-actions

Copy link
Copy Markdown

Human review requested!

dscripka and others added 11 commits April 22, 2024 00:59
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* test: add ovoscope e2e listener test + fix melspectrogram flush buffer shape

Add test/test_e2e_listener.py wiring OwwHotwordPlugin into MiniVoiceLoop:
- Positive: hey_mycroft_test.wav (bundled real sample, ≥0.98 confidence) asserts
  recognizer_loop:wakeword + record_begin via assert_wakeword_detected.
- Negative: command.wav asserts no wakeword via assert_wakeword_suppressed.

Fix ValueError in OwwHotwordPlugin.update: melspectrogram_buffer flush assumed
≥250 rows but fires on the first detection when the buffer is still small;
clamp flush height to min(250, buf.shape[0]).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix: migrate to pyproject.toml and reusable gh-automations workflows

Add [build-system] block (setuptools>=61.0+wheel) so python -m build works.
Add __version__ to version.py for dynamic version attr. Widen
ovos-plugin-manager bound to <3.0.0. Replace 7 hand-rolled workflows with
build-tests.yml@dev, release_workflow, publish_stable, conventional-label.

Co-Authored-By: JarbasAi <jarbasai@mailfence.com>

* ci: add license-check (canonical invocation)

* fix: pin ovoscope voice_loop deps and cap matrix for tflite-runtime

Pin ovoscope>=0.19.0a1 (provides ovoscope.voice_loop), add
ovos-dinkum-listener for MiniVoiceLoop, and pytest<9 for the ovoscope
pytest plugin. Cap the build-tests matrix and the license-check
interpreter at Python 3.11, since openwakeword requires tflite-runtime
(<3,>=2.8.0) which only ships wheels up to CPython 3.11. Drop the
leftover setup.py, requirements/, MANIFEST.in and lichecker license test.

* fix: constrain numpy<2 for tflite-runtime and exclude tqdm license

Pin numpy<2 because tflite-runtime (required by openwakeword on Linux)
ships C-extensions built against the numpy 1.x ABI and crashes under
numpy 2.x. Exclude tqdm (dual-licensed MPL-2.0 AND MIT, used as an
unmodified library) from the license check.

* test: require ovoscope/engine deps instead of skipping

Remove importorskip and conditional import-skip guards from the e2e
listener test so missing dependencies surface as failures rather than
silently skipped tests.

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: use canonical opm.wake_word entry-point group (drop deprecated mycroft.plugin.wake_word)

* fix: require ovos-plugin-manager>=2.4.0a1 for canonical opm.* entry points
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