Skip to content

Commit

Permalink
Requirements: Update to psycopg 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
3j14 committed Jun 10, 2023
1 parent 53c6b02 commit 0feb924
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions gunicorn.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@

from gunicorn.workers.base import Worker
from gevent import monkey
from psycogreen.gevent import patch_psycopg


def post_fork_patch(server, worker: Worker):
monkey.patch_all()
patch_psycopg()
worker.log.info("Patched 'psycopg'")


Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
django~=4.1

psycogreen~=1.0.2
psycopg2-binary~=2.9.3
psycopg~=3.1
celery[redis]~=5.2
redis~=4.5
gevent~=22.10.2
Expand Down

0 comments on commit 0feb924

Please sign in to comment.