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.
This commit is contained in:
Nate Smith 2024-09-12 16:16:42 -04:00
parent c960ba48d1
commit df8c8b2e62
No known key found for this signature in database
GPG Key ID: F2089547768B6CCA

View File

@ -51,6 +51,7 @@ python3.pkgs.buildPythonApplication {
numpy numpy
packaging packaging
pathspec pathspec
pexpect
pillow pillow
playwright playwright
prompt-toolkit prompt-toolkit
@ -93,6 +94,8 @@ python3.pkgs.buildPythonApplication {
"test_browser_flag_imports_streamlit" "test_browser_flag_imports_streamlit"
# AttributeError # AttributeError
"test_simple_send_with_retries" "test_simple_send_with_retries"
# Expected 'check_version' to have been called once
"test_main_exit_calls_version_check"
] ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ ++ lib.optionals stdenv.hostPlatform.isDarwin [
# Tests fails on darwin # Tests fails on darwin
@ -102,6 +105,7 @@ python3.pkgs.buildPythonApplication {
preCheck = '' preCheck = ''
export HOME=$(mktemp -d) export HOME=$(mktemp -d)
export AIDER_CHECK_UPDATE=false
''; '';
meta = { meta = {