Skip to content

Commit a40086a

Browse files
committed
Move psycopg2-binary to be a default dep
The Python buildpack runs `uv sync --locked --no-default-groups` which excludes psychopg2-binary, which crashes Django.
1 parent 45f916f commit a40086a

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ dependencies = [
6262
"urlman~=2.0.1",
6363
"vobject~=0.9.0",
6464
"whitenoise[brotli]~=6.12.0",
65+
"psycopg2-binary~=2.9.0",
6566
]
6667

6768
[project.optional-dependencies]
@@ -95,7 +96,6 @@ devdocs = [
9596
"sphinxcontrib-httpdomain",
9697
"sphinxcontrib-spelling",
9798
]
98-
postgres = ["psycopg2-binary~=2.9.0"]
9999

100100
[build-system]
101101
build-backend = "backend"

uv.lock

Lines changed: 9 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)