[Patchew-devel] [PATCH] update pip inside virtual environments

Paolo Bonzini posted 1 patch 3 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/patchew-ci tags/patchew/20210806165844.140447-4-pbonzini@redhat.com
scripts/dockerfiles/server.docker | 1 +
1 file changed, 1 insertion(+)
[Patchew-devel] [PATCH] update pip inside virtual environments
Posted by Paolo Bonzini 3 years, 2 months ago
Old versions of pip are not able to install psycopg2-binary.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 scripts/dockerfiles/server.docker | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/dockerfiles/server.docker b/scripts/dockerfiles/server.docker
index ea02434..4b2a4ff 100644
--- a/scripts/dockerfiles/server.docker
+++ b/scripts/dockerfiles/server.docker
@@ -8,6 +8,7 @@ RUN /bin/bash -c "mkdir -p /opt/patchew && \
     cd /opt/patchew && \
     python3 -m venv ./venv && \
     . venv/bin/activate && \
+    pip3 install --upgrade pip && \
     pip3 install -r /tmp/requirements.txt"
 COPY . /tmp/patchew/
 # Be careful not to overwrite the venv we've just initialized
-- 
2.31.1

_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/patchew-devel