update psycopg v2 to psycopg v3

This commit is contained in:
thomas girod
2024-08-04 18:20:24 +02:00
parent feb6dcbc94
commit cbd8932075
2 changed files with 34 additions and 79 deletions

View File

@ -49,7 +49,10 @@ django-honeypot = "^1.2.0"
[tool.poetry.group.prod.dependencies]
# deps used in prod, but unnecessary for development
psycopg2-binary = "^2.9"
# The C extra triggers compilation against sytem libs during install.
# Removing it would switch psycopg to a slower full-python implementation
psycopg = {extras = ["c"], version = "^3.2.1"}
redis = {extras = ["hiredis"], version = "^5.0.8"}
[tool.poetry.group.prod]