Changing psycopg to psycopg2 as the package upgrade PR has been reverted

This commit is contained in:
Akshay Joshi 2023-03-09 17:31:08 +05:30
parent 3c56c0e4b7
commit fead2b25be

View File

@ -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