Reinstall Python packages regardless of their presence in the system-wide installation.

This commit is contained in:
Khushboo Vashi
2025-06-24 15:50:45 +05:30
parent 6fab59a13c
commit 43d70de5bb
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ _create_python_virtualenv() {
pip3 install wheel
# Install the requirements
pip3 install --no-cache-dir --no-binary psycopg -r "${SOURCEDIR}/requirements.txt"
pip3 install --force-reinstall --no-cache-dir --no-binary psycopg -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