Skip to content

Commit

Permalink
Merge pull request #21 from OVINC-CN/chore_python
Browse files Browse the repository at this point in the history
chore(python): update python version
  • Loading branch information
OrenZhang authored Dec 16, 2024
2 parents 1a4af88 + 1efcd68 commit 42760e3
Show file tree
Hide file tree
Showing 5 changed files with 14 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: 23.3.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
20 changes: 10 additions & 10 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# ovinc
ovinc-client==0.3.13
ovinc-client==0.3.14

# Celery
celery==5.4.0

# 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

# 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

# tencent cloud
tencentcloud-sdk-python==3.0.785
arrow==1.3.0

# RSA
pycryptodome==3.20.0
pycryptodome==3.21.0

# tencent cloud
tencentcloud-sdk-python==3.0.1282

0 comments on commit 42760e3

Please sign in to comment.