Package Details: aider-chat 0.86.2-2

Git Clone URL: https://aur.archlinux.org/aider-chat.git (read-only, click to copy)
Package Base: aider-chat
Description: AI pair programming in your terminal
Upstream URL: https://github.com/Aider-AI/aider
Licenses: Apache-2.0
Submitter: Auerhuhn
Maintainer: Auerhuhn (AlphaJack)
Last Packager: Auerhuhn
Votes: 6
Popularity: 0.46
First Submitted: 2025-03-10 21:20 (UTC)
Last Updated: 2026-03-16 21:56 (UTC)

Latest Comments

1 2 Next › Last »

Auerhuhn commented on 2026-03-16 21:59 (UTC)

Thanks for the heads up @cyrozap. I just pushed an update.

Fyi, I added the upstream PR instead of your patch; they do the same thing though.

cyrozap commented on 2026-03-01 22:09 (UTC)

It looks like litellm has a new exception type that isn't yet handled by Aider, causing the build to fail with ValueError: PermissionDeniedError is in litellm but not in aider's exceptions list.

This patch to the package fixed it for me:

diff --git a/PKGBUILD b/PKGBUILD
index b7b48dd..cd85957 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -80,12 +80,14 @@ source=(
   'archlinux-use-system.patch'
   'aur-install-notice.patch'
   'fix-build-from-tarball.patch'
+  'fix-exceptions.diff'
 )

 sha512sums=('304a7ed346ba397c21a7aa3a6563d2cffca9c95a8a67e98a93c14fdd9c86f24ff41224cdd31aebb7e3940a98ac07825ed3a7a6720143178116d9204f17021562'
             '18acc792128e0748c099e0daa7061c780a43fdb384251f980ff36424b5450cb35e885a8e84af4990923db76a1f30e39a2e1a178eaf88409c0818e4ee134f1644'
             '39466f05535330372d3f89a361b3984ef82bfdbf3e1b9f359cc0c039bbe098163c4253634155d74dd3971145131fa12afdfc9aff001f05b8cd0840b870a68555'
-            'd784c2dae03810cb69059bdc399c437d6a8a8d9d746d69fce2b2a4b3fb5536dbf437918799a57278ae74eeb491233ae4bf38e7f56533210ad89df92f9128deac')
+            'd784c2dae03810cb69059bdc399c437d6a8a8d9d746d69fce2b2a4b3fb5536dbf437918799a57278ae74eeb491233ae4bf38e7f56533210ad89df92f9128deac'
+            '026a8b68c2ed23addfd2697b691203dbcd3a82e8350fb77530f6e2a18d4f8d8b53214c7a4bed2ae6502340e3fde07a745d8b62d85cc8b12673eda7022cdc032e')

 prepare() {
   cd "${_gitpkgname}-${pkgver}"
@@ -100,6 +102,10 @@ prepare() {
   echo >&2 'Fixing incomplete build from source tarball'
   patch -p1 < ../fix-build-from-tarball.patch

+  # Needs to be upstreamed
+  echo >&2 'Fixing incomplete exceptions list'
+  patch -p1 < ../fix-exceptions.diff
+
   # Update Gemfile to allow newer version of the dependencies,
   # add undeclared dependencies, and remove dependencies not
   # relevant to this package
diff --git a/fix-exceptions.diff b/fix-exceptions.diff
new file mode 100644
index 0000000..ae3b86e
--- /dev/null
+++ b/fix-exceptions.diff
@@ -0,0 +1,12 @@
+diff --git a/aider/exceptions.py b/aider/exceptions.py
+index 5cbd023c..64eda6d5 100644
+--- a/aider/exceptions.py
++++ b/aider/exceptions.py
+@@ -35,6 +35,7 @@ EXCEPTIONS = [
+     ExInfo("JSONSchemaValidationError", True, None),
+     ExInfo("NotFoundError", False, None),
+     ExInfo("OpenAIError", True, None),
++    ExInfo("PermissionDeniedError", False, None),
+     ExInfo(
+         "RateLimitError",
+         True,

Auerhuhn commented on 2026-01-24 22:39 (UTC)

@aspirogrammer Thanks for reporting. I just double-checked that the python-backoff dependency is already correctly declared by the python-posthog PKGBUILD.
Aider itself doesn’t use backoff directly, so it seems unnecessary to add it here.

Note that python version 3.14 dropped a few weeks ago in core.
It’s easy to miss that users need to rebuild their AUR packages, including dependency chains, whenever major updates like that one happen.
Are you sure the issue you experienced wasn’t just a case of a forgotten force-rebuild of your dependency chain rather than a missing declaration?

aspirogrammer commented on 2026-01-20 16:45 (UTC)

Had an issue updating it, due to the missing 'backoff' package; adding 'python-backoff' as a dependency solved the issue.

Auerhuhn commented on 2025-09-10 11:43 (UTC)

Hi @rubin55, thanks for the report. Now that jekyll!1 was fixed, can you confirm that it’s working for you now?

rubin55 commented on 2025-09-10 08:12 (UTC) (edited on 2025-09-10 08:50 (UTC) by rubin55)

After update of yesterday, I'm getting this:

Generating HTML documentation
/usr/lib/ruby/3.4.0/rubygems/specification.rb:1421:in 'block in Gem::Specification#activate_dependencies': Could not find 'unicode-emoji' (~> 4.1) among 126 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/home/rubin/.local/share/gem/ruby/3.4.0:/usr/lib/ruby/gems/3.4.0' at: /usr/lib/ruby/gems/3.4.0/specifications/unicode-display_width-3.2.0.gemspec, execute `gem env` for more information
        from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1407:in 'Array#each'
        from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1407:in 'Gem::Specification#activate_dependencies'
        from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1389:in 'Gem::Specification#activate'
        from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1423:in 'block in Gem::Specification#activate_dependencies'
        from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1407:in 'Array#each'
        from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1407:in 'Gem::Specification#activate_dependencies'
        from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1389:in 'Gem::Specification#activate'
        from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1423:in 'block in Gem::Specification#activate_dependencies'
        from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1407:in 'Array#each'
        from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1407:in 'Gem::Specification#activate_dependencies'
        from /usr/lib/ruby/3.4.0/rubygems/specification.rb:1389:in 'Gem::Specification#activate'
        from /usr/lib/ruby/3.4.0/rubygems.rb:290:in 'block in Gem.activate_bin_path'
        from /usr/lib/ruby/3.4.0/rubygems.rb:289:in 'Thread::Mutex#synchronize'
        from /usr/lib/ruby/3.4.0/rubygems.rb:289:in 'Gem.activate_bin_path'
        from /usr/bin/jekyll:25:in '<main>'
==> ERROR: A failure occurred in build().
    Aborting...
aider-chat did not go well, please fix...

Update: this is an issue in the ruby-unicode-display_width package, due to it requiring a latest version of ruby-unicode-emoji (~>4.1), which isn't available in extras (it has 4.0.4, not 4.1*). The jekyll package depends on ruby-unicode-display_width, which breaks jekyll, which breaks the documentation generation step here in aider-chat.

Auerhuhn commented on 2025-09-07 23:23 (UTC)

Hi rubin55,

Thanks for the suggested patch and for your patience.
I have applied your suggested fix with a few minor changes.

Regarding the scraping issues, I believe that they should be fixed now. I’ve looked into them a month ago a little deeper and found them to be actual errors (HTTP status codes) returned by example.com. I can no longer reproduce the issues so I figure that these were intermittent server-side glitches.

In case you ever find that the scraping tests still break for you, could you please try switching to plain HTTP on port 80? I.e., add the following snippet to prepare:

  # Work around intermittent connectivity issues on port 443
  sed -i -e 's+https:\(//example.com\)+http:\1+' \
    tests/scrape/test_scrape.py

and let me know if that helps.

rubin55 commented on 2025-08-14 12:58 (UTC) (edited on 2025-08-14 13:31 (UTC) by rubin55)

I'm building this package and the check() stage borks with a gazillion errors related to treesitter:

FAILED tests/basic/test_repomap.py::TestRepoMapAllLanguages::test_language_tsx - AttributeError: 'tree_sitter.Query' object has no attribute 'captures'

I think it is this issue: https://github.com/aider-ai/aider/issues/4354

The PR referenced in that issue does not apply cleanly anymore due to requirements/common-requirements.txt already being up to 0.25.1. Additionally, I ran into two scrape tests failing which I disabled (I couldn't figure out the root-cause for those).

Here's the diff for the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 4c0e7c2..8055344 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -88,12 +88,14 @@ source=(
   'archlinux-use-system.patch'
   'aur-install-notice.patch'
   'fix-build-from-tarball.patch'
+  'tree-sitter-0.25.patch'
 )

 sha512sums=('efe78e665ab054f2385a6f50a38e8eb04d0b5dd64c6eec17d7c5a766e74755f20b2325d8e13f0d509afbcdd4b16c3d0c932c709543e23505ce3cbbb274b41018'
             '49dae3d434be051a6bfbc85b9f83e911280638b5d7c392455a05ecf5b1d369d867d99b017c39df6110505270103cdafd28afa2123dfabe167c0a39df290e8299'
             '43b99463cdf021d6540449e93afb37796978321e57c8f857f16b96636f1a63460f5d82b5db302377eeefdd21e60f218d38fb33e512f6a8d33bd09d5fae146ac8'
-            'd784c2dae03810cb69059bdc399c437d6a8a8d9d746d69fce2b2a4b3fb5536dbf437918799a57278ae74eeb491233ae4bf38e7f56533210ad89df92f9128deac')
+            'd784c2dae03810cb69059bdc399c437d6a8a8d9d746d69fce2b2a4b3fb5536dbf437918799a57278ae74eeb491233ae4bf38e7f56533210ad89df92f9128deac'
+            '152700a0511e4b30e07c051d4d7823092e8f333e13898ae39f844695276254412945c20b53f596e88177ed832ac09e9e584209f1a0183fd632dc1a7e03315970')
 prepare() {
   cd "${_gitpkgname}-${pkgver}"

@@ -106,6 +108,9 @@ prepare() {
   # Fix issues with incomplete build from source tarball (needs upstreaming)
   patch -p1 < ../fix-build-from-tarball.patch

+  # Fix issues with treesitter-0.25
+  patch -p1 < ../tree-sitter-0.25.patch
+
   # Update Gemfile to allow newer version of the dependencies,
   # add undeclared dependencies, and remove dependencies not
   # relevant to this package
@@ -170,9 +175,11 @@ check() {
   #   not applicable because dependencies have been replaced with
   #   optdepends
   #
+  # - disabled two scrape tests in test_scrape.py due to unexpected
+  #   failures
   echo >&2 'Running unit tests'
   env -i PATH="${PATH}" python -m pytest \
-    -k 'not test_get_commit_message and not TestHelp and not test_check_for_dependencies_'
+    -k 'not test_get_commit_message and not TestHelp and not test_check_for_dependencies_ and not test_scrape_actual_url_with_playwright and not test_scraper_print_error_not_called'

   echo >&2 'Testing the executable'
   test-env/bin/${_gitpkgname} --version > actual.txt

And tree-sitter-0.25.patch:

diff --git a/aider/repomap.py b/aider/repomap.py
index 23eee239..94d14537 100644
--- a/aider/repomap.py
+++ b/aider/repomap.py
@@ -11,6 +11,7 @@ from collections import Counter, defaultdict, namedtuple
 from importlib import resources
 from pathlib import Path

+import tree_sitter
 from diskcache import Cache
 from grep_ast import TreeContext, filename_to_lang
 from pygments.lexers import guess_lexer_for_filename
@@ -285,8 +286,12 @@ class RepoMap:
         tree = parser.parse(bytes(code, "utf-8"))

         # Run the tags queries
-        query = language.query(query_scm)
-        captures = query.captures(tree.root_node)
+        if sys.version_info >= (3, 10):
+            query = tree_sitter.Query(language, query_scm)
+            captures = tree_sitter.QueryCursor(query).captures(tree.root_node)
+        else:
+            query = language.query(query_scm)
+            captures = query.captures(tree.root_node)

         saw = set()
         if USING_TSL_PACK:
diff --git a/requirements.txt b/requirements.txt
index fc894b6f..962a8812 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -525,4 +525,4 @@ zipp==3.23.0
     #   importlib-metadata

 tree-sitter==0.23.2; python_version < "3.10"
-tree-sitter==0.24.0; python_version >= "3.10"
+tree-sitter==0.25.0; python_version >= "3.10"
diff --git a/requirements/tree-sitter.in b/requirements/tree-sitter.in
index eba2e677..3224e10e 100644
--- a/requirements/tree-sitter.in
+++ b/requirements/tree-sitter.in
@@ -1,3 +1,3 @@

 tree-sitter==0.23.2; python_version < "3.10"
-tree-sitter==0.24.0; python_version >= "3.10"
+tree-sitter==0.25.0; python_version >= "3.10"

Auerhuhn commented on 2025-05-27 11:58 (UTC)

@0crimson That’s a known issue in the python-google-generativeai PKGBUILD.

I have provided a fix to the PKGBUILD maintainer. The ball is now in their court.

0crimson commented on 2025-05-24 01:22 (UTC) (edited on 2025-05-24 01:28 (UTC) by 0crimson)

==> Missing dependencies:
  -> python-google-ai-generativelanguage=0.6.10