chore(deps): Support Python 3.13 and drop 3.9

Closes #3037
This commit is contained in:
Rene Leonhardt 2025-04-07 13:46:49 +02:00
parent 3caab85931
commit 05076c3f40
No known key found for this signature in database
GPG key ID: 8C95C84F75AB1E8E
16 changed files with 46 additions and 39 deletions

View file

@ -282,7 +282,7 @@ nltk==3.9.1
# via llama-index-core
nodeenv==1.9.1
# via pre-commit
numpy==1.26.4
numpy==2.2.4
# via
# -r requirements/requirements-help.in
# contourpy
@ -295,7 +295,7 @@ numpy==1.26.4
# soundfile
# streamlit
# transformers
openai==1.75.0
openai==1.76.0
# via litellm
oslex==0.1.3
# via -r requirements/requirements.in
@ -529,7 +529,7 @@ tokenizers==0.21.1
# transformers
toml==0.10.2
# via streamlit
torch==2.2.2
torch==2.6.0
# via
# -r requirements/requirements-help.in
# sentence-transformers
@ -561,7 +561,6 @@ typer==0.15.3
typing-extensions==4.13.2
# via
# altair
# anyio
# beautifulsoup4
# google-generativeai
# huggingface-hub
@ -570,7 +569,6 @@ typing-extensions==4.13.2
# pydantic
# pydantic-core
# pyee
# referencing
# sentence-transformers
# sqlalchemy
# streamlit
@ -610,3 +608,7 @@ yarl==1.20.0
# via aiohttp
zipp==3.21.0
# via importlib-metadata
# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools

2
requirements/pydub.in Normal file
View file

@ -0,0 +1,2 @@
# Remove if Python 3.13 support https://github.com/jiaaro/pydub/pull/816 gets released
audioop-lts>=0.2.1; python_version >= "3.13"

View file

@ -62,7 +62,7 @@ narwhals==1.38.2
# via
# -c requirements/common-constraints.txt
# altair
numpy==1.26.4
numpy==2.2.4
# via
# -c requirements/common-constraints.txt
# pandas
@ -143,7 +143,6 @@ typing-extensions==4.13.2
# via
# -c requirements/common-constraints.txt
# altair
# referencing
# streamlit
tzdata==2025.2
# via

View file

@ -143,7 +143,7 @@ nodeenv==1.9.1
# via
# -c requirements/common-constraints.txt
# pre-commit
numpy==1.26.4
numpy==2.2.4
# via
# -c requirements/common-constraints.txt
# contourpy
@ -309,3 +309,7 @@ wheel==0.45.1
# via
# -c requirements/common-constraints.txt
# pip-tools
# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools

View file

@ -1,11 +1,11 @@
llama-index-embeddings-huggingface
# Because sentence-transformers doesn't like >=2
numpy<2
# sentence-transformers 4 requires numpy 2 (indirectly through scipy 1.14 which dropped Python 3.9 support)
numpy>=2
# Mac x86 only supports 2.2.2
# Drop Mac x86 support
# https://discuss.pytorch.org/t/why-no-macosx-x86-64-build-after-torch-2-2-2-cp39-none-macosx-10-9-x86-64-whl/204546/2
torch==2.2.2
torch>2.2.2
# Later versions break test_help in GitHub Actions on Windows and Ubuntu
llama-index-core==0.12.26
llama-index-core==0.12.26

View file

@ -172,7 +172,7 @@ nltk==3.9.1
# via
# -c requirements/common-constraints.txt
# llama-index-core
numpy==1.26.4
numpy==2.2.4
# via
# -c requirements/common-constraints.txt
# -r requirements/requirements-help.in
@ -273,7 +273,7 @@ tokenizers==0.21.1
# via
# -c requirements/common-constraints.txt
# transformers
torch==2.2.2
torch==2.6.0
# via
# -c requirements/common-constraints.txt
# -r requirements/requirements-help.in
@ -293,7 +293,6 @@ transformers==4.51.3
typing-extensions==4.13.2
# via
# -c requirements/common-constraints.txt
# anyio
# huggingface-hub
# llama-index-core
# pydantic
@ -325,3 +324,6 @@ yarl==1.20.0
# via
# -c requirements/common-constraints.txt
# aiohttp
# The following packages are considered to be unsafe in a requirements file:
# setuptools

View file

@ -1,3 +1,2 @@
tree-sitter==0.23.2; python_version < "3.10"
tree-sitter==0.24.0; python_version >= "3.10"