Skip to content

Commit 6f88b82

Browse files
committed
Minimum version 3.9
1 parent 143d6a0 commit 6f88b82

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
flask-version: ["3.0.3"]
16-
python-version: ["3.8", "3.10"]
15+
python-version: ["3.9", "3.12"]
1716

1817
steps:
1918
- uses: actions/checkout@v2
@@ -30,7 +29,7 @@ jobs:
3029

3130
- name: Install dependencies
3231
run: |
33-
pip install codecov Flask==${{ matrix.flask-version }}
32+
pip install codecov
3433
pip install -r requirements/dev.txt
3534
3635
- name: Test & upload report to coverage

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -- build and run with debian(multiarch) --
2-
FROM python:3.10-slim
2+
FROM python:3.12-slim
33
44
ARG PIPMIRROR=https://pypi.org/simple
55
ENV sapic_isrun=true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
## 手动部署
1212

13-
1. 要求: Python3.8+ 和 Redis(建议v4.0+)
13+
1. 要求: Python3.9+ 和 Redis(建议v4.0+)
1414

1515
2. 下载: `git clone https://github.com/sapicd/sapic && cd sapic`
1616

src/utils/tool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -738,5 +738,5 @@ def b64size(b64string):
738738

739739
def raise_version():
740740
vs = sys.version_info
741-
if (vs[0], vs[1]) < (3, 8):
742-
raise RuntimeError("The system requires python version 3.8+")
741+
if (vs[0], vs[1]) < (3, 9):
742+
raise RuntimeError("The system requires python version 3.9+")

0 commit comments

Comments
 (0)