Skip to content

Commit 03add79

Browse files
authored
Bump redis from 5.0.1 to 5.1.0 (#433)
* Bump redis from 5.0.1 to 5.1.0 * fix requirements.txt
1 parent ab4495c commit 03add79

File tree

4 files changed

+18
-20
lines changed

4 files changed

+18
-20
lines changed

backend/database/db_redis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# -*- coding: utf-8 -*-
33
import sys
44

5-
from redis.asyncio.client import Redis
5+
from redis.asyncio import Redis
66
from redis.exceptions import AuthenticationError, TimeoutError
77

88
from backend.common.log import log

backend/pdm.lock

Lines changed: 13 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ dependencies = [
3636
"pytest==7.2.2",
3737
"pytest-pretty==1.2.0",
3838
"python-jose==3.3.0",
39-
"redis[hiredis]==5.0.1",
39+
"redis[hiredis]==5.1.0",
4040
"SQLAlchemy==2.0.30",
4141
"user-agents==2.2.0",
4242
"uvicorn[standard]==0.29.0",

backend/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ annotated-types==0.7.0
88
anyio==4.4.0
99
asgi-correlation-id==4.3.3
1010
asgiref==3.8.1
11-
async-timeout==4.0.3; python_full_version <= "3.11.2"
11+
async-timeout==4.0.3; python_full_version < "3.11.3"
1212
asyncmy==0.2.9
1313
attrs==24.2.0
1414
bcrypt==4.0.1
@@ -88,8 +88,8 @@ python-jose==3.3.0
8888
python-multipart==0.0.9
8989
pytz==2024.1
9090
pyyaml==6.0.2
91-
redis==5.0.1
92-
redis[hiredis]==5.0.1
91+
redis==5.1.0
92+
redis[hiredis]==5.1.0
9393
rich==13.8.0
9494
rsa==4.9
9595
ruff==0.6.4

0 commit comments

Comments
 (0)