Skip to content

Requirements: use psycopg3 #10667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions requirements/deploy.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

-r pip.txt

psycopg2

structlog-sentry

newrelic
Expand Down
14 changes: 12 additions & 2 deletions requirements/deploy.txt
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,16 @@ prompt-toolkit==3.0.39
# -r requirements/pip.txt
# click-repl
# ipython
psycopg2==2.9.7
# via -r requirements/deploy.in
psycopg[binary,pool]==3.1.10
# via -r requirements/pip.txt
psycopg-binary==3.1.10
# via
# -r requirements/pip.txt
# psycopg
psycopg-pool==3.1.7
# via
# -r requirements/pip.txt
# psycopg
ptyprocess==0.7.0
# via pexpect
pure-eval==0.2.2
Expand Down Expand Up @@ -374,6 +382,8 @@ typing-extensions==4.7.1
# via
# -r requirements/pip.txt
# asgiref
# psycopg
# psycopg-pool
tzdata==2023.3
# via
# -r requirements/pip.txt
Expand Down
3 changes: 0 additions & 3 deletions requirements/docker.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

-r pip.txt

# https://www.psycopg.org/docs/install.html#psycopg-vs-psycopg-binary
psycopg2-binary

# run tests
tox

Expand Down
14 changes: 12 additions & 2 deletions requirements/docker.txt
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,16 @@ prompt-toolkit==3.0.39
# -r requirements/pip.txt
# click-repl
# ipython
psycopg2-binary==2.9.7
# via -r requirements/docker.in
psycopg[binary,pool]==3.1.10
# via -r requirements/pip.txt
psycopg-binary==3.1.10
# via
# -r requirements/pip.txt
# psycopg
psycopg-pool==3.1.7
# via
# -r requirements/pip.txt
# psycopg
ptyprocess==0.7.0
# via pexpect
pure-eval==0.2.2
Expand Down Expand Up @@ -405,6 +413,8 @@ typing-extensions==4.7.1
# via
# -r requirements/pip.txt
# asgiref
# psycopg
# psycopg-pool
tzdata==2023.3
# via
# -r requirements/pip.txt
Expand Down
3 changes: 3 additions & 0 deletions requirements/pip.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ django-extensions
django-polymorphic
django-autoslug

# https://www.psycopg.org/psycopg3/docs/basic/install.html
psycopg[binary,pool]

# 3.1.0 includes changes that require running `makemigrations`
# https://django-simple-history.readthedocs.io/en/latest/#changes
django-simple-history==3.0.0
Expand Down
11 changes: 10 additions & 1 deletion requirements/pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,12 @@ platformdirs==3.10.0
# via virtualenv
prompt-toolkit==3.0.39
# via click-repl
psycopg[binary,pool]==3.1.10
# via -r requirements/pip.in
psycopg-binary==3.1.10
# via psycopg
psycopg-pool==3.1.7
# via psycopg
pycparser==2.21
# via cffi
pygments==2.16.1
Expand Down Expand Up @@ -259,7 +265,10 @@ structlog==23.1.0
tomli==2.0.1
# via dparse
typing-extensions==4.7.1
# via asgiref
# via
# asgiref
# psycopg
# psycopg-pool
tzdata==2023.3
# via
# -r requirements/pip.in
Expand Down
12 changes: 12 additions & 0 deletions requirements/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,16 @@ prompt-toolkit==3.0.39
# via
# -r requirements/pip.txt
# click-repl
psycopg[binary,pool]==3.1.10
# via -r requirements/pip.txt
psycopg-binary==3.1.10
# via
# -r requirements/pip.txt
# psycopg
psycopg-pool==3.1.7
# via
# -r requirements/pip.txt
# psycopg
pycparser==2.21
# via
# -r requirements/pip.txt
Expand Down Expand Up @@ -405,6 +415,8 @@ typing-extensions==4.7.1
# via
# -r requirements/pip.txt
# asgiref
# psycopg
# psycopg-pool
tzdata==2023.3
# via
# -r requirements/pip.txt
Expand Down