Merge pull request #13 from eginhard/pip-to-uv

ci: switch from pip to uv
This commit is contained in:
Enno Hermann 2024-03-10 12:16:04 +01:00 committed by GitHub
commit ab14f3c91b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 22 additions and 22 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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: |

View File

@ -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

View File

@ -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