diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb75dec..2f957bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,10 @@ jobs: cache: pip # sounddevice needs PortAudio; phonemizer (pulled in by kokoro-onnx) needs espeak-ng. - name: install system audio/phoneme deps - run: sudo apt-get update && sudo apt-get install -y --no-install-recommends libportaudio2 espeak-ng + run: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends libportaudio2 espeak-ng pulseaudio + pulseaudio --start --exit-idle-time=-1 - run: pip install -e ".[dev]" - name: run tests (with coverage on 3.12) run: | diff --git a/pyproject.toml b/pyproject.toml index d4be2eb..cd6fad5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ dependencies = [ # MLX Audio is pre-1.0, so cap at the next minor; the floor is the version # verified end to end with stackvox's loader and generate() usage. mlx = [ - "mlx-audio>=0.4.5,<0.5; platform_system=='Darwin' and platform_machine=='arm64'", + "mlx-audio>=0.4.5,<0.7; platform_system=='Darwin' and platform_machine=='arm64'", ] dev = [ "pytest>=8.0",