@AlphaJack fyi, I have revived the aider-chat package and rewrote the PKGBUILD from scratch. Let me know if you’re interested in being a co-maintainer.
Search Criteria
Package Details: aider-chat-venv 0.82.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/aider-chat-venv.git (read-only, click to copy) |
---|---|
Package Base: | aider-chat-venv |
Description: | AI pair programming in your terminal |
Upstream URL: | https://github.com/Aider-AI/aider |
Licenses: | Apache-2.0 |
Conflicts: | aider-chat |
Provides: | aider-chat |
Submitter: | AlphaJack |
Maintainer: | AlphaJack |
Last Packager: | AlphaJack |
Votes: | 5 |
Popularity: | 0.34 |
First Submitted: | 2024-10-08 23:26 (UTC) |
Last Updated: | 2025-04-15 19:47 (UTC) |
Auerhuhn commented on 2025-03-15 15:37 (UTC)
Auerhuhn commented on 2025-03-01 18:20 (UTC)
Hi @AlphaJack,
Thanks for maintaining this.
There’s a typo in this PKGBUILD that prevents it from working in a clean chroot.
Instead of makedepends
, it says makepkg
. Would you mind changing it to makedepends
?
Regards Claudia (Auerhuhn)
atomicfs commented on 2025-02-26 15:51 (UTC)
I also have a problem with:
ModuleNotFoundError: No module named 'distutils'
I am running python 3.13.2
markstos commented on 2025-02-18 19:48 (UTC)
Fails to install:
==> Making package: aider-chat-venv 0.59.0-1 (Tue 18 Feb 2025 02:46:40 PM EST)
==> Retrieving sources...
-> Found aider.bin
==> Validating source files with b2sums...
aider.bin ... FAILED
==> ERROR: One or more files did not pass the validity check!
shaybox commented on 2025-01-15 08:47 (UTC)
ModuleNotFoundError: No module named 'distutils'
gwpl commented on 2024-12-24 17:12 (UTC)
In case you run into problems , maybe this will be helpful... finally I haven't used that package but it may help in fixing package:
Insight: Aider now works only with python 3.12
source: author of aider paul-gauthier : https://github.com/Aider-AI/aider/issues/2391#issuecomment-2495517685
Solution:
pacman -S python-pip python-pipx
pacaur -S python312
pipx install aider-chat --python python3.12
I also provided Dockerfile here: https://github.com/Aider-AI/aider/issues/2391#issuecomment-2561298115
drew33 commented on 2024-11-01 13:50 (UTC) (edited on 2024-11-01 14:03 (UTC) by drew33)
Hi @AlphaJack, thanks for picking up this package.
Unfortunately, the b2sums is out of date, should be:
d09f4ea9909488f5538bcd7c85c286d3a7c7386ed65b01d063c883e4a8cf96edd7525d2ec66045d63a0505c1929b9c699a2e514c19cd48ad086657abf6512aa9
Also, the version check isn't reliable - I'm getting this currently:
curl -s "https://api.github.com/repositories/638629097/releases/latest"
{"message":"API rate limit exceeded for XXX.XXX.XXX.XXX. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}
Here's a one liner that I think will be more reliable:
git ls-remote --tags https://github.com/Aider-AI/aider | awk '{print $2}' | grep 'refs/tags/v' | sed -e 's_refs/tags/v__' | sort -V | tail -n 1
paulg commented on 2024-09-11 16:41 (UTC)
It sounds like this AUR package will install a broken version of aider, since it can't respect the pinned dependencies that aider requires. Using "latest" versions of all dependencies is known to not work with aider at this time.
I'd recommend that users install aider via pip or pipx, according to the recommended install instructions:
carsme commented on 2024-09-11 06:21 (UTC) (edited on 2024-09-11 06:22 (UTC) by carsme)
Aider author here. Thanks for adding aider as an AUR package!
Hey @paulg, thanks for creating aider!
Am I correct that this AUR package always installs the latest version of python dependencies?
Arch Linux generally only packages one version per package, ideally the latest. So yes, this is correct.
If so, that is almost certainly going to produce a broken aider install. I am receiving bug reports along these lines that appear to be coming from AUR installs.
That is unfortunate. I would hope and encourage AUR users to first report their issues here, not upstream.
Please let me know if there's anything I can do to help ensure a smooth AUR install experience.
A part from supporting more recent dependency versions, or discouraging AUR installs, I'm afraid I'm not sure what can be done upstream. This is more on our (the packager) end.
Unfortunately, I don't use aider myself anymore, so I'm not really interested in working on this - But if anyone else is, just ping me and I'll add you as co-maintainer. One option would be to install aider in virtualenv with vendored dependencies (reference: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=archivebox).
paulg commented on 2024-09-10 13:38 (UTC)
Aider author here. Thanks for adding aider as an AUR package!
Aider depends on specific versions of multiple python packages. In particular see the pinned versions at the bottom of aider's main requirements.in file, with notes.
https://github.com/paul-gauthier/aider/blob/main/requirements/requirements.in
In addition, litellm changes quickly and often introduces bugs and backwards incompatible changes.
Am I correct that this AUR package always installs the latest version of python dependencies? If so, that is almost certainly going to produce a broken aider install. I am receiving bug reports along these lines that appear to be coming from AUR installs.
Please let me know if there's anything I can do to help ensure a smooth AUR install experience.
Pinned Comments
AlphaJack commented on 2025-03-15 15:43 (UTC)
Please do not flag the package as out of date, it will automatically download through
pip
the latest available version