-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.13 support #3037
Comments
how long will python 3.12 be mantained for? |
What's the issue causing python 3.13 to be unsupported by aider? |
When I install aider with Python 3.13, below is error, please upgrade aider to support Python 3.13, thanks.
|
@manateelazycat why not use one of the recommended install methods described above? |
why user must be use uv? why aider can not support python 3.13 ? aider is python project, most people use pip |
Many projects get broken in new versions of python. It's normal.
Yes, it uses |
I'm labeling this issue as stale because it has been open for 2 weeks with no activity. If there are no additional comments, I will close it in 7 days. Note: A bot script made these updates to the issue. |
Before this story becomes completely stale, do we know what's the biggest blocker to get to py 3.13? |
dependencies, mostly tree-sitter |
Commit 66c24fa pinned NumPy to v1.x due to an upstream incompatibility in sentence-transformers. In September 2024 [1], Aider picked up sentence-transformers v3.1.1, which contains a fix for the NumPy 2 incompatibility [2]. To help unblock PR Aider-AI#3037 [3], bump NumPy to v2.0.2, the most recent version still compatible to Python 3.9. [1]: Aider-AI@2ca093f [2]: UKPLab/sentence-transformers#2937 [3]: Aider-AI#3037
Commit 66c24fa pinned NumPy to v1.x due to an upstream incompatibility in sentence-transformers. In September 2024 [1], Aider picked up sentence-transformers v3.1.1, which contains a fix for the NumPy 2 incompatibility [2]. To help unblock PR Aider-AI#3037 [3], bump NumPy to v2.0.2, the most recent version still compatible to Python 3.9. [1]: Aider-AI@2ca093f [2]: UKPLab/sentence-transformers#2937 [3]: Aider-AI#3037
Commit 66c24fa pinned NumPy to v1.x due to an upstream incompatibility in sentence-transformers. In September 2024 [1], Aider picked up sentence-transformers v3.1.1, which contains a fix for the NumPy 2 incompatibility [2]. To help unblock PR Aider-AI#3037 [3], bump NumPy to v2.0.2, the most recent version still compatible to Python 3.9. [1]: Aider-AI@2ca093f [2]: UKPLab/sentence-transformers#2937 [3]: Aider-AI#3037
Tangentially related to the matter: dev installation (with UV says
3.9 just has a few months to live so maybe requires-python for aider can also be bumped to 3.10 |
Aider must run with python 3.9 - 3.12. It won't run with python 3.13.
That said, there are very easy ways for python3.13 users to install aider. These methods will quickly and seamlessly install aider, python3.12 and all needed dependencies in an isolated environment.
With aider-install
If you have any python 3.8+ including python 3.13, you can use aider-install to install aider, python3.12 and all needed dependencies in an isolated environment.
One-liners
These one-liners will install aider, along with python 3.12 if needed. They are based on the uv installers.
Windows
Mac & Linux
Use curl to download the script and execute it with sh:
curl -LsSf https://aider.chat/install.sh | sh
If your system doesn't have curl, you can use wget:
wget -qO- https://aider.chat/install.sh | sh
Install with uv
You can install aider with uv:
python -m pip install uv # If you need to install uv uv tool install --force --python python3.12 aider-chat@latest
This will install uv using your existing python version 3.8-3.13, and use it to install aider. If needed, uv will automatically install a separate python 3.12 to use with aider.
Also see the install docs.
The text was updated successfully, but these errors were encountered: