From ef74324879ee7b86de3b02697aa16bf71dba7fae Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Mon, 16 Sep 2024 11:30:06 -0700 Subject: [PATCH] Fix typo in dependency handling change --- neon_audio/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neon_audio/utils.py b/neon_audio/utils.py index 2af4d14..c864432 100644 --- a/neon_audio/utils.py +++ b/neon_audio/utils.py @@ -74,6 +74,7 @@ def build_extra_dependency_list(config: Union[dict, Configuration], additional: return dependencies + @deprecated("Replaced by `neon_utils.packaging_utils.install_packages_from_pip`", "2.0.0") def install_tts_plugin(plugin: str) -> bool: """ @@ -85,7 +86,7 @@ def install_tts_plugin(plugin: str) -> bool: _, tmp_file = mkstemp() with open(tmp_file, 'w') as f: constraints = '\n'.join(get_package_dependencies("neon-audio")) - constraints += '\n'.join(get_package_dependencies("ovos-audio")) + constraints += '\n' + '\n'.join(get_package_dependencies("ovos-audio")) f.write(constraints) LOG.info(f"Constraints={constraints}") LOG.info(f"Requested installation of plugin: {plugin}")