vectorcode: inherit doCheck from chromadb
The tests need to import onnxruntime (a transitive of chromadb), however it has issues running in the build sandbox on aarch64-linux. It may work at runtime, so the package is not marked broken, however it will break tests, so the check phase is disabled when building on aarch64-linux. Since the issue comes via chromadb, we inherit its `doCheck` attribute.
This commit is contained in:
@@ -127,6 +127,12 @@ python.pkgs.buildPythonApplication rec {
|
||||
};
|
||||
'';
|
||||
|
||||
# Test collection breaks on aarch64-linux, because the transitive onnxruntime
|
||||
# tries to read /sys/devices/system/cpu, which does not exist in the sandbox.
|
||||
#
|
||||
# We inherit the issue from chromadb, so inherit its `doCheck` attribute.
|
||||
inherit (python.pkgs.chromadb) doCheck;
|
||||
|
||||
pythonImportsCheck = [ "vectorcode" ];
|
||||
|
||||
nativeCheckInputs =
|
||||
|
||||
Reference in New Issue
Block a user