mirror of https://github.com/coqui-ai/TTS.git
Update requirements
This commit is contained in:
parent
ddbb27547a
commit
a58fb6c01b
|
@ -36,7 +36,7 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.7", "3.8", "3.9", "3.10"]
|
python-version: ["3.8", "3.9", "3.10", "3.11"]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
|
@ -64,10 +64,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: "sdist"
|
name: "sdist"
|
||||||
path: "dist/"
|
path: "dist/"
|
||||||
- uses: actions/download-artifact@v2
|
|
||||||
with:
|
|
||||||
name: "wheel-3.7"
|
|
||||||
path: "dist/"
|
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: "wheel-3.8"
|
name: "wheel-3.8"
|
||||||
|
@ -80,6 +76,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: "wheel-3.10"
|
name: "wheel-3.10"
|
||||||
path: "dist/"
|
path: "dist/"
|
||||||
|
- uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: "wheel-3.11"
|
||||||
|
path: "dist/"
|
||||||
- run: |
|
- run: |
|
||||||
ls -lh dist/
|
ls -lh dist/
|
||||||
- name: Setup PyPI config
|
- name: Setup PyPI config
|
||||||
|
|
|
@ -327,7 +327,9 @@ class ModelManager(object):
|
||||||
# find downloaded files
|
# find downloaded files
|
||||||
output_model_path = output_path
|
output_model_path = output_path
|
||||||
output_config_path = None
|
output_config_path = None
|
||||||
if model not in ["tortoise-v2", "bark"] and "fairseq" not in model_name: # TODO:This is stupid but don't care for now.
|
if (
|
||||||
|
model not in ["tortoise-v2", "bark"] and "fairseq" not in model_name
|
||||||
|
): # TODO:This is stupid but don't care for now.
|
||||||
output_model_path, output_config_path = self._find_files(output_path)
|
output_model_path, output_config_path = self._find_files(output_path)
|
||||||
# update paths in the config.json
|
# update paths in the config.json
|
||||||
self._update_paths(output_path, output_config_path)
|
self._update_paths(output_path, output_config_path)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools", "wheel", "cython==0.29.28", "numpy==1.21.6", "packaging"]
|
requires = ["setuptools", "wheel", "cython==0.29.30", "numpy==1.22.0", "packaging"]
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
max-line-length=120
|
max-line-length=120
|
||||||
|
|
|
@ -1,14 +1,15 @@
|
||||||
# core deps
|
# core deps
|
||||||
numpy==1.21.6;python_version<"3.10"
|
numpy==1.22.0
|
||||||
numpy;python_version=="3.10"
|
numpy==1.22.0
|
||||||
cython==0.29.28
|
cython==0.29.30
|
||||||
scipy>=1.4.0
|
scipy>=1.4.0
|
||||||
torch>=1.7
|
torch>=1.7
|
||||||
torchaudio
|
torchaudio
|
||||||
soundfile
|
soundfile
|
||||||
librosa==0.10.0.*
|
librosa==0.10.0.*
|
||||||
numba==0.55.1;python_version<"3.9"
|
numba==0.55.1;python_version<"3.9"
|
||||||
numba==0.56.4;python_version>="3.9"
|
numba==0.56.4;python_version<="3.10"
|
||||||
|
numba==0.57.1;python_version>"3.10"
|
||||||
inflect==5.6.0
|
inflect==5.6.0
|
||||||
tqdm
|
tqdm
|
||||||
anyascii
|
anyascii
|
||||||
|
@ -26,14 +27,14 @@ pandas
|
||||||
# deps for training
|
# deps for training
|
||||||
matplotlib
|
matplotlib
|
||||||
# coqui stack
|
# coqui stack
|
||||||
trainer==0.0.20
|
trainer
|
||||||
# config management
|
# config management
|
||||||
coqpit>=0.0.16
|
coqpit>=0.0.16
|
||||||
# chinese g2p deps
|
# chinese g2p deps
|
||||||
jieba
|
jieba
|
||||||
pypinyin
|
pypinyin
|
||||||
# japanese g2p deps
|
# japanese g2p deps
|
||||||
mecab-python3==1.0.5
|
mecab-python3==1.0.6
|
||||||
unidic-lite==1.0.8
|
unidic-lite==1.0.8
|
||||||
# gruut+supported langs
|
# gruut+supported langs
|
||||||
gruut[de,es,fr]==2.2.3
|
gruut[de,es,fr]==2.2.3
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[build_py]
|
[build_py]
|
||||||
build-lib=temp_build
|
build_lib=temp_build
|
||||||
|
|
||||||
[bdist_wheel]
|
[bdist_wheel]
|
||||||
bdist-dir=temp_build
|
bdist_dir=temp_build
|
||||||
|
|
||||||
[install_lib]
|
[install_lib]
|
||||||
build-dir=temp_build
|
build_dir=temp_build
|
||||||
|
|
8
setup.py
8
setup.py
|
@ -32,8 +32,8 @@ from Cython.Build import cythonize
|
||||||
from setuptools import Extension, find_packages, setup
|
from setuptools import Extension, find_packages, setup
|
||||||
|
|
||||||
python_version = sys.version.split()[0]
|
python_version = sys.version.split()[0]
|
||||||
if Version(python_version) < Version("3.7") or Version(python_version) >= Version("3.11"):
|
if Version(python_version) < Version("3.8") or Version(python_version) >= Version("3.12"):
|
||||||
raise RuntimeError("TTS requires python >= 3.7 and < 3.11 " "but your Python version is {}".format(sys.version))
|
raise RuntimeError("TTS requires python >= 3.8 and < 3.12 " "but your Python version is {}".format(sys.version))
|
||||||
|
|
||||||
|
|
||||||
cwd = os.path.dirname(os.path.abspath(__file__))
|
cwd = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
@ -114,15 +114,15 @@ setup(
|
||||||
"dev": requirements_dev,
|
"dev": requirements_dev,
|
||||||
"notebooks": requirements_notebooks,
|
"notebooks": requirements_notebooks,
|
||||||
},
|
},
|
||||||
python_requires=">=3.7.0, <3.11",
|
python_requires=">=3.8.0, <3.12",
|
||||||
entry_points={"console_scripts": ["tts=TTS.bin.synthesize:main", "tts-server = TTS.server.server:main"]},
|
entry_points={"console_scripts": ["tts=TTS.bin.synthesize:main", "tts-server = TTS.server.server:main"]},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Programming Language :: Python",
|
"Programming Language :: Python",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"Programming Language :: Python :: 3.7",
|
|
||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
"Programming Language :: Python :: 3.10",
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Programming Language :: Python :: 3.11",
|
||||||
"Development Status :: 3 - Alpha",
|
"Development Status :: 3 - Alpha",
|
||||||
"Intended Audience :: Science/Research",
|
"Intended Audience :: Science/Research",
|
||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
|
|
Loading…
Reference in New Issue