python3Packages.ctranslate2: disable failing tests on aarch64-linux (#506833)
This commit is contained in:
@@ -67,10 +67,15 @@ buildPythonPackage rec {
|
||||
rm -rf ctranslate2
|
||||
'';
|
||||
|
||||
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# Fatal Python error: Aborted
|
||||
"test_invalid_model_path"
|
||||
];
|
||||
disabledTests =
|
||||
lib.optionals (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux) [
|
||||
# RuntimeError: Failed to initialize cpuinfo!"
|
||||
"test_torch_variables"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# Fatal Python error: Aborted
|
||||
"test_invalid_model_path"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# TODO: ModuleNotFoundError: No module named 'opennmt'
|
||||
|
||||
Reference in New Issue
Block a user