From ff8c56b08bcbbe9bea6f3eadd52921d3981b37ee Mon Sep 17 00:00:00 2001 From: TianYuan Date: Tue, 28 Feb 2023 17:00:17 +0800 Subject: [PATCH] [Install]fix praatio's version because praatio==6.0.0 has incompatible upgrade (#2970) --- docs/requirements.txt | 2 +- setup.py | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 65f451cd2..c2d56bf91 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -23,7 +23,7 @@ paddlespeech_feat pandas pattern_singleton ppdiffusers>=0.9.0 -praatio>=5.0.0 +praatio>=5.0.0, <=5.1.1 prettytable pypinyin-dict pypinyin<=0.44.0 diff --git a/setup.py b/setup.py index 69739b3b8..970cb984a 100644 --- a/setup.py +++ b/setup.py @@ -32,10 +32,12 @@ VERSION = '0.0.0' COMMITID = 'none' base = [ + "braceexpand", "editdistance", "g2p_en", "g2pM", "h5py", + "hyperpyyaml", "inflect", "jsonlines", "librosa==0.8.1", @@ -46,14 +48,18 @@ base = [ "opencc", "opencc-python-reimplemented", "pandas", + "paddleaudio>=1.1.0", "paddlenlp>=2.4.8", + "paddleslim>=2.3.4", "ppdiffusers>=0.9.0", "paddlespeech_feat", - "praatio>=5.0.0", + "praatio>=5.0.0, <=5.1.1", + "prettytable", "pypinyin<=0.44.0", "pypinyin-dict", "python-dateutil", "pyworld>=0.2.12", + "pyyaml", "resampy", "sacrebleu", "textgrid", @@ -62,13 +68,7 @@ base = [ "typeguard", "webrtcvad", "yacs~=0.1.8", - "prettytable", "zhon", - "braceexpand", - "pyyaml", - "paddleslim>=2.3.4", - "paddleaudio>=1.1.0", - "hyperpyyaml", ] server = ["pattern_singleton", "websockets"]