From f0169a451a92512804c6c11543891eb579b20f45 Mon Sep 17 00:00:00 2001 From: Lennart Friberg Date: Wed, 6 May 2020 21:52:39 +0200 Subject: [PATCH 1/2] Update requirements.txt Changed Elasticsearch Python to support Elasticsearch >= 7 For Elasticsearch 7.0 and later, use the major version 7 (7.x.y) of the library. --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 39d9fd8..0a24769 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,8 +10,8 @@ xmltodict>=0.12.0 geoip2>=3.0.0 imapclient>=2.1.0 dateparser>=0.7.2 -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 six==1.13.0 mailsuite>=1.5.4 From a89d41acd0cac6d1c2d192324901c1ef04b153fa Mon Sep 17 00:00:00 2001 From: Lennart Friberg Date: Wed, 6 May 2020 21:54:08 +0200 Subject: [PATCH 2/2] 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'