Skip to content
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 #1984

Open
fry69 opened this issue Oct 9, 2024 · 4 comments
Open

Python 3.13 support #1984

fry69 opened this issue Oct 9, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@fry69
Copy link
Contributor

fry69 commented Oct 9, 2024

Warning

Python 3.13 is currently not supported

aider supports Python version 3.9 through 3.12

Known showstoppers for Python 3.13 support:

Trying to build the aider repository with Python 3.13 on macOS currently needs these additional steps/packages ->

brew install [email protected]
brew install rust
# brew install flang does not seem to yield a working Fortran compiler which can be found later
brew install gfortran
brew install openblas
export PKG_CONFIG_PATH="/opt/homebrew/opt/openblas/lib/pkgconfig"
pip install -e . 

This results in an error at the end ->

ERROR: Ignored the following versions that require a different python version: 0.21.0 Requires-Python <3.12,>=3.8; 1.10.0 Requires-Python <3.12,>=3.8; 1.10.0rc1 Requires-Python <3.12,>=3.8; 1.10.0rc2 Requires-Python <3.12,>=3.8; 1.10.1 Requires-Python <3.12,>=3.8; 1.11.0 Requires-Python <3.13,>=3.9; 1.11.0rc1 Requires-Python <3.13,>=3.9; 1.11.0rc2 Requires-Python <3.13,>=3.9; 1.11.1 Requires-Python <3.13,>=3.9; 1.11.2 Requires-Python <3.13,>=3.9; 1.11.3 Requires-Python <3.13,>=3.9; 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.1 Requires-Python <3.13,>=3.9; 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10; 1.7.2 Requires-Python >=3.7,<3.11; 1.7.3 Requires-Python >=3.7,<3.11; 1.8.0 Requires-Python >=3.8,<3.11; 1.8.0rc1 Requires-Python >=3.8,<3.11; 1.8.0rc2 Requires-Python >=3.8,<3.11; 1.8.0rc3 Requires-Python >=3.8,<3.11; 1.8.0rc4 Requires-Python >=3.8,<3.11; 1.8.1 Requires-Python >=3.8,<3.11; 1.9.0 Requires-Python >=3.8,<3.12; 1.9.0rc1 Requires-Python >=3.8,<3.12; 1.9.0rc2 Requires-Python >=3.8,<3.12; 1.9.0rc3 Requires-Python >=3.8,<3.12; 1.9.1 Requires-Python >=3.8,<3.12
ERROR: Could not find a version that satisfies the requirement tree-sitter-languages==1.10.2 (from aider-chat) (from versions: none)
ERROR: No matching distribution found for tree-sitter-languages==1.10.2
@fry69 fry69 pinned this issue Oct 9, 2024
@fry69 fry69 added the enhancement New feature or request label Oct 9, 2024
@Faolain
Copy link

Faolain commented Oct 10, 2024

Related ticket/comment Aider-AI/grep-ast#7 (comment)

@pchaganti
Copy link

Seeing the same error on Mac with python 3.13.

#300 (comment)

@atemerev
Copy link

On tree-sitter-languages, there is no activity in their repo since Feb 4th, 2024. Would it be possible to fork / vendor it? Or invent any other workaround?

Python 3.13 is the default in Fedora and Mac/Homebrew now, so we should think of something.

@Kreijstal
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants