From 7dce0bdb437f99a2da7aa25f239886d8ade91d06 Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Thu, 13 Feb 2025 20:50:05 +0000 Subject: [PATCH] python3Packages.craft-application: ignore broken tests with later craft-platforms A later version of craft-platforms slightly changes the wording of some error messages, which breaks a few assertions. This is a temporary fix until craft-application ships supporting craft-platforms 0.6.0 No functional issues appear to be present. --- pkgs/development/python-modules/craft-application/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/craft-application/default.nix b/pkgs/development/python-modules/craft-application/default.nix index f2a4a3d6bc8b..6e1456aad508 100644 --- a/pkgs/development/python-modules/craft-application/default.nix +++ b/pkgs/development/python-modules/craft-application/default.nix @@ -105,6 +105,10 @@ buildPythonPackage rec { "test_grammar_aware_part_error" "test_grammar_aware_part_error[part2]" "test_grammar_aware_project_error[project0]" + # Temp fix - asserts fail against error messages which have changed + # slightly in a later revision of craft-platforms. No functional error. + "test_platform_invalid_arch" + "test_platform_invalid_build_arch" ] ++ lib.optionals stdenv.hostPlatform.isAarch64 [ # These tests have hardcoded "amd64" strings which fail on aarch64