feat(dependencies): update sqlalchemy to use asyncio and add aiosqlite and pytest-asyncio
This commit is contained in:
1 parent
58be234d7f
commit
5210f00587
3 files changed
+41
-3
No files matched your search
@@ -16,7 +16,7 @@ dependencies = [
|
||||
"pydantic",
|
||||
"pydantic-settings",
|
||||
"python-multipart",
|
||||
"sqlalchemy",
|
||||
"sqlalchemy[asyncio]",
|
||||
"tiktoken",
|
||||
"typer",
|
||||
"uvicorn[standard]",
|
||||
@@ -25,7 +25,9 @@ dependencies = [
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"aiosqlite",
|
||||
"pytest",
|
||||
"pytest-asyncio",
|
||||
"pytest-mock",
|
||||
"pytest-xdist",
|
||||
]
|
||||
@@ -35,4 +37,5 @@ package = false
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "-n auto -ra"
|
||||
asyncio_mode = "auto"
|
||||
testpaths = ["tests/ebook_search"]
|
||||
Reference in new issue
Block a user