diff --git a/backend-python/dep_check.py b/backend-python/dep_check.py index b451d1c..09bb1a6 100644 --- a/backend-python/dep_check.py +++ b/backend-python/dep_check.py @@ -1,3 +1,8 @@ +import setuptools + +if setuptools.__version__ >= "70.0.0": + raise ImportError("setuptools>=70.0.0 is not supported") + import multipart import fitz import safetensors diff --git a/backend-python/requirements.txt b/backend-python/requirements.txt index 1d19926..92cb66f 100644 --- a/backend-python/requirements.txt +++ b/backend-python/requirements.txt @@ -1,6 +1,7 @@ torch torchvision torchaudio +setuptools==69.5.1 rwkv==0.8.26 langchain==0.0.322 fastapi==0.109.1 diff --git a/backend-python/requirements_without_cyac.txt b/backend-python/requirements_without_cyac.txt index b23a384..70c82db 100644 --- a/backend-python/requirements_without_cyac.txt +++ b/backend-python/requirements_without_cyac.txt @@ -1,6 +1,7 @@ torch torchvision torchaudio +setuptools==69.5.1 rwkv==0.8.26 langchain==0.0.322 fastapi==0.109.1