From 808a9381712cc90215303faef8aa2f4def725ed7 Mon Sep 17 00:00:00 2001 From: Enno Hermann Date: Sat, 29 Jun 2024 15:12:29 +0200 Subject: [PATCH] build: specify minimum versions for dependencies --- pyproject.toml | 38 +++++++++++++++++++------------------- requirements.dev.txt | 8 ++++---- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 424ef521..07aaa42d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,7 +73,7 @@ dependencies = [ # Bark "encodec>=0.1.1", # XTTS - "num2words", + "num2words>=0.5.11", "spacy[ja]>=3" ] @@ -81,20 +81,20 @@ dependencies = [ # Development dependencies dev = [ "black==24.2.0", - "coverage[toml]", - "nose2", - "pre-commit", + "coverage[toml]>=7", + "nose2>=0.15", + "pre-commit>=3", "ruff==0.4.9", - "tomli; python_version < '3.11'", + "tomli>=2; python_version < '3.11'", ] # Dependencies for building the documentation docs = [ - "furo", + "furo>=2023.5.20", "myst-parser==2.0.0", "sphinx==7.2.5", - "sphinx_inline_tabs", - "sphinx_copybutton", - "linkify-it-py", + "sphinx_inline_tabs>=2023.4.21", + "sphinx_copybutton>=0.1", + "linkify-it-py>=2.0.0", ] # Only used in notebooks notebooks = [ @@ -102,30 +102,30 @@ notebooks = [ "pandas>=1.4,<2.0", ] # For running the TTS server -server = ["flask>=2.0.1"] +server = ["flask>=3.0.0"] # Language-specific dependencies, mainly for G2P # Bangla bn = [ - "bangla", - "bnnumerizer", - "bnunicodenormalizer", + "bangla>=0.0.2", + "bnnumerizer>=0.0.2", + "bnunicodenormalizer>=0.1.0", ] # Korean ko = [ - "hangul_romanize", - "jamo", + "hangul_romanize>=0.1.0", + "jamo>=0.4.1", "g2pkk>=0.1.1", ] # Japanese ja = [ - "mecab-python3", + "mecab-python3>=1.0.2", "unidic-lite==1.0.8", - "cutlet", + "cutlet>=0.2.0", ] # Chinese zh = [ - "jieba", - "pypinyin", + "jieba>=0.42.1", + "pypinyin>=0.40.0", ] # All language-specific dependencies languages = [ diff --git a/requirements.dev.txt b/requirements.dev.txt index 1e4a7bef..74ec0cd8 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -1,8 +1,8 @@ # Generated via scripts/generate_requirements.py and pre-commit hook. # Do not edit this file; modify pyproject.toml instead. black==24.2.0 -coverage[toml] -nose2 -pre-commit +coverage[toml]>=7 +nose2>=0.15 +pre-commit>=3 ruff==0.4.9 -tomli; python_version < '3.11' +tomli>=2; python_version < '3.11'