From fe1a3422bd9f943d1e6ceb15192f102e8d3a76be Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Mon, 29 Jul 2019 11:51:29 +0100 Subject: [PATCH] requirements: pin lxml version for py27 lxml 4.4.0 breaks OrderedDict attributes in py27 so we pin to previous version https://bugs.launchpad.net/lxml/+bug/1838252 --- requirements.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/requirements.txt b/requirements.txt index 8e1fe6ed5..c2c8a488f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,3 +9,7 @@ munkres==1.0.12; platform_python_implementation == "PyPy" and python_version < ' munkres==1.1.2; platform_python_implementation == "PyPy" and python_version >= '3.5' zopfli==0.1.6 fs==2.4.8 +# lxml 4.4.0 breaks OrderedDict attributes in py27 so we pin to previous version +# https://bugs.launchpad.net/lxml/+bug/1838252 +lxml==4.3.5; python_version < '3.5' # pyup: ignore +lxml==4.4.0; python_version >= '3.5'