diff --git a/.github/workflows/aux_tests.yml b/.github/workflows/aux_tests.yml index ceb0c64016..d7612d6d1d 100644 --- a/.github/workflows/aux_tests.yml +++ b/.github/workflows/aux_tests.yml @@ -33,13 +33,13 @@ jobs: sudo apt-get install -y git make gcc make system-deps - name: Install/upgrade Python setup deps - run: python3 -m pip install --upgrade pip setuptools wheel + run: python3 -m pip install --upgrade pip setuptools wheel uv - name: Replace scarf urls run: | sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json - name: Install TTS run: | - python3 -m pip install .[all] + python3 -m uv pip install --system "TTS[all] @ ." python3 setup.py egg_info - name: Unit tests run: make test_aux diff --git a/.github/workflows/data_tests.yml b/.github/workflows/data_tests.yml index d5bfef3f77..c1b7e50d19 100644 --- a/.github/workflows/data_tests.yml +++ b/.github/workflows/data_tests.yml @@ -33,13 +33,13 @@ jobs: sudo apt-get install -y --no-install-recommends git make gcc make system-deps - name: Install/upgrade Python setup deps - run: python3 -m pip install --upgrade pip setuptools wheel + run: python3 -m pip install --upgrade pip setuptools wheel uv - name: Replace scarf urls run: | sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json - name: Install TTS run: | - python3 -m pip install .[all] + python3 -m uv pip install --system "TTS[all] @ ." python3 setup.py egg_info - name: Unit tests run: make data_tests diff --git a/.github/workflows/inference_tests.yml b/.github/workflows/inference_tests.yml index d7a01adf2c..a396add216 100644 --- a/.github/workflows/inference_tests.yml +++ b/.github/workflows/inference_tests.yml @@ -35,13 +35,13 @@ jobs: sudo apt-get install espeak-ng make system-deps - name: Install/upgrade Python setup deps - run: python3 -m pip install --upgrade pip setuptools wheel + run: python3 -m pip install --upgrade pip setuptools wheel uv - name: Replace scarf urls run: | sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json - name: Install TTS run: | - python3 -m pip install .[all] + python3 -m uv pip install --system "TTS[all] @ ." python3 setup.py egg_info - name: Unit tests run: make inference_tests diff --git a/.github/workflows/text_tests.yml b/.github/workflows/text_tests.yml index 4bcb685887..adfba0260c 100644 --- a/.github/workflows/text_tests.yml +++ b/.github/workflows/text_tests.yml @@ -35,10 +35,10 @@ jobs: sudo apt-get install espeak-ng make system-deps - name: Install/upgrade Python setup deps - run: python3 -m pip install --upgrade pip setuptools wheel + run: python3 -m pip install --upgrade pip setuptools wheel uv - name: Install TTS run: | - python3 -m pip install .[all] + python3 -m uv pip install --system "TTS[all] @ ." python3 setup.py egg_info - name: Unit tests run: make test_text diff --git a/.github/workflows/tts_tests.yml b/.github/workflows/tts_tests.yml index 60940ba8aa..72fa0a9f29 100644 --- a/.github/workflows/tts_tests.yml +++ b/.github/workflows/tts_tests.yml @@ -35,13 +35,13 @@ jobs: sudo apt-get install espeak-ng make system-deps - name: Install/upgrade Python setup deps - run: python3 -m pip install --upgrade pip setuptools wheel + run: python3 -m pip install --upgrade pip setuptools wheel uv - name: Replace scarf urls run: | sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json - name: Install TTS run: | - python3 -m pip install .[all] + python3 -m uv pip install --system "TTS[all] @ ." python3 setup.py egg_info - name: Unit tests run: make test_tts diff --git a/.github/workflows/tts_tests2.yml b/.github/workflows/tts_tests2.yml index 17cb3f2f56..0ac42993d6 100644 --- a/.github/workflows/tts_tests2.yml +++ b/.github/workflows/tts_tests2.yml @@ -35,13 +35,13 @@ jobs: sudo apt-get install espeak-ng make system-deps - name: Install/upgrade Python setup deps - run: python3 -m pip install --upgrade pip setuptools wheel + run: python3 -m pip install --upgrade pip setuptools wheel uv - name: Replace scarf urls run: | sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json - name: Install TTS run: | - python3 -m pip install .[all] + python3 -m uv pip install --system "TTS[all] @ ." python3 setup.py egg_info - name: Unit tests run: make test_tts2 diff --git a/.github/workflows/vocoder_tests.yml b/.github/workflows/vocoder_tests.yml index 778529b298..b877942a8f 100644 --- a/.github/workflows/vocoder_tests.yml +++ b/.github/workflows/vocoder_tests.yml @@ -33,10 +33,10 @@ jobs: sudo apt-get install -y git make gcc make system-deps - name: Install/upgrade Python setup deps - run: python3 -m pip install --upgrade pip setuptools wheel + run: python3 -m pip install --upgrade pip setuptools wheel uv - name: Install TTS run: | - python3 -m pip install .[all] + python3 -m uv pip install --system "TTS[all] @ ." python3 setup.py egg_info - name: Unit tests run: make test_vocoder diff --git a/.github/workflows/xtts_tests.yml b/.github/workflows/xtts_tests.yml index 99cec287eb..08093e578b 100644 --- a/.github/workflows/xtts_tests.yml +++ b/.github/workflows/xtts_tests.yml @@ -35,13 +35,13 @@ jobs: sudo apt-get install espeak-ng make system-deps - name: Install/upgrade Python setup deps - run: python3 -m pip install --upgrade pip setuptools wheel + run: python3 -m pip install --upgrade pip setuptools wheel uv - name: Replace scarf urls run: | sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json - name: Install TTS run: | - python3 -m pip install .[all] + python3 -m uv pip install --system "TTS[all] @ ." python3 setup.py egg_info - name: Unit tests run: make test_xtts diff --git a/.github/workflows/zoo_tests0.yml b/.github/workflows/zoo_tests0.yml index 69deb884ef..3337d375a2 100644 --- a/.github/workflows/zoo_tests0.yml +++ b/.github/workflows/zoo_tests0.yml @@ -34,13 +34,13 @@ jobs: sudo apt-get install espeak espeak-ng make system-deps - name: Install/upgrade Python setup deps - run: python3 -m pip install --upgrade pip setuptools wheel + run: python3 -m pip install --upgrade pip setuptools wheel uv - name: Replace scarf urls run: | sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json - name: Install TTS run: | - python3 -m pip install .[all] + python3 -m uv pip install --system "TTS[all] @ ." python3 setup.py egg_info - name: Unit tests run: | diff --git a/.github/workflows/zoo_tests1.yml b/.github/workflows/zoo_tests1.yml index 7a10c6af70..03147423a1 100644 --- a/.github/workflows/zoo_tests1.yml +++ b/.github/workflows/zoo_tests1.yml @@ -34,14 +34,14 @@ jobs: sudo apt-get install espeak espeak-ng make system-deps - name: Install/upgrade Python setup deps - run: python3 -m pip install --upgrade pip setuptools wheel + run: python3 -m pip install --upgrade pip setuptools wheel uv - name: Replace scarf urls run: | sed -i 's/https:\/\/coqui.gateway.scarf.sh\/hf\/bark\//https:\/\/huggingface.co\/erogol\/bark\/resolve\/main\//g' TTS/.models.json sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json - name: Install TTS run: | - python3 -m pip install .[all] + python3 -m uv pip install --system "TTS[all] @ ." python3 setup.py egg_info - name: Unit tests run: nose2 -F -v -B --with-coverage --coverage TTS tests.zoo_tests.test_models.test_models_offset_1_step_3 diff --git a/.github/workflows/zoo_tests2.yml b/.github/workflows/zoo_tests2.yml index 0e0392f70a..8111860bdc 100644 --- a/.github/workflows/zoo_tests2.yml +++ b/.github/workflows/zoo_tests2.yml @@ -34,13 +34,13 @@ jobs: sudo apt-get install espeak espeak-ng make system-deps - name: Install/upgrade Python setup deps - run: python3 -m pip install --upgrade pip setuptools wheel + run: python3 -m pip install --upgrade pip setuptools wheel uv - name: Replace scarf urls run: | sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json - name: Install TTS run: | - python3 -m pip install .[all] + python3 -m uv pip install --system "TTS[all] @ ." python3 setup.py egg_info - name: Unit tests run: nose2 -F -v -B --with-coverage --coverage TTS tests.zoo_tests.test_models.test_models_offset_2_step_3