Skip to content

Commit

Permalink
do not use setuptools_scm at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Sep 1, 2024
1 parent 9bc61a6 commit e607835
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
9 changes: 2 additions & 7 deletions aider/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
from setuptools_scm import get_version

try:
__version__ = get_version(root="..", relative_to=__file__)
from aider.__version__ import __version__
except Exception:
try:
from aider.__version__ import __version__
except Exception:
__version__ = "0.54.11-dev"
__version__ = "0.54.11-dev"

__all__ = [__version__]
1 change: 0 additions & 1 deletion requirements/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ importlib_resources
pyperclip
pexpect
json5
setuptools_scm>=8

# The proper depdendency is networkx[default], but this brings
# in matplotlib and a bunch of other deps
Expand Down

0 comments on commit e607835

Please sign in to comment.