Skip to content

Commit 3fd8980

Browse files
authored
chore: update Python version requirements to 3.12 (#4963)
1 parent 9675382 commit 3fd8980

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.10
1+
3.12

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11-slim
1+
FROM python:3.12-slim
22
WORKDIR /AstrBot
33

44
COPY . /AstrBot/
@@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y curl gnupg \
2323
&& apt-get install -y nodejs
2424

2525
RUN python -m pip install uv \
26-
&& echo "3.11" > .python-version
26+
&& echo "3.12" > .python-version
2727
RUN uv pip install -r requirements.txt --no-cache-dir --system
2828
RUN uv pip install socksio uv pilk --no-cache-dir --system
2929

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "AstrBot"
33
version = "4.14.6"
44
description = "Easy-to-use multi-platform LLM chatbot and development framework"
55
readme = "README.md"
6-
requires-python = ">=3.10"
6+
requires-python = ">=3.12"
77

88
keywords = ["Astrbot", "Astrbot Module", "Astrbot Plugin"]
99

@@ -61,6 +61,7 @@ dependencies = [
6161
"xinference-client",
6262
"tenacity>=9.1.2",
6363
"shipyard-python-sdk>=0.2.4",
64+
"python-socks>=2.8.0",
6465
]
6566

6667
[dependency-groups]

0 commit comments

Comments
 (0)