mirror of https://github.com/coqui-ai/TTS.git
Add 🐍 python 3.9 to CI
This commit is contained in:
parent
0ff2d2336a
commit
18e5393f16
|
@ -18,8 +18,8 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [3.6, 3.7, 3.8]
|
python-version: [3.6, 3.7, 3.8, 3.9]
|
||||||
|
experimental: [false]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
|
|
|
@ -89,7 +89,7 @@ Example run:
|
||||||
compute_linear_spec=False,
|
compute_linear_spec=False,
|
||||||
ap=ap,
|
ap=ap,
|
||||||
meta_data=meta_data,
|
meta_data=meta_data,
|
||||||
characters=c.characters if "characters" in C.keys() else None,
|
characters=C.characters if "characters" in C.keys() else None,
|
||||||
add_blank=C["add_blank"] if "add_blank" in C.keys() else False,
|
add_blank=C["add_blank"] if "add_blank" in C.keys() else False,
|
||||||
use_phonemes=C.use_phonemes,
|
use_phonemes=C.use_phonemes,
|
||||||
phoneme_cache_path=C.phoneme_cache_path,
|
phoneme_cache_path=C.phoneme_cache_path,
|
||||||
|
|
|
@ -18,7 +18,6 @@ def main():
|
||||||
parser = TrainingArgs().init_argparse(arg_prefix="")
|
parser = TrainingArgs().init_argparse(arg_prefix="")
|
||||||
parser.add_argument("--script", type=str, help="Target training script to distibute.")
|
parser.add_argument("--script", type=str, help="Target training script to distibute.")
|
||||||
args, unargs = parser.parse_known_args()
|
args, unargs = parser.parse_known_args()
|
||||||
breakpoint()
|
|
||||||
|
|
||||||
num_gpus = torch.cuda.device_count()
|
num_gpus = torch.cuda.device_count()
|
||||||
group_id = time.strftime("%Y_%m_%d-%H%M%S")
|
group_id = time.strftime("%Y_%m_%d-%H%M%S")
|
||||||
|
|
3
setup.py
3
setup.py
|
@ -11,7 +11,7 @@ import setuptools.command.develop
|
||||||
from Cython.Build import cythonize
|
from Cython.Build import cythonize
|
||||||
from setuptools import Extension, find_packages, setup
|
from setuptools import Extension, find_packages, setup
|
||||||
|
|
||||||
if LooseVersion(sys.version) < LooseVersion("3.6") or LooseVersion(sys.version) > LooseVersion("3.9"):
|
if LooseVersion(sys.version) < LooseVersion("3.6") or LooseVersion(sys.version) > LooseVersion("3.10"):
|
||||||
raise RuntimeError("TTS requires python >= 3.6 and <=3.10 " "but your Python version is {}".format(sys.version))
|
raise RuntimeError("TTS requires python >= 3.6 and <=3.10 " "but your Python version is {}".format(sys.version))
|
||||||
|
|
||||||
|
|
||||||
|
@ -106,6 +106,7 @@ setup(
|
||||||
"Programming Language :: Python :: 3.6",
|
"Programming Language :: Python :: 3.6",
|
||||||
"Programming Language :: Python :: 3.7",
|
"Programming Language :: Python :: 3.7",
|
||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
|
"Programming Language :: Python :: 3.9",
|
||||||
"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