aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-10-27 14:13:39 -0700
committerBryan Newbold <bnewbold@archive.org>2021-10-27 14:13:39 -0700
commitb13265f3bfeb6a23c874425fe8b58bc9a44f9522 (patch)
treef0ad1d3ae672c5f28661d5451c972074ceabdb26
parente867dfcd421a9c7a87d55d5e09ccd79babaeec05 (diff)
downloadfatcat-scholar-b13265f3bfeb6a23c874425fe8b58bc9a44f9522.tar.gz
fatcat-scholar-b13265f3bfeb6a23c874425fe8b58bc9a44f9522.zip
pipenv: pin elasticsearch to prevent UnsupportedProductError
-rw-r--r--Pipfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Pipfile b/Pipfile
index ce84c51..8ef72ad 100644
--- a/Pipfile
+++ b/Pipfile
@@ -9,7 +9,9 @@ babel = "*"
beautifulsoup4 = "==4.*"
confluent-kafka = "*"
dynaconf = ">=3"
-elasticsearch = { version = ">=7.8.0,<8.0.0", extras = ["async"] }
+# <7.14 pin is because of elasticsearch.exceptions.UnsupportedProductError
+# https://github.com/elastic/elasticsearch-py/issues/1639
+elasticsearch = { version = ">=7.8.0,<7.14.0", extras = ["async"] }
elasticsearch-dsl = ">=7.0.0,<8.0.0"
fastapi = "*"
fatcat-openapi-client = ">=0.3.3"