diff --git a/.python-version b/.python-version index 7c7a975f4..fdcfcfdfc 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.10 \ No newline at end of file +3.12 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index f143cdd64..4aaee3541 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11-slim +FROM python:3.12-slim WORKDIR /AstrBot COPY . /AstrBot/ @@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y curl gnupg \ && apt-get install -y nodejs RUN python -m pip install uv \ - && echo "3.11" > .python-version + && echo "3.12" > .python-version RUN uv pip install -r requirements.txt --no-cache-dir --system RUN uv pip install socksio uv pilk --no-cache-dir --system diff --git a/pyproject.toml b/pyproject.toml index 81be7e142..5f56e9068 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "AstrBot" version = "4.14.6" description = "Easy-to-use multi-platform LLM chatbot and development framework" readme = "README.md" -requires-python = ">=3.10" +requires-python = ">=3.12" keywords = ["Astrbot", "Astrbot Module", "Astrbot Plugin"] @@ -61,6 +61,7 @@ dependencies = [ "xinference-client", "tenacity>=9.1.2", "shipyard-python-sdk>=0.2.4", + "python-socks>=2.8.0", ] [dependency-groups]