Skip to content

Release 0.4.0a1 - #41

Open
github-actions[bot] wants to merge 24 commits into
masterfrom
release-0.4.0a1
Open

Release 0.4.0a1#41
github-actions[bot] wants to merge 24 commits into
masterfrom
release-0.4.0a1

Conversation

@github-actions

Copy link
Copy Markdown

Human review requested!

renovate Bot and others added 24 commits December 18, 2025 03:56
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Rename all locale directories to use canonical BCP-47 codes:
- Lowercase regions → uppercase (da-dk → da-DK, en-us → en-US)
- Bare language codes → full BCP-47 (da → da-DK, eu → eu-ES)
- Invalid codes remapped (eu-eu → eu-ES, fa-fa → fa-IR)
- Nested bare-language subdirs merged up (eu-ES/eu/ → eu-ES/)

This fixes wheel build failures caused by ZIP files containing
duplicate entries with different contents for the same logical path.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore: add missing shared CI workflows

* chore: modernize packaging to pyproject.toml

* fix: use canonical opm.* entry-point group (drop deprecated ovos.plugin.g2p)

* fix: require ovos-plugin-manager>=2.4.0a1 for canonical opm.* entry points

* fix: cap ovos-* dependencies at next major so latest versions resolve

* fix: require ovos-plugin-manager>=2.1.0 for opm.* entry points and cap ovos-* deps at next major

* test: real mimic unit tests + dedicated unit_tests workflow

Replace the brittle placeholder test_something (hard-coded phoneme
durations) with real tests: binary resolution, WAV synthesis, phoneme
parsing, viseme mapping, and supported languages.

The mimic unit tests need the `mimic` binary, which is not an apt package
(it ships as a .deb from the mycroft-desktop repo). The shared build-tests
workflow can only install apt deps, so:
  - build-tests runs build/install verification only (drop test_path)
  - a dedicated unit_tests.yml installs the mimic .deb and runs the tests

Add a [test] extra and tidy the stale Python 2/3.0-3.6 classifiers.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* ci: make coverage job self-contained so mimic binary is present

The reusable gh-automations coverage.yml only supports apt packages via
system_deps, but mimic is not an apt package, so mimic_bin resolved to None
and the binary-dependent tests (test_binary_resolved,
test_get_tts_writes_wav_and_phonemes, test_visemes_from_phonemes) failed
under coverage/coverage. Replace the thin reusable caller with a
self-contained job that installs the mimic .deb before running pytest with
coverage, mirroring unit_tests.yml.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
* test: add TTS intelligibility e2e (ovoscope)

* fix: allow ovos-plugin-manager 2.2.x and modernize CI workflows

* fix(ci): mimic --version exits non-zero, check binary on PATH instead

* fix(tts-intelligibility): gate at WER 0.5 and emit JSON score marker

* fix(tts-intelligibility): use direct mode (headless CI has no audio player)

* fix(ci): install mimic binary in tts-intelligibility job

The mimic synthesis binary is not in the apt repos, so the reusable
workflow's system_deps input cannot provide it and get_tts crashed.
Replace the reusable-workflow call with an inline job that installs the
mimic .deb (same step as unit tests) before running the round-trip, so a
real WER score is produced instead of a synthesis crash. Keeps
ovoscope[tts]@dev (pre_release) and PR-comment posting.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* ci: re-trigger tts-intelligibility after ovoscope#77

Re-run the intelligibility check now that ovoscope@dev scores synthesis
failures as a total miss instead of aborting, so a real WER/CER table is
produced.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix: fall back to ap voice when voice is the base default

The TTS base defaults voice to the literal 'default', which mimic does not
ship as a voice; map it (and empty/None) to the bundled US-English 'ap'
voice so synthesis produces intelligible audio.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* ci: re-trigger after ovoscope 16kHz-resample fix

ovoscope@dev now normalises rendered audio to 16kHz mono before the STT
round-trip, so mimic's 44.1kHz ap voice is scored correctly instead of being
heard sped-up.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Build Mimic 1 from source in a multi-stage image and serve it behind
ovos-tts-server on port 9666, published to GHCR by CI.
…ilds pcre

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
feat: serve mimic via ovos-tts-server docker image
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.

1 participant