chore: update Python version requirements to 3.12 (#4963)

This commit is contained in:
Soulter
2026-02-08 23:13:51 +08:00
committed by GitHub
parent 96753821b7
commit 3fd89808ee
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
3.10
3.12
+2 -2
View File
@@ -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
+2 -1
View File
@@ -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]