Package Details: aider-chat-docs 0.86.1-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: 3
Popularity: 0.81
First Submitted: 2025-03-10 21:20 (UTC)
Last Updated: 2025-09-09 20:11 (UTC)

Latest Comments

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

Auerhuhn commented on 2025-05-10 08:41 (UTC)

Will bump to v0.83.0 once python-grep-ast v0.9.0 is available.

Auerhuhn commented on 2025-05-10 04:17 (UTC) (edited on 2025-05-10 04:18 (UTC) by Auerhuhn)

Note: This PKGBUILD depends on the jekyll package at build time, which is currently missing some runtime dependencies.
To work around that issue, install additional runtime dependencies ruby-base64, ruby-bigdecimal, and ruby-csv.

Note: System Ruby was updated to version 3.4 in March 2025.
Do not forget to rebuild all your Ruby-based AUR packages so Ruby 3.4 can find them.