Skip to content

Commit

Permalink
aider 0.60.0
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Oct 24, 2024
1 parent 80fd2a2 commit 2f4a01f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Formula/a/aider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ class Aider < Formula

desc "AI pair programming in your terminal"
homepage "https://aider.chat/"
url "https://files.pythonhosted.org/packages/94/61/f78dfd9f9f153cf2cffdc7cf3590c1d4e3bc9a79953dbccc30e7529ae63a/aider_chat-0.59.1.tar.gz"
sha256 "5e7ccb8c6b8054563d8c84a20f9d44dafd7f8f2e5fbb68275aa722386f2572f3"
url "https://files.pythonhosted.org/packages/a0/3d/ebfc0c6c818c88855aac34bb195c5738c473b84c89293a75db604eb9de3a/aider_chat-0.60.0.tar.gz"
sha256 "79517259e5a9c7d565d0b792cd5abdccf7fe2a19a7762a288c39bb28de51d952"
license "Apache-2.0"
head "https://github.com/paul-gauthier/aider.git", branch: "main"

Expand All @@ -25,7 +25,7 @@ class Aider < Formula
depends_on "libyaml"
depends_on "numpy"
depends_on "pillow"
depends_on "[email protected]"
depends_on "[email protected]" # py3.13 support issue, https://github.com/Aider-AI/aider/issues/1984
depends_on "scipy"

resource "aiohappyeyeballs" do
Expand Down Expand Up @@ -419,8 +419,11 @@ class Aider < Formula
sha256 "bc9eb26f4506fda01b81bcde0ca78103b6e62f991b381fec825435c836edbc29"
end

def python3
"python3.12"
end

def install

Check failure on line 426 in Formula/a/aider.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

`brew install --verbose --formula --build-bottle aider` failed on macOS Sequoia (15) on Apple Silicon!

File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/private/tmp/aider--tree-sitter-languages-20241024-24272-sgo1mb/py-tree-sitter-languages-1.10.2/setup.py", line 5, in <module> from Cython.Build import cythonize ModuleNotFoundError: No module named 'Cython' error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: /opt/homebrew/Cellar/aider/0.60.0/libexec/bin/python -c ' exec(compile('"'"''"'"''"'"' # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py # # - It imports setuptools before invoking setup.py, to enable projects that directly # import from `distutils.core` to work with newer packaging standards. # - It provides a clear error message when setuptools is not installed. # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: # manifest_maker: standard file '"'"'-c'"'"' not found". # - It generates a shim setup.py, for handling setup.cfg-only projects. import os, sys, tokenize try: import setuptools except ImportError as error: print( "ERROR: Can not execute `setup.py` since setuptools is not available in " "the build environment.", file=sys.stderr, ) sys.exit(1) __file__ = %r sys.argv[0] = __file__ if os.path.exists(__file__): filename = __file__ with tokenize.open(__file__) as f: setup_py_code = f.read() else: filename = "<auto-generated setuptools caller>" setup_py_code = "from setuptools import setup; setup()" exec(compile(setup_py_code, filename, "exec")) '"'"''"'"''"'"' % ('"'"'/private/tmp/aider--tree-sitter-languages-20241024-24272-sgo1mb/py-tree-sitter-languages-1.10.2/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' egg_info --egg-base /private/tmp/pip-pip-egg-info-d20yi6yt cwd: /private/tmp/aider--tree-sitter-languages-20241024-24272-sgo1mb/py-tree-sitter-languages-1.10.2/ Preparing metadata (setup.py): finished with status 'error' error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. ==> Formula Path: /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/a/aider.rb ==> Configuration HOMEBREW_VERSION: 4.4.2-43-g5538282 ORIGIN: https://github.com/Homebrew/brew HEAD: 5538282b4887f01d26a0f2c9aff44383d18f28d7 Last commit: 4 hours ago Core tap HEAD: 349cf724162bfd36ed446026c92a411b0c80e839 Core tap last commit: 19 minutes ago Core tap JSON: 24 Oct 23:33 UTC Core cask tap JSON: 24 Oct 23:33 UTC HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_CACHE: /Users/brew/Library/Caches/Homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: [email protected] HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs HOMEBREW_MAKE_JOBS: 4 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set HOMEBREW_NO_INSTALL_FROM_API: set HOMEBREW_SORBET_RUNTIME: set HOMEBREW_VERIFY_ATTESTATIONS: set Homebrew Ruby: 3.3.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby CPU: quad-core 64-bit dunno Clang: 16.0.0 build 1600 Git: 2.39.5 => /usr/bin/git Curl: 8.7.1 => /usr/bin/curl macOS: 15.1-arm64 CLT: 16.1.0.0.1.1729049160 Xcode: 16.1 Rosetta 2: false ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /opt/homebrew/opt/cython:/opt/homebrew/opt/open
python3 = "python3.12"
venv = virtualenv_install_with_resources without: "tree-sitter-languages"

# Requires building languages outside `setup.py`: https://github.com/grantjenks/py-tree-sitter-languages/pull/65
Expand Down

0 comments on commit 2f4a01f

Please sign in to comment.