Skip to content

Commit

Permalink
Enable native implementation of psycopg
Browse files Browse the repository at this point in the history
Might perform better in some cases.
  • Loading branch information
jlaunonen committed Sep 1, 2024
1 parent 004c6db commit c27e408
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ pluggy==1.5.0
# via pytest
psycopg==3.1.20
# via kirppu (pyproject.toml)
psycopg-c==3.1.20
# via psycopg
pubcode==1.1.0
# via kirppu (pyproject.toml)
pyproject-hooks==1.1.0
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ oauth = [
]
production = [
"gunicorn~=22.0",
"psycopg~=3.1.0",
"psycopg[c]~=3.1.0",
]
dev = [
"factory-boy~=3.3.0",
Expand Down
2 changes: 2 additions & 0 deletions requirements-github.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ pluggy==1.5.0
# via pytest
psycopg==3.1.20
# via kirppu (pyproject.toml)
psycopg-c==3.1.20
# via psycopg
pubcode==1.1.0
# via kirppu (pyproject.toml)
pyproject-hooks==1.1.0
Expand Down
4 changes: 3 additions & 1 deletion requirements-production.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ packaging
# via gunicorn
pillow
# via kirppu (pyproject.toml)
psycopg
psycopg[c]
# via kirppu (pyproject.toml)
psycopg-c
# via psycopg
pubcode
# via kirppu (pyproject.toml)
requests
Expand Down

0 comments on commit c27e408

Please sign in to comment.