diff --git a/backend/pyproject.toml b/backend/pyproject.toml index 4ac10e32..19a770a3 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -2,7 +2,7 @@ name = "sqlbot" version = "0.1.0" description = "" -requires-python = ">=3.10,<4.0" +requires-python = ">=3.10,<3.13" dependencies = [ "fastapi[standard]<1.0.0,>=0.114.2", "python-multipart<1.0.0,>=0.0.7", @@ -25,8 +25,9 @@ dependencies = [ "langchain-community>=0.0.19,<0.1.0", "vllm>=0.8.5", "dashscope>=1.14.0,<2.0.0", - "sse-starlette>=1.8.0,<2.0.0" + "sse-starlette>=1.8.0,<2.0.0", "pymysql (>=1.1.1,<2.0.0)", + "cryptography (>=44.0.3,<45.0.0)", ] [[tool.uv.index]] url = "https://pypi.tuna.tsinghua.edu.cn/simple" @@ -42,6 +43,11 @@ dev-dependencies = [ "coverage<8.0.0,>=7.4.3", ] +[[tool.poetry.source]] +name = "mirrors" +url = "http://mirrors.aliyun.com/pypi/simple" +priority = "primary" + [build-system] requires = ["hatchling"] build-backend = "hatchling.build"