chore: update dependencies and ignore new warning in tests

ignore JWT related warning that was introduced when updating
dependencies related to JWT secret size (test value of "secret" is too
short).
This commit is contained in:
2026-03-09 14:21:37 -04:00
parent 10eaf84329
commit 2de0aac23a
3 changed files with 530 additions and 449 deletions

View File

@@ -8,7 +8,7 @@ authors = [
] ]
requires-python = ">=3.13" requires-python = ">=3.13"
dependencies = [ dependencies = [
"advanced-alchemy==1.8.0", "advanced-alchemy>=1.8.0",
"aiofiles>=24.1.0", "aiofiles>=24.1.0",
"asyncpg>=0.30.0", "asyncpg>=0.30.0",
"ebooklib>=0.19", "ebooklib>=0.19",
@@ -41,3 +41,6 @@ dev = [
[tool.pytest.ini_options] [tool.pytest.ini_options]
asyncio_mode = "auto" asyncio_mode = "auto"
testpaths = ["tests"] testpaths = ["tests"]
filterwarnings = [
"ignore::jwt.warnings.InsecureKeyLengthWarning",
]

View File

@@ -202,6 +202,26 @@ async def bookshelf_service(
yield service yield service
@pytest.fixture
async def kosync_progress_service(
sessionmaker: async_sessionmaker[AsyncSession],
) -> AsyncGenerator[services.KosyncProgressService, None]:
"""Create KosyncProgressService instance."""
async with sessionmaker() as session:
async with services.KosyncProgressService.new(session) as service:
yield service
@pytest.fixture
async def kosync_device_service(
sessionmaker: async_sessionmaker[AsyncSession],
) -> AsyncGenerator[services.KosyncDeviceService, None]:
"""Create KosyncDeviceService instance."""
async with sessionmaker() as session:
async with services.KosyncDeviceService.new(session) as service:
yield service
# Data fixtures # Data fixtures

954
backend/uv.lock generated

File diff suppressed because it is too large Load Diff