details: https://code.tryton.org/tryton-docker/commit/1a206c660b7a
branch: default
user: Cédric Krier <[email protected]>
date: Fri Jul 17 22:14:50 2026 +0200
description:
Use binary version of psycopg
diffstat:
8.0/Dockerfile | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 0acecd98e021 -r 1a206c660b7a 8.0/Dockerfile
--- a/8.0/Dockerfile Fri Jul 17 12:51:16 2026 +0200
+++ b/8.0/Dockerfile Fri Jul 17 22:14:50 2026 +0200
@@ -43,8 +43,6 @@
python3-argcomplete \
bash-completion \
graphviz \
- python3-psycopg \
- python3-psycopg-pool \
python3-magic \
&& rm -rf /var/lib/apt/lists/*
@@ -55,7 +53,8 @@
RUN export PIP_CONSTRAINT=/root/pip-constraints.txt \
&& touch /root/pip-constraints.txt \
&& pip3 install --break-system-packages --no-cache-dir \
-
"trytond[Levenshtein,barcode,coroutine,email-validation,html2text,image,mjml,qrcode,weasyprint]
== ${SERIES}.*" \
+
"trytond[PostgreSQL,Levenshtein,barcode,coroutine,email-validation,html2text,image,mjml,qrcode,weasyprint]
== ${SERIES}.*" \
+ "psycopg[pool,binary] >= 3" \
"proteus == ${SERIES}.*" \
&& for module in `curl -L
https://downloads.tryton.org/${SERIES}/modules.txt`; do \
pip3 install --break-system-packages --no-cache-dir "trytond_${module}
== ${SERIES}.*" || exit 1; \