Skip to content

Commit 9dfbc24

Browse files
committed
ci: test lowest and highest compatible versions of dependencies
1 parent c10938d commit 9dfbc24

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/tests.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,11 @@ jobs:
4545
sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
4646
- name: Install TTS
4747
run: |
48-
python3 -m uv pip install --system "coqui-tts[dev,server,languages] @ ."
49-
python3 setup.py egg_info
48+
resolution=highest
49+
if [ "${{ matrix.python-version }}" == "3.9" ]; then
50+
resolution=lowest-direct
51+
fi
52+
python3 -m uv pip install --resolution=$resolution --system "coqui-tts[dev,server,languages] @ ."
5053
- name: Unit tests
5154
run: make ${{ matrix.subset }}
5255
- name: Upload coverage data

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[build-system]
22
requires = [
33
"setuptools",
4+
"setuptools-scm",
45
"cython~=0.29.30",
56
"numpy>=2.0.0",
67
]

0 commit comments

Comments
 (0)