From 733a9d838d10f3accdc4151c1e14988538ff1ff9 Mon Sep 17 00:00:00 2001 From: tsukumi Date: Sun, 10 Mar 2024 15:38:08 +0000 Subject: [PATCH] Fix: clearly include Pydantic v2 in the dependencies The Pydantic models in the library are written for Pydantic v2 and will not work with Pydantic v1. --- pyproject.toml | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9e68d6d..0a1bd99 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ dependencies = [ 'numba', 'numpy', 'pyannote.audio>=3.1.0', - 'pydantic', + 'pydantic>=2.0', 'pyopenjtalk-dict', 'pypinyin', # 'pyworld', diff --git a/requirements.txt b/requirements.txt index 669af2f..75dbdcd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ numba numpy psutil pyannote.audio>=3.1.0 -pydantic +pydantic>=2.0 pyloudnorm # pyopenjtalk-prebuilt # Should be manually uninstalled pyopenjtalk-dict