From 56a8429faa19ae71d79e079fc49bdb464e50add4 Mon Sep 17 00:00:00 2001 From: mattie ruth backman Date: Thu, 19 Sep 2024 17:44:04 -0400 Subject: [PATCH] make test requirements its own thing --- .github/workflows/build.yaml | 4 ---- .github/workflows/lint.yaml | 4 ---- .github/workflows/publish.yaml | 4 ---- .github/workflows/tests.yaml | 2 +- dev-requirements.txt | 27 -------------------------- test-requirements.txt | 35 ++++++++++++++++++++++++++++++++++ 6 files changed, 36 insertions(+), 40 deletions(-) create mode 100644 test-requirements.txt diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f64a199a2..0759bcb69 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -26,10 +26,6 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.10' - - name: Install system packages - id: install_system_packages - run: | - sudo apt-get install -y portaudio19-dev - name: Setup virtual environment run: | python -m venv .venv diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index c9e7d21f8..ad5b160f1 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -26,10 +26,6 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.10' - - name: Install system packages - id: install_system_packages - run: | - sudo apt-get install -y portaudio19-dev - name: Setup virtual environment run: | python -m venv .venv diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index b4520ff0b..68424f106 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -22,10 +22,6 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.10' - - name: Install system packages - id: install_system_packages - run: | - sudo apt-get install -y portaudio19-dev - name: Setup virtual environment run: | python -m venv .venv diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 52ecc01f6..740848cee 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -38,7 +38,7 @@ jobs: run: | source .venv/bin/activate python -m pip install --upgrade pip - pip install -r dev-requirements.txt + pip install -r test-requirements.txt - name: Test with pytest run: | source .venv/bin/activate diff --git a/dev-requirements.txt b/dev-requirements.txt index 7f52a49a1..6ce9ffcb4 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,35 +1,8 @@ -aiohttp~=3.10.3 -anthropic autopep8~=2.3.1 -azure-cognitiveservices-speech~=1.40.0 build~=1.2.1 -daily-python~=0.10.1 -deepgram-sdk~=3.5.0 -fal-client~=0.4.1 -fastapi~=0.112.1 -faster-whisper~=1.0.3 -google-generativeai~=0.7.2 grpcio-tools~=1.62.2 -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 pip-tools~=7.4.1 -pyaudio~=0.2.14 -pydantic~=2.8.2 -pyloudnorm~=0.1.1 -pyht~=0.0.28 pyright~=1.1.376 pytest~=8.3.2 -python-dotenv~=1.0.1 -resampy~=0.4.3 setuptools~=72.2.0 setuptools_scm~=8.1.0 -silero-vad~=5.1 -together~=1.2.7 -transformers~=4.44.0 -websockets~=12.0 diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 000000000..7f52a49a1 --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1,35 @@ +aiohttp~=3.10.3 +anthropic +autopep8~=2.3.1 +azure-cognitiveservices-speech~=1.40.0 +build~=1.2.1 +daily-python~=0.10.1 +deepgram-sdk~=3.5.0 +fal-client~=0.4.1 +fastapi~=0.112.1 +faster-whisper~=1.0.3 +google-generativeai~=0.7.2 +grpcio-tools~=1.62.2 +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 +pip-tools~=7.4.1 +pyaudio~=0.2.14 +pydantic~=2.8.2 +pyloudnorm~=0.1.1 +pyht~=0.0.28 +pyright~=1.1.376 +pytest~=8.3.2 +python-dotenv~=1.0.1 +resampy~=0.4.3 +setuptools~=72.2.0 +setuptools_scm~=8.1.0 +silero-vad~=5.1 +together~=1.2.7 +transformers~=4.44.0 +websockets~=12.0