Skip to content

Commit

Permalink
chore(python): update python version
Browse files Browse the repository at this point in the history
  • Loading branch information
OrenZhang committed Dec 16, 2024
1 parent adf7521 commit bd9cef5
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/OVINC-CN/DevTemplateDjango.git",
"commit": "12315cb10b8b85663cba8a7ba806c6a5f1421416",
"commit": "5281a1802f609dde876e1b80816a82c86a202767",
"checkout": "main",
"context": {
"cookiecutter": {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
rev: 22.8.0
hooks:
- id: black
language_version: python3.10
language_version: python3.12
args:
- "--line-length=120"
- repo: https://github.com/pycqa/isort
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10.15-slim
FROM python:3.12.7-slim

WORKDIR /usr/src/app

Expand Down
23 changes: 13 additions & 10 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
# ovinc
ovinc-client==0.3.13
ovinc-client==0.3.14

# Async
asgiref==3.8.1
channels[daphne]==4.1.0
channels_redis==4.2.0
channels[daphne]==4.2.0
channels_redis==4.2.1

# Celery
celery==5.4.0

# Server
gunicorn==22.0.0
gunicorn==23.0.0
uvicorn-worker==0.2.0
uvicorn==0.30.1
uvicorn==0.34.0

# Datetime
arrow==1.2.3
arrow==1.3.0

# RSA
pycryptodome==3.20.0
pycryptodome==3.21.0

# QCloud
# tcloud
tencentcloud-sdk-python==3.0.1282

# tcloud
qcloud-python-sts==3.1.5
cos-python-sdk-v5==1.9.25
tencentcloud-sdk-python==3.0.785

bk-crypto-python-sdk==1.1.1
# crypto
ovinc-crypto==2.0.1b0

0 comments on commit bd9cef5

Please sign in to comment.