From b6c7bba0c071b42172283e4d97a3641f6464857a Mon Sep 17 00:00:00 2001 From: xudan Date: Fri, 1 Nov 2019 02:46:47 -0400 Subject: Fix the version of more-itertools to be 5.0.0 The default version of more-itertools installed is 7.2.0 which should be latest. While this version doesn't support python 2.7 and will get an error: File "/usr/local/lib/python2.7/dist-packages/more_itertools/more.py", line 340 def _collate(*iterables, key=lambda a: a, reverse=False): ^ SyntaxError: invalid syntax In order to support python2.7, it needs to be <=5.0.0. Signed-off-by: xudan Change-Id: I4567e0742246e2d5539cefd2d112a2022c979ca8 --- requirements/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 87bd2382..19218fd9 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -20,3 +20,4 @@ elasticsearch==5.0.1 docker==2.0.2 kubernetes==6.0.0 urllib3==1.24 +more-itertools==5.0.0 -- cgit 1.2.3-korg