From fead2b25bea9db26b7d2a2973168dee11cb80c2c Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Thu, 9 Mar 2023 17:31:08 +0530 Subject: [PATCH] Changing psycopg to psycopg2 as the package upgrade PR has been reverted --- pkg/linux/build-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/linux/build-functions.sh b/pkg/linux/build-functions.sh index ca20f45a1..e9c4c796a 100644 --- a/pkg/linux/build-functions.sh +++ b/pkg/linux/build-functions.sh @@ -60,7 +60,7 @@ _create_python_virtualenv() { pip3 install wheel # Install the requirements - pip3 install --no-cache-dir --no-binary psycopg -r "${SOURCEDIR}/requirements.txt" + pip3 install --no-cache-dir --no-binary psycopg2 -r "${SOURCEDIR}/requirements.txt" # Fixup the paths in the venv activation scripts sed -i 's/VIRTUAL_ENV=.*/VIRTUAL_ENV="\/usr\/pgadmin4\/venv"/g' venv/bin/activate