ovos-utils is collection of simple utilities for use across the openvoiceos ecosystem.
pip install ovos-utilsOr for development:
uv pip install -e ovos-utils/Open an issue on the GitHub repository. Ensure you are targeting the dev branch for fixes.
uv run pytest ovos-utils/test/ --cov=ovos_utils- Fork the repository and create a feature branch from
dev. - Write tests for your changes.
- Open a PR targeting the
devbranch. - Ensure CI passes before requesting review.
Why do I get AttributeError: module 'ovos_utils.version' has no attribute '__version__' during build?
This usually happens in isolated build environments (like python -m build) when a dependency (like kthread) is missing and the package __init__.py attempts to import it before the version can be read.
We have mitigated this by making kthread a lazy import in ovos_utils/thread_utils.py. If you encounter this with other dependencies, ensure they are also loaded lazily.