fix: add psycopg2-binary for Alembic and add connection retry logic

This commit is contained in:
Viktor Barzin 2026-03-14 12:05:41 +00:00
parent a831547736
commit fe55ac634b
No known key found for this signature in database
GPG key ID: 0EB088298288D958
2 changed files with 17 additions and 5 deletions

View file

@ -16,7 +16,7 @@ classifiers = [
]
[project.optional-dependencies]
api = ["fastapi>=0.115", "asyncpg>=0.30", "uvicorn>=0.34", "pydantic>=2.0", "alembic>=1.14", "sqlalchemy>=2.0"]
api = ["fastapi>=0.115", "asyncpg>=0.30", "uvicorn>=0.34", "pydantic>=2.0", "alembic>=1.14", "sqlalchemy>=2.0", "psycopg2-binary>=2.9"]
vault = ["hvac>=2.0"]
dev = ["pytest>=8.0", "pytest-asyncio>=0.24", "ruff>=0.8", "mypy>=1.13", "httpx>=0.28", "cryptography>=43.0"]