From 91de4f93147af5ef4921f4586eeb17ac5d96f6ba Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Thu, 1 Oct 2020 20:15:45 +0200 Subject: [PATCH] runbot: bump pdfminer.six to version 20200720 Odoo.sh team discrovered that pip also install pycryptodome alongside with pdfminer 20181108. This installation causes clashes with pycrypto that may be used elsewehere in Odoo code. This version was used in order to stick with the Debian version but it appears that Debian fixed that issue in the deb package [1] and [2]. As the runbot uses the pypi version instead of the patched Debian package, the runbot could face the same problems. So as the issue is fixed in 20200720, this commit will install it in the Dockerfile. So we can stay sync with Odoo.sh. Thanks guys. 1.https://metadata.ftp-master.debian.org/changelogs/main/p/pdfminer/pdfminer_20181108+dfsg-3_changelog 2.https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919008 3.https://github.com/pdfminer/pdfminer.six/releases/tag/20200720 --- runbot/data/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbot/data/Dockerfile b/runbot/data/Dockerfile index bcec2d65..22797292 100644 --- a/runbot/data/Dockerfile +++ b/runbot/data/Dockerfile @@ -99,5 +99,5 @@ ADD https://raw.githubusercontent.com/odoo/odoo/master/requirements.txt /root/p3 ADD https://raw.githubusercontent.com/odoo/odoo/10.0/requirements.txt /root/p2-requirements.txt RUN pip install --no-cache-dir -r /root/p2-requirements.txt coverage flanker==0.4.38 pylint==1.7.2 phonenumbers redis \ && pip3 install --no-cache-dir -r /root/p3-requirements.txt coverage==4.5.4 websocket-client astroid==2.0.4 \ - pylint==1.7.2 phonenumbers pyCrypto dbfread==2.0.7 firebase-admin==2.17.0 flamegraph pdfminer.six==20181108 \ + pylint==1.7.2 phonenumbers pyCrypto dbfread==2.0.7 firebase-admin==2.17.0 flamegraph pdfminer.six==20200720 \ pdf417gen==0.7.1