Package Details: aider-chat 0.31.0-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://aider.chat/
Licenses: Apache2
Provides: aider
Submitter: AlphaJack
Maintainer: AlphaJack
Last Packager: AlphaJack
Votes: 3
Popularity: 1.38
First Submitted: 2024-01-14 19:42 (UTC)
Last Updated: 2024-05-03 09:09 (UTC)

Latest Comments

carsme commented on 2024-05-02 19:00 (UTC)

python-streamlit is a missing dep:

$ aider --help
Traceback (most recent call last):
  File "/usr/bin/aider", line 5, in <module>
    from aider.main import main
  File "/usr/lib/python3.12/site-packages/aider/main.py", line 8, in <module>
    from streamlit.web import cli
ModuleNotFoundError: No module named 'streamlit'

Feel free to add me as co-maintainer if you'd like help with maintenance. Thanks!

carsme commented on 2024-04-30 13:34 (UTC)

The source link seems to be broken, and the latest version is 0.30.1. Please apply the following patch or something similar:

diff --git a/PKGBUILD b/PKGBUILD
index a05e1af..2c0c9b3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
 # Maintainer: AlphaJack <alphajack at tuta dot io>

 pkgname="aider-chat"
-_pkgname="$pkgname"
-pkgver=0.30.0
+_pkgname="aider_chat"
+pkgver=0.30.1
 pkgrel=1
 pkgdesc="AI pair programming in your terminal"
 url="https://aider.chat/"
@@ -34,16 +34,16 @@ makedepends=("python-packaging" "python-build" "python-installer" "python-wheel"
 optdepends=("python-sounddevice: portaudio support"
             "python-soundfile: portaudio support")
 source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-b2sums=('3525c666296fc3ed318362e5b484d55ff08811a5434607507462d070d9dfb17d7add71f048586a12dad3a95f2d6ee447e40118f4e7893acc6f59f588db2ea413')
+b2sums=('7e71f690c4a9d44c56cd321d003c6642dae0dffbde3fcf1bdbb392b97e126284adf720e7115383acc2a1ac20344d465750059147e8486e9241a7ee697f3b05f1')
 options=("!strip")

 build(){
- cd "$pkgname-$pkgver"
+ cd "$_pkgname-$pkgver"
  python -m build --wheel --no-isolation
 }

 package(){
- cd "$pkgname-$pkgver"
+ cd "$_pkgname-$pkgver"
  python -m installer --destdir="$pkgdir" dist/*.whl
  # remove three files that should not be there
  find "$pkgdir/usr/lib/" -depth -type d \( -name "benchmark" -o -name "tests" \) -exec rm -rf {} \;

mio-19 commented on 2024-04-10 07:09 (UTC) (edited on 2024-04-10 07:09 (UTC) by mio-19)

bs4 is missing in dependencies.

Traceback (most recent call last): File "/usr/bin/aider", line 5, in <module> from aider.main import main File "/usr/lib/python3.11/site-packages/aider/main.py", line 11, in <module> from aider.coders import Coder File "/usr/lib/python3.11/site-packages/aider/coders/init.py", line 1, in <module> from .base_coder import Coder File "/usr/lib/python3.11/site-packages/aider/coders/base_coder.py", line 20, in <module> from aider.commands import Commands File "/usr/lib/python3.11/site-packages/aider/commands.py", line 10, in <module> from aider.scrape import Scraper File "/usr/lib/python3.11/site-packages/aider/scrape.py", line 8, in <module> from bs4 import BeautifulSoup ModuleNotFoundError: No module named 'bs4'

miniu commented on 2024-03-28 21:16 (UTC)

It seems that python-pypandoc and python-playwright are missing as dependencies. Aider fails to launch without them.