Hi, PKGBUILD installed the last version, but in AUR version 0.83.0 is reporded
Search Criteria
Package Details: aider-chat-venv 0.83.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 (installed with uv) |
| 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: | 10 |
| Popularity: | 0.89 |
| First Submitted: | 2024-10-08 23:26 (UTC) |
| Last Updated: | 2025-05-28 22:12 (UTC) |
jacek2v commented on 2025-12-14 13:08 (UTC)
Auerhuhn commented on 2025-05-27 11:05 (UTC)
@samdorey You’re correct. The PKGBUILD creates a Python 3.13 venv, so pip ends up trying to build an ancient version of aider-chat (0.16.0), which didn’t have the upper bound but is not what the user wants. /cc @AlphaJack
==> Starting package()...
Collecting pip
Downloading pip-25.1.1-py3-none-any.whl.metadata (3.6 kB)
Collecting aider-chat
Downloading aider_chat-0.16.0-py3-none-any.whl.metadata (11 kB)
samdorey commented on 2025-05-27 08:52 (UTC)
This fails to build for me: https://pastebin.com/wzB8DFg5 Feels like a Python version issue.
paulg commented on 2025-04-15 22:19 (UTC)
Using uv tool is a great way to install aider, and is one of the recommended methods. Two of the other recommended methods use that under the hood (aider-install, and the curl | sh methods).
Install docs: https://aider.chat/docs/install.html
Notes on aider's use of uv as an installer: https://aider.chat/2025/01/15/uv.html
0xA1E commented on 2025-04-15 21:41 (UTC)
@Auerhuhn Thanks!
As a side note, I found out that uv offers the uv tool install command. This allows for an isolated installation with a dedicated venv. Leaving this info here as I believe other users may wish to uv tool install aider-chat too.
Auerhuhn commented on 2025-04-15 18:41 (UTC)
@0xA1E and others: the upstream project is now compatible with Python 3.13. (A few bits and pieces are still missing but none of them matter as far as system packaging is concerned).
So I brought back the regular, non-venv version of the aider-chat PKGBUILD, which runs on system Python, and builds just fine in a chroot jail.
0xA1E commented on 2025-04-15 17:31 (UTC)
@Alphajack I appreciate the effort and idea to package the aider installer through a venv. However, it would seem that, when building the package with tools employing a chroot jail such as rua, the symlink to uv's python is broken, as it is not installed in the normal ~/.local/etc... location. I think @tamirzb's suggestion of using the AUR's python package is more sound.
tamirzb commented on 2025-03-31 15:13 (UTC)
@AlphaJack This works but I think can be a bit problematic. As far as I understand uv queries the system at install time to check if the required python version is available or not. If it is available it will use it instead of downloading python 3.12 on its own. This can cause aider to break if the user had python 3.12 at install time but later doesn't (either had an old version of the python package and updated it or had the python312 package installed and later removed it). I do believe my solution is more stable in that sense.
AlphaJack commented on 2025-03-31 12:57 (UTC)
@tamirzb I updated the PKGBUILD to use uv to generate a python 3.12 virtual environment, let me know if you experience issues
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
pipthe latest available version