Repository navigation
fix(ca): install phoonnx for Catalan TTS, not the archived matxa plugin - #180
Draft
openvoiceos-bot wants to merge 1 commit into
Draft
openvoiceos-bot wants to merge 1 commit into
openvoiceos-bot wants to merge 1 commit into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: 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. Comment |
JarbasAl
force-pushed
the
fix/ca-image-phoonnx-tts
branch
from
September 25, 2026 23:35
638f0a6 to
35c22cc
Compare
The Catalan hybrid build cloned OpenVoiceOS/ovos-tts-plugin-matxa-multispeaker-cat and installed it editable under the alpha constraints file. That repository is archived, and its head caps ovos-plugin-manager below 2.2.0, which the constraints file cannot satisfy. So uv found no solution and `ca` was the only language whose build step failed. `ovos-config autoconfigure --lang ca-ES` already writes the module `ovos-tts-plugin-phoonnx` with the voice `OpenVoiceOS/matxa-cat-multiaccent-wavenext`, so the image installed one plugin and configured another. The entry point comes from the `phoonnx` distribution, which also ships the models, which is what the TODO above the clone waited for. Three things the first build of this change taught, in run 36200872556: The base image already carries phoonnx, so a plain `uv pip install "phoonnx[espeak,matcha]"` reports "Checked 1 package" and adds neither extra. `--reinstall-package phoonnx` is what makes them arrive, and the build now imports espyak and scipy to prove it. matcha is the engine of the Catalan voice; espeak is the espyak phonemizer that runs when the espeak-ng binary is absent, so the espeak-ng compile stays. `phoonnx-voices download` raises DatabaseNotCommitted on an image that never ran phoonnx, because it reloads a voice cache that does not exist yet. The build no longer calls it. The hub repository is not named after the voice id, and the download path also exits 0 on a network failure, so scripts/check_phoonnx_voice.py reads the bundled voice index, downloads the voice and then proves the model file is there. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
JarbasAl
force-pushed
the
fix/ca-image-phoonnx-tts
branch
from
September 25, 2026 23:35
35c22cc to
47e4ee0
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is wrong
lang_builds/hybrid/build_raspOVOS_ca.shclonedOpenVoiceOS/ovos-tts-plugin-matxa-multispeaker-catand installed it editableunder
constraints-alpha.txt. That repository is archived, and itsdevheadcaps
ovos-plugin-manager>=2.1.0,<2.2.0, which the constraints file cannotsatisfy.
uvfound no solution, socawas the only language whose build stepfailed (run
36138056055):No lane can widen that cap, because GitHub refuses pull requests to an archived
repository.
The image also installed one plugin and configured another.
ovos-config autoconfigure --lang ca-ESwrites:What this changes
The build installs
phoonnx[espeak,matcha], which declares theovos-tts-plugin-phoonnxentry point and ships the models. That answers theTODOabove the old clone, which waited for a PyPI artifact with a model.matchais the engine of the Catalan voice,espeakis theespyakphonemizer that runs when the
espeak-ngbinary is absent.espeak-ngcompile stays, because this voice phonemizes throughespeak-ngwhen the binary is there.phoonnx-voices downloadprints a network failure and exits 0, and the hubrepository is not named after the voice id
(
models--OpenVoiceOS--phoonnx-matcha, notmodels--OpenVoiceOS--matxa-cat-multiaccent-wavenext), soscripts/check_phoonnx_voice.pyasks phoonnx for the model path and failsthe build when the file is absent.
carow of the plugin table inREADME.mdanddocs/reference/variants.mdnow names the plugin the image installs.Evidence
Resolution under the real constraints file, Python 3.11 as on the image:
The voice downloads and speaks Catalan, with no
espeak-ngbinary present, sothe
espeakextra is load-bearing:The checker fails on a voice id that is not in the index (exit 1), which is the
control for the check itself.
A virtual environment is not proof of an image. The image build runs on
platform/validate-ca-phoonnx, which is this commit on top of #178 so thepublish jobs stay off: run
36200872556. The result is recorded inknowledge/wiki/audits/raspovos/T-5136-ca-phoonnx.md.The other twelve languages still fail Tier 2 on the
padaciosoconflict ofT-5125, which is not this change.
🤖 Generated with Claude Code