From de652abc5fa8f6e555a6178d86372a57165092d5 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Thu, 14 Nov 2019 08:25:55 +0000 Subject: [PATCH] [FIX] requirements: avoid double requirements for pillow When installing requirements on MS Windows platform with Python 3.8, the Pillow requirement is defined two times. This leads to a pip crash. With this commit, the Pillow requirement is only defined once. Fixes #40080 closes odoo/odoo#40272 X-original-commit: cce9660c2969cc2715ff29b6dfa12e1b726bce25 Signed-off-by: Christophe Monniez (moc) --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 230d3e3bce3..f21b9a0a261 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,7 +21,7 @@ mock==2.0.0 num2words==0.5.6 ofxparse==0.16 passlib==1.6.5 -Pillow==5.4.1 +Pillow==5.4.1 ; python_version < '3.7' or sys_platform != 'win32' Pillow==6.1.0 ; sys_platform == 'win32' and python_version >= '3.7' polib==1.1.0 psutil==4.3.1; sys_platform != 'win32'