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:
parent
c960ba48d1
commit
df8c8b2e62
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user