chore: update Python version requirements to 3.12 (#4963)
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
3.10
|
3.12
|
||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
FROM python:3.11-slim
|
FROM python:3.12-slim
|
||||||
WORKDIR /AstrBot
|
WORKDIR /AstrBot
|
||||||
|
|
||||||
COPY . /AstrBot/
|
COPY . /AstrBot/
|
||||||
@@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y curl gnupg \
|
|||||||
&& apt-get install -y nodejs
|
&& apt-get install -y nodejs
|
||||||
|
|
||||||
RUN python -m pip install uv \
|
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 -r requirements.txt --no-cache-dir --system
|
||||||
RUN uv pip install socksio uv pilk --no-cache-dir --system
|
RUN uv pip install socksio uv pilk --no-cache-dir --system
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -3,7 +3,7 @@ name = "AstrBot"
|
|||||||
version = "4.14.6"
|
version = "4.14.6"
|
||||||
description = "Easy-to-use multi-platform LLM chatbot and development framework"
|
description = "Easy-to-use multi-platform LLM chatbot and development framework"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.12"
|
||||||
|
|
||||||
keywords = ["Astrbot", "Astrbot Module", "Astrbot Plugin"]
|
keywords = ["Astrbot", "Astrbot Module", "Astrbot Plugin"]
|
||||||
|
|
||||||
@@ -61,6 +61,7 @@ dependencies = [
|
|||||||
"xinference-client",
|
"xinference-client",
|
||||||
"tenacity>=9.1.2",
|
"tenacity>=9.1.2",
|
||||||
"shipyard-python-sdk>=0.2.4",
|
"shipyard-python-sdk>=0.2.4",
|
||||||
|
"python-socks>=2.8.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
|
|||||||
Reference in New Issue
Block a user