From a89d41acd0cac6d1c2d192324901c1ef04b153fa Mon Sep 17 00:00:00 2001 From: Lennart Friberg Date: Wed, 6 May 2020 21:54:08 +0200 Subject: [PATCH] Update setup.py Changed Elasticsearch py to support Elastic > 7.0 For Elasticsearch 7.0 and later, use the major version 7 (7.x.y) of the library. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 0405c27..cc5e260 100644 --- a/setup.py +++ b/setup.py @@ -101,8 +101,8 @@ setup( 'mail-parser>=3.11.0', 'dateparser>=0.7.2', 'mailsuite>=1.5.4', - 'elasticsearch>=6.3.1,<7.0.0', - 'elasticsearch-dsl>=6.3.1,<7.0.0', + 'elasticsearch>=7.6.0,<8.0.0', + 'elasticsearch-dsl>=7.2.0,<8.0.0', 'kafka-python>=1.4.4', 'tqdm>=4.31.1', 'lxml>=4.4.0'