From fe84bb96f232f4d30feaa5aaad7cdb2e6bc25e18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Mon, 20 Jan 2025 08:49:30 -0800 Subject: [PATCH] github: remove test-requirements.txt --- .github/workflows/tests.yaml | 3 ++- README.md | 8 +++++++- test-requirements.txt | 29 ----------------------------- 3 files changed, 9 insertions(+), 31 deletions(-) delete mode 100644 test-requirements.txt diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index b806efad4..f86f2b9a4 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -45,7 +45,8 @@ jobs: run: | source .venv/bin/activate python -m pip install --upgrade pip - pip install -r dev-requirements.txt -r test-requirements.txt + pip install -r dev-requirements.txt + pip install ".[all]" - name: Test with pytest run: | source .venv/bin/activate diff --git a/README.md b/README.md index 52c6f831b..537a49214 100644 --- a/README.md +++ b/README.md @@ -192,7 +192,13 @@ pip install "path_to_this_repo[option,...]" ### Running tests -From the root directory, run: +Make sure you have all the dependencies installed: + +```shell +pip install --editable ".[all]" +``` + +Then, from the root directory, run: ```shell pytest --doctest-modules --ignore-glob="*to_be_updated*" --ignore-glob=*pipeline_source* src tests diff --git a/test-requirements.txt b/test-requirements.txt deleted file mode 100644 index f974121b0..000000000 --- a/test-requirements.txt +++ /dev/null @@ -1,29 +0,0 @@ -aiohttp~=3.10.3 -anthropic~=0.30.0 -azure-cognitiveservices-speech~=1.40.0 -boto3~=1.35.27 -daily-python~=0.11.0 -deepgram-sdk~=3.5.0 -fal-client~=0.4.1 -fastapi~=0.115.0 -faster-whisper~=1.0.3 -google-cloud-texttospeech~=2.21.1 -google-generativeai~=0.8.3 -langchain~=0.2.14 -livekit~=0.13.1 -lmnt~=1.1.4 -loguru~=0.7.2 -numpy~=1.26.4 -openai~=1.37.2 -openpipe~=4.24.0 -Pillow~=10.4.0 -pyaudio~=0.2.14 -pydantic~=2.8.2 -pyloudnorm~=0.1.1 -pyht~=0.1.4 -python-dotenv~=1.0.1 -resampy~=0.4.3 -silero-vad~=5.1 -together~=1.2.7 -transformers~=4.44.0 -websockets~=13.1