python3Packages.langchain-xai: disable failing test on aarch64-linux (#426142)

This commit is contained in:
Pol Dellaiera
2025-07-19 22:48:34 +02:00
committed by GitHub

View File

@@ -1,5 +1,6 @@
{
lib,
stdenvNoCC,
buildPythonPackage,
fetchFromGitHub,
@@ -60,6 +61,13 @@ buildPythonPackage rec {
pytestFlagsArray = [ "tests/unit_tests" ];
disabledTests =
lib.optionals (stdenvNoCC.hostPlatform.isLinux && stdenvNoCC.hostPlatform.isAarch64)
[
# Compares a diff to a string literal and misses platform differences
"test_serdes"
];
pythonImportsCheck = [ "langchain_xai" ];
passthru.updateScript = gitUpdater {