aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-02 12:15:01 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-11-02 17:02:49 -0700
commitb05ce1fd9dde783ac15f5ebeed876205b2733404 (patch)
tree8a6530544810789866b91681c223d3843e44b8c7
parentaca29bf538c19e6fb02b4a0175e4f09a23267299 (diff)
downloadfatcat-b05ce1fd9dde783ac15f5ebeed876205b2733404.tar.gz
fatcat-b05ce1fd9dde783ac15f5ebeed876205b2733404.zip
pipenv: pin elasticsearch client to prevent UnsupportedProductError
-rw-r--r--python/Pipfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/Pipfile b/python/Pipfile
index ea057ea0..7a9e2306 100644
--- a/python/Pipfile
+++ b/python/Pipfile
@@ -57,8 +57,10 @@ beautifulsoup4 = "==4.*"
python-magic = "==0.4.*"
pylatexenc = "==2.*"
pygal = "==2.*"
+# <7.14 pin is because of elasticsearch.exceptions.UnsupportedProductError
+# https://github.com/elastic/elasticsearch-py/issues/1639
+elasticsearch = ">=7.8.0,<7.14.0"
elasticsearch-dsl = ">=7.0.0,<8.0.0"
-elasticsearch = ">=7.0.0,<8.0.0"
dateparser = ">=0.7"
langdetect = "==1.*"
pathlib2 = "==2.*"