diff --git a/aider/__init__.py b/aider/__init__.py index 56b42b0a6..8b887a80f 100644 --- a/aider/__init__.py +++ b/aider/__init__.py @@ -12,6 +12,8 @@ if type(__version__) is not str: __version__ = safe_version + "+type" else: try: + print(__version__) + print(safe_version) if version.parse(__version__) < version.parse(safe_version): __version__ = safe_version + "+less" except Exception: diff --git a/scripts/versionbump.py b/scripts/versionbump.py index 018d238a1..7e09e1af1 100755 --- a/scripts/versionbump.py +++ b/scripts/versionbump.py @@ -154,8 +154,8 @@ def main(): if not dry_run: subprocess.run(cmd, check=True) - # Remove aider/__version__.py if it exists - version_file = "aider/__version__.py" + # Remove aider/_version.py if it exists + version_file = "aider/_version.py" if os.path.exists(version_file): print(f"Removing {version_file}") if not dry_run: