From 01141606fd0fd851c3af4fd773f973c190cabdb3 Mon Sep 17 00:00:00 2001 From: jo Date: Tue, 17 Aug 2021 19:28:14 +0200 Subject: [PATCH] libpq-dev is required for psycopg2 in production This is a package for the API. --- api/packages.ini | 5 +++++ packages.ini | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/api/packages.ini b/api/packages.ini index def9cd21e..467cf0f53 100644 --- a/api/packages.ini +++ b/api/packages.ini @@ -7,3 +7,8 @@ python3-virtualenv = buster, bionic [django] uwsgi = buster, bionic uwsgi-plugin-python3 = buster, bionic + +[psycopg2] +# See https://www.psycopg.org/docs/install.html#install-from-source +python3-dev = buster, bionic +libpq-dev = buster, bionic diff --git a/packages.ini b/packages.ini index b00e09e3d..f9ee081da 100644 --- a/packages.ini +++ b/packages.ini @@ -43,7 +43,6 @@ coreutils = buster, bionic flac = buster, bionic lame = buster, bionic # Maybe liquidsoap-plugin-lame, but it uses a library not the lame binary libffi-dev = bionic -libpq-dev = buster, bionic # WHY ? header files for libpq5 (PostgreSQL library) libssl-dev = bionic mpg123 = buster, bionic pwgen = buster, bionic