Self-hosted AI workspace.
Python
fix(deps): switch psycopg2 to psycopg2-binary (#5937)
cybernetus@xda5154bae544a4
diff --git a/requirements.txt b/requirements.txtindex 3c5114f53..1f5f2ca16 100644--- a/requirements.txt+++ b/requirements.txt@@ -51,3 +51,8 @@ pytest-asyncio# TestClient import when only classic httpx is present. Runtime code keeps# using `httpx` above; this is test-client only.httpx2+# DATABASE_URL defaults to sqlite (core/database.py), but when pointed at an+# external Postgres, SQLAlchemy's postgresql dialect imports psycopg2 inside+# create_engine() and raises ModuleNotFoundError if missing. -binary avoids+# needing libpq-dev/pg_config on the host/image to compile it.+psycopg2-binary