refactor: Improve version handling and cleanup version-related files

This commit is contained in:
Paul Gauthier 2024-11-30 10:10:03 -08:00 committed by Paul Gauthier (aider)
parent 295040c94c
commit 0dbaec553f
5 changed files with 17 additions and 9 deletions

View file

@ -949,6 +949,10 @@ def is_first_run_of_new_version(io, verbose=False):
installs_file = Path.home() / ".aider" / "installs.json"
key = (__version__, sys.executable)
# Never show notes for .dev versions
if ".dev" in __version__:
return False
if verbose:
io.tool_output(
f"Checking imports for version {__version__} and executable {sys.executable}"