python3Packages.torchaudio: add missing test dependencies
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user