mirror of
https://github.com/etesync/server
synced 2024-11-24 09:48:09 +00:00
Replace aioredis with redis-py
aioredis has been merged into redis-py and will no longer be maintained as a separate project.
This commit is contained in:
parent
2f1f95fea9
commit
1b90b2ad94
@ -1,5 +1,5 @@
|
|||||||
import typing as t
|
import typing as t
|
||||||
import aioredis
|
from redis import asyncio as aioredis
|
||||||
|
|
||||||
from etebase_server.django import app_settings
|
from etebase_server.django import app_settings
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import asyncio
|
import asyncio
|
||||||
import typing as t
|
import typing as t
|
||||||
|
|
||||||
import aioredis
|
from redis import asyncio as aioredis
|
||||||
from asgiref.sync import sync_to_async
|
from asgiref.sync import sync_to_async
|
||||||
from django.db.models import QuerySet
|
from django.db.models import QuerySet
|
||||||
from fastapi import APIRouter, Depends, WebSocket, WebSocketDisconnect, status
|
from fastapi import APIRouter, Depends, WebSocket, WebSocketDisconnect, status
|
||||||
|
@ -5,4 +5,4 @@ fastapi
|
|||||||
typing_extensions
|
typing_extensions
|
||||||
uvicorn[standard]
|
uvicorn[standard]
|
||||||
aiofiles
|
aiofiles
|
||||||
aioredis
|
redis>=4.2.0rc1
|
||||||
|
@ -6,8 +6,6 @@
|
|||||||
#
|
#
|
||||||
aiofiles==0.8.0
|
aiofiles==0.8.0
|
||||||
# via -r requirements.in/base.txt
|
# via -r requirements.in/base.txt
|
||||||
aioredis==2.0.1
|
|
||||||
# via -r requirements.in/base.txt
|
|
||||||
anyio==3.5.0
|
anyio==3.5.0
|
||||||
# via
|
# via
|
||||||
# starlette
|
# starlette
|
||||||
@ -17,11 +15,13 @@ asgiref==3.5.0
|
|||||||
# django
|
# django
|
||||||
# uvicorn
|
# uvicorn
|
||||||
async-timeout==4.0.2
|
async-timeout==4.0.2
|
||||||
# via aioredis
|
# via redis
|
||||||
cffi==1.15.0
|
cffi==1.15.0
|
||||||
# via pynacl
|
# via pynacl
|
||||||
click==8.0.4
|
click==8.0.4
|
||||||
# via uvicorn
|
# via uvicorn
|
||||||
|
deprecated==1.2.13
|
||||||
|
# via redis
|
||||||
django==3.2.13
|
django==3.2.13
|
||||||
# via -r requirements.in/base.txt
|
# via -r requirements.in/base.txt
|
||||||
fastapi==0.75.0
|
fastapi==0.75.0
|
||||||
@ -34,18 +34,24 @@ idna==3.3
|
|||||||
# via anyio
|
# via anyio
|
||||||
msgpack==1.0.3
|
msgpack==1.0.3
|
||||||
# via -r requirements.in/base.txt
|
# via -r requirements.in/base.txt
|
||||||
|
packaging==21.3
|
||||||
|
# via redis
|
||||||
pycparser==2.21
|
pycparser==2.21
|
||||||
# via cffi
|
# via cffi
|
||||||
pydantic==1.9.0
|
pydantic==1.9.0
|
||||||
# via fastapi
|
# via fastapi
|
||||||
pynacl==1.5.0
|
pynacl==1.5.0
|
||||||
# via -r requirements.in/base.txt
|
# via -r requirements.in/base.txt
|
||||||
|
pyparsing==3.0.9
|
||||||
|
# via packaging
|
||||||
python-dotenv==0.19.2
|
python-dotenv==0.19.2
|
||||||
# via uvicorn
|
# via uvicorn
|
||||||
pytz==2022.1
|
pytz==2022.1
|
||||||
# via django
|
# via django
|
||||||
pyyaml==6.0
|
pyyaml==6.0
|
||||||
# via uvicorn
|
# via uvicorn
|
||||||
|
redis==4.3.4
|
||||||
|
# via -r requirements.in/base.txt
|
||||||
sniffio==1.2.0
|
sniffio==1.2.0
|
||||||
# via anyio
|
# via anyio
|
||||||
sqlparse==0.4.2
|
sqlparse==0.4.2
|
||||||
@ -55,7 +61,6 @@ starlette==0.17.1
|
|||||||
typing-extensions==4.1.1
|
typing-extensions==4.1.1
|
||||||
# via
|
# via
|
||||||
# -r requirements.in/base.txt
|
# -r requirements.in/base.txt
|
||||||
# aioredis
|
|
||||||
# pydantic
|
# pydantic
|
||||||
uvicorn[standard]==0.17.6
|
uvicorn[standard]==0.17.6
|
||||||
# via -r requirements.in/base.txt
|
# via -r requirements.in/base.txt
|
||||||
@ -65,3 +70,5 @@ watchgod==0.8.1
|
|||||||
# via uvicorn
|
# via uvicorn
|
||||||
websockets==10.2
|
websockets==10.2
|
||||||
# via uvicorn
|
# via uvicorn
|
||||||
|
wrapt==1.14.1
|
||||||
|
# via deprecated
|
||||||
|
Loading…
Reference in New Issue
Block a user