From df8c8b2e624495f3038346c6f16995fa7f07f2a9 Mon Sep 17 00:00:00 2001 From: Nate Smith Date: Thu, 12 Sep 2024 16:16:42 -0400 Subject: [PATCH] aider-chat: skip version check in tests aider checks for a new version and prompts for an install on each launch. These prompts cause checks to fail on the package whenever a new version of the application is released. Skip those version checks and include some dependencies missing from the dependency check. --- pkgs/by-name/ai/aider-chat/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/ai/aider-chat/package.nix b/pkgs/by-name/ai/aider-chat/package.nix index 4317402281b1c..ba5540a976885 100644 --- a/pkgs/by-name/ai/aider-chat/package.nix +++ b/pkgs/by-name/ai/aider-chat/package.nix @@ -51,6 +51,7 @@ python3.pkgs.buildPythonApplication { numpy packaging pathspec + pexpect pillow playwright prompt-toolkit @@ -93,6 +94,8 @@ python3.pkgs.buildPythonApplication { "test_browser_flag_imports_streamlit" # AttributeError "test_simple_send_with_retries" + # Expected 'check_version' to have been called once + "test_main_exit_calls_version_check" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Tests fails on darwin @@ -102,6 +105,7 @@ python3.pkgs.buildPythonApplication { preCheck = '' export HOME=$(mktemp -d) + export AIDER_CHECK_UPDATE=false ''; meta = {