python3Packages.torchaudio: add missing test dependencies

This commit is contained in:
Gaetan Lepage
2026-07-03 21:38:54 +00:00
parent 589077b08a
commit a74832c773
@@ -14,12 +14,17 @@
# tests
expecttest,
inflect,
librosa,
parameterized,
pytestCheckHook,
pytorch-lightning,
requests,
scipy,
sentencepiece,
soundfile,
unidecode,
# linux-only:
fairseq,
# passthru
torchaudio,
@@ -106,11 +111,21 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
scipy
sentencepiece
unidecode
librosa
requests
soundfile
]
++ lib.optionals stdenv.hostPlatform.isLinux [
fairseq
];
disabledTestPaths = [
# Require internet access
"test/integration_tests"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# Passes, but hangs the build after Pytest completes
"test/torchaudio_unittest/models/models_test.py::TestConvTasNet"
];
disabledTests = [