Skip to content

Commit

Permalink
chore: Try pocketsphinx 5 to fix #621
Browse files Browse the repository at this point in the history
  • Loading branch information
ftnext committed Jan 24, 2025
1 parent c9f0027 commit 86b3c6b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
fail-fast: true
matrix:
include:
- os: ubuntu-22.04
- os: ubuntu-latest
python-version: "3.9"
- os: ubuntu-22.04
- os: ubuntu-latest
python-version: "3.10"
- os: ubuntu-22.04
- os: ubuntu-latest
python-version: "3.11"
- os: ubuntu-22.04
- os: ubuntu-latest
python-version: "3.12"
- os: ubuntu-22.04
- os: ubuntu-latest
python-version: "3.13"
- os: windows-latest
python-version: "3.11"
Expand All @@ -34,7 +34,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install build dependencies
if: matrix.os == 'ubuntu-22.04'
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
# For pocketsphinx (already installed: swig)
Expand All @@ -44,11 +44,11 @@ jobs:
- name: Install ffmpeg (for Whisper)
uses: FedericoCarboni/setup-ffmpeg@v3
- name: Install Python dependencies (Ubuntu, <=3.12)
if: matrix.os == 'ubuntu-22.04' && matrix.python-version != '3.13'
if: matrix.os == 'ubuntu-latest' && matrix.python-version != '3.13'
run: |
python -m pip install .[dev,audio,pocketsphinx,google-cloud,whisper-local,faster-whisper,openai,groq]
- name: Install Python dependencies (Ubuntu, 3.13)
if: matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.13'
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13'
run: |
python -m pip install standard-aifc setuptools
python -m pip install --no-build-isolation .[dev,audio,pocketsphinx,google-cloud,openai,groq]
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dev =
audio =
PyAudio >= 0.2.11
pocketsphinx =
pocketsphinx < 5
pocketsphinx
google-cloud =
google-cloud-speech
whisper-local =
Expand Down

0 comments on commit 86b3c6b

Please sign in to comment.