mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 18:54:59 +00:00
cleanup
This commit is contained in:
parent
2d0f789cb9
commit
46083802c7
2 changed files with 2 additions and 10 deletions
|
@ -13,15 +13,7 @@ def check_version(print_cmd):
|
|||
latest_version = data["info"]["version"]
|
||||
current_version = aider.__version__
|
||||
|
||||
from aider.dump import dump
|
||||
dump(current_version)
|
||||
dump(packaging.version.parse(latest_version))
|
||||
dump(packaging.version.parse(
|
||||
current_version
|
||||
))
|
||||
if packaging.version.parse(latest_version) <= packaging.version.parse(
|
||||
current_version
|
||||
):
|
||||
if packaging.version.parse(latest_version) <= packaging.version.parse(current_version):
|
||||
return
|
||||
|
||||
print_cmd(f"Newer version v{latest_version} is available. To upgrade, run:")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue